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