Created
October 30, 2012 18:05
-
-
Save trickkiste/3981929 to your computer and use it in GitHub Desktop.
SFE OBE Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_hd | |
screen -d -m -S $NAME obecli | |
sleep 1 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=0\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=1080i50\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-connection=sdi\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts audio-connection=embedded\012' | |
screen -p 0 -S $NAME -X stuff $'probe input\012' | |
sleep 2 | |
screen -p 0 -S $NAME -X stuff $'set stream opts 0:pid=1000,vbv-maxrate=4600,vbv-bufsize=4600,bitrate=4600,keyint=24,bframes=3,threads=4,format=avc,profile=high,level=4\012' | |
screen -p 0 -S $NAME -X stuff $'set stream opts 1:pid=1001,bitrate=64,format=aac,aac-profile=he-aac-v1,aac-encap=adts\012' | |
screen -p 0 -S $NAME -X stuff $'add stream 2:type=audio\012' | |
screen -p 0 -S $NAME -X stuff $'set stream opts 2:pid=1002,bitrate=192,format=mp2\012' | |
screen -p 0 -S $NAME -X stuff $'set muxer opts cbr=1,pmt-pid=100,ts-muxrate=5200000,ts-type=dvb\012' | |
screen -p 0 -S $NAME -X stuff $'set output udp\012' | |
screen -p 0 -S $NAME -X stuff $'set output opts target=udp://232.40.3.1:2000?ttl=20\012' | |
screen -p 0 -S $NAME -X stuff $'start\012' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
NAME=obe_sd | |
screen -d -m -S $NAME obecli | |
sleep 2 | |
screen -p 0 -S $NAME -X stuff $'set input decklink\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts card-idx=3\012' | |
screen -p 0 -S $NAME -X stuff $'set input opts video-format=pal\012' | |
screen -p 0 -S $NAME -X stuff $'probe input\012' | |
sleep 5 | |
screen -p 0 -S $NAME -X stuff $'add stream 2:type=audio\012' | |
screen -p 0 -S $NAME -X stuff $'set stream opts 0:pid=1000,vbv-maxrate=1700,vbv-bufsize=1700,bitrate=1700,keyint=24,bframes=3,profile=high,level=4,format=avc,threads=4,aspect-ratio=16:9\012' | |
screen -p 0 -S $NAME -X stuff $'set stream opts 1:pid=1001,bitrate=64,format=aac,aac-profile=he-aac-v1,aac-encap=adts\012' | |
screen -p 0 -S $NAME -X stuff $'set stream opts 2:pid=1002,format=mp2,bitrate=128\012' | |
screen -p 0 -S $NAME -X stuff $'set muxer opts cbr=1,pmt-pid=100,ts-muxrate=2100000,ts-type=dvb\012' | |
sleep 1 | |
screen -p 0 -S $NAME -X stuff $'set output udp\012' | |
screen -p 0 -S $NAME -X stuff $'set output opts target=udp://232.40.3.2:2000?ttl=20\012' | |
screen -p 0 -S $NAME -X stuff $'start\012' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment