aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh
blob: 5619445639fa67e05bad39d40a315e5a1a26cf0d (plain)
  1. #!/bin/sh
  2. confdir="`dirname "$0"`/../"
  3. . $confdir/default-config.sh
  4. if [ -f $confdir/config.sh ]; then
  5. . $confdir/config.sh
  6. fi
  7. ffmpeg -y -nostdin \
  8. -i http://c3voc.mazdermind.de/testfiles/avsync.ts \
  9. -filter_complex "
  10. [0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v] ;
  11. [0:a] aresample=$AUDIORATE [a]
  12. " \
  13. -map "[v]" -map "[a]" \
  14. -c:v rawvideo \
  15. -c:a pcm_s16le \
  16. -pix_fmt yuv420p \
  17. -f matroska \
  18. tcp://$MIXHOST:10000