aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-avsync-test-clip-looped-as-cam1.sh
blob: c454dd726b98c42050b653605e61ce8cd80594c0 (plain)
  1. #!/bin/sh
  2. wget -nc -O /tmp/avsync.ts http://c3voc.mazdermind.de/testfiles/avsync.ts
  3. (while true; do cat /tmp/avsync.ts || exit; done) | ffmpeg -y \
  4. -i - \
  5. -vf scale=1920x1080 \
  6. -c:v rawvideo \
  7. -c:a pcm_s16le \
  8. -pix_fmt yuv420p \
  9. -f matroska \
  10. tcp://localhost:10000