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 | |
ffmpeg \ | |
-i "http://live.m2.tv:80/hls/stream.m3u8" \ | |
-vf "scale=720:576,fps=fps=25,setdar=dar=16/9,format=pix_fmts=uyvy422" \ | |
-af "aresample=48000" -ac 2 \ | |
-f decklink -y "DeckLink Mini Monitor" \ | |
-acodec copy -vcodec copy \ | |
-f mpegts \ | |
-y "udp://239.1.100.2:10480?localaddr=10.1.5.57&pkt_size=1316&fifo_size=1000000" \ |
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' |
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' |
OlderNewer