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