summaryrefslogtreecommitdiff
path: root/example-scripts/ffmpeg/source-testvideo-as-cam2.sh
blob: 7cb795a8ae392a0fa3f439df060125af00951ce9 (plain)
  1. #!/bin/sh
  2. ffmpeg -y \
  3. -i "http://ftp.uni-erlangen.de/cdn.media.ccc.de/broadcast/sendezentrum/h264-hd/31c3-sendezentrum-1003-de-Freak_Show_FS147_That_Escalatored_Quickly_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:10001