summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-avsync-ffmpeg.sh
blob: 3f9a06e1358d95097c92f6f4b3b36794c90a3eb5 (plain)
  1. #!/bin/sh
  2. (while true; do cat $HOME/avsync.ts || exit; done) | ffmpeg -y \
  3. -i - \
  4. -vf scale=1920x1080 \
  5. -c:v rawvideo \
  6. -c:a pcm_s16le \
  7. -pix_fmt uyvy422 \
  8. -f matroska \
  9. tcp://localhost:10000