Created
October 22, 2012 12:53
-
-
Save trickkiste/3931366 to your computer and use it in GitHub Desktop.
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
| Open Broadcast Encoder command line interface. | |
| Version 0.1-beta | |
| obecli> set input decklink | |
| obecli> set input opts card-idx=0 | |
| obecli> set input opts video-format=1080i50 | |
| obecli> set input opts video-connection=sdi | |
| obecli> set input opts audio-connection=embedded | |
| obecli> probe input | |
| Probing device: Decklink card 0. Timeout 20 seconds | |
| .. | |
| Detected input streams: | |
| Input-stream-id: 0 - Video: RAW 1920x1080i 25/1fps | |
| Input-stream-id: 1 - Audio: PCM 16 channels 48kHz | |
| Encoder outputs: | |
| Output-stream-id: 0 - Input-stream-id: 0 - Video: AVC | |
| Output-stream-id: 1 - Input-stream-id: 1 - Audio: RAW - SDI audio pair: 1 | |
| obecli> 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 | |
| obecli> set stream opts 1:pid=1001,bitrate=64,format=aac,aac-profile=he-aac-v1,aac-encap=adts | |
| obecli> add stream 2:type=audio | |
| NOTE: output-stream-ids have CHANGED! | |
| Encoder outputs: | |
| Output-stream-id: 0 - Input-stream-id: 0 - Video: AVC | |
| Output-stream-id: 1 - Input-stream-id: 1 - Audio: AAC - SDI audio pair: 1 | |
| Output-stream-id: 2 - Input-stream-id: 1 - Audio: RAW - SDI audio pair: 1 | |
| obecli> set stream opts 2:pid=1002,bitrate=192,format=mp2 | |
| obecli> set muxer opts pmt-pid=100,ts-muxrate=5192000,ts-type=dvb | |
| obecli> set output udp | |
| obecli> set output opts target=udp://232.40.3.1:2000?ttl=20 | |
| obecli> start | |
| Encoding started | |
| obecli> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment