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.sh10
1 files changed, 10 insertions, 0 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
new file mode 100755
index 0000000..327b398
--- /dev/null
+++ b/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+wget -nc -O /tmp/avsync.ts http://c3voc.mazdermind.de/testfiles/avsync.ts
+(while true; do cat /tmp/avsync.ts || exit; done) | ffmpeg -y \
+ -i - \
+ -vf scale=1920x1080 \
+ -c:v rawvideo \
+ -c:a pcm_s16le \
+ -pix_fmt uyvy422 \
+ -f matroska \
+ tcp://localhost:10000