aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-testvideo-as-cam1.sh
blob: ef73a0899b5317b8ca17245d5d6ee6f2ae6adf29 (plain)
  1. #!/bin/sh
  2. ffmpeg -y \
  3. -i "http://ftp.uni-erlangen.de/cdn.media.ccc.de/broadcast/sendezentrum/h264-hd/31c3-sendezentrum-1013-de-Methodisch_inkorrekt_Die_falsche_42_hd.mp4" \
  4. -ac 2 \
  5. -af aresample=48000 \
  6. -pix_fmt yuv420p \
  7. -c:v rawvideo \
  8. -c:a pcm_s16le \
  9. -f matroska \
  10. tcp://localhost:10000