aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/ffmpeg/source-testvideo-as-cam2.sh')
-rwxr-xr-xexample-scripts/ffmpeg/source-testvideo-as-cam2.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/source-testvideo-as-cam2.sh b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
index dec6a9f..3460adf 100755
--- a/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
+++ b/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+
confdir="`dirname "$0"`/../"
. $confdir/default-config.sh
if [ -f $confdir/config.sh ]; then
@@ -17,4 +18,4 @@ ffmpeg -y -nostdin \
-c:v rawvideo \
-c:a pcm_s16le \
-f matroska \
- tcp://localhost:10001
+ tcp://$MIXHOST:10001