diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-02-27 20:54:00 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-02-27 20:54:00 +0000 |
commit | 6ce57b47f050c39fbf28f4af639ef19608a74cfa (patch) | |
tree | b6ef01437b5b8d9f0038ce9965792f7e69eb86f1 /example-scripts/ffmpeg/stream-hd.sh | |
parent | f953824dd2a18f15c2beeb5bd792f5f13fb75a44 (diff) |
Use voctobox (not localhost) as voctocore host.
Diffstat (limited to 'example-scripts/ffmpeg/stream-hd.sh')
-rwxr-xr-x | example-scripts/ffmpeg/stream-hd.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/stream-hd.sh b/example-scripts/ffmpeg/stream-hd.sh index b0c0e07..1210ecf 100755 --- a/example-scripts/ffmpeg/stream-hd.sh +++ b/example-scripts/ffmpeg/stream-hd.sh @@ -1,7 +1,14 @@ #!/bin/sh + +confdir="`dirname "$0"`/../" +. $confdir/default-config.sh +if [ -f $confdir/config.sh ]; then + . $confdir/config.sh +fi + wget -nc -O /tmp/overlay_hd.png http://c3voc.mazdermind.de/testfiles/overlay_hd.png ffmpeg -y -nostdin \ - -i tcp://localhost:15000 \ + -i tcp://$MIXHOST:15000 \ -threads:0 0 \ -aspect 16:9 \ -c:v libx264 \ |