From 6ce57b47f050c39fbf28f4af639ef19608a74cfa Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 27 Feb 2017 20:54:00 +0000 Subject: Use voctobox (not localhost) as voctocore host. --- example-scripts/ffmpeg/source-decklink-cam2.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'example-scripts/ffmpeg/source-decklink-cam2.sh') diff --git a/example-scripts/ffmpeg/source-decklink-cam2.sh b/example-scripts/ffmpeg/source-decklink-cam2.sh index baee933..2336a76 100755 --- a/example-scripts/ffmpeg/source-decklink-cam2.sh +++ b/example-scripts/ffmpeg/source-decklink-cam2.sh @@ -1,8 +1,15 @@ #!/bin/sh + +confdir="`dirname "$0"`/../" +. $confdir/default-config.sh +if [ -f $confdir/config.sh ]; then + . $confdir/config.sh +fi + ffmpeg -y -nostdin \ -f decklink \ -i 'DeckLink Mini Recorder (2)@10' \ -c:v rawvideo -c:a pcm_s16le \ -pix_fmt yuv420p \ -f matroska \ - tcp://localhost:10001 + tcp://$MIXHOST:10001 -- cgit v1.2.3