summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh')
-rwxr-xr-xexample-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh b/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
index e9ea13e..55a504c 100755
--- a/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
+++ b/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
@@ -1,5 +1,10 @@
#!/bin/sh
-. `dirname "$0"`/../config.sh
+confdir="`dirname "$0"`/../"
+. $confdir/default-config.sh
+if [ -f $confdir/config.sh ]; then
+ . $confdir/config.sh
+fi
+
wget -nc -O /tmp/avsync.ts http://c3voc.mazdermind.de/testfiles/avsync.ts
(while true; do cat /tmp/avsync.ts || exit; done) | ffmpeg -y -nostdin \
-i - \