Created
October 1, 2012 10:22
-
-
Save trickkiste/3810746 to your computer and use it in GitHub Desktop.
OBE Settings for HD and SD
This file contains hidden or 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 1 | |
| 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 2 | |
| 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=2\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=latm\012' | |
| screen -p 0 -S $NAME -X stuff $'set muxer opts pmt-pid=100,ts-muxrate=2000000,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.2:2000?ttl=5\012' | |
| screen -p 0 -S $NAME -X stuff $'start\012' |
This file contains hidden or 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=latm\012' | |
| screen -p 0 -S $NAME -X stuff $'set muxer opts pmt-pid=100,ts-muxrate=5000000,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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment