summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-avsync-ffmpeg.sh
blob: d4e848bc247f7ed9d4a408470c7374506155cd7d (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. -f matroska \
  8. tcp://localhost:10000