diff options
Diffstat (limited to 'example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh | 10 |
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 |