summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-grabber.sh
blob: 038a8701a17a9d3f30266316ffa2a65dd9f238d8 (plain)
  1. #!/bin/sh
  2. ffmpeg -y \
  3. -i "http://10.73.5.2:1881/stream.mjpg" \
  4. -filter_complex " [0:v] scale=1920:1080,fps=25 [v] ; anullsrc=r=48000:cl=stereo [a] " \
  5. -map "[v]" \
  6. -map "[a]" \
  7. -c:a pcm_s16le \
  8. -c:v rawvideo \
  9. -pix_fmt uyvy422 \
  10. -f matroska \
  11. tcp://localhost:10002