summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-grabber.sh
blob: 2d646a9e1146f63139af4dce4f169b46f594254d (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. -f matroska \
  10. tcp://localhost:10002