diff options
Diffstat (limited to 'example-scripts/ffmpeg/source-mjpg-framegrabber.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-mjpg-framegrabber.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/example-scripts/ffmpeg/source-mjpg-framegrabber.sh b/example-scripts/ffmpeg/source-mjpg-framegrabber.sh new file mode 100755 index 0000000..502644c --- /dev/null +++ b/example-scripts/ffmpeg/source-mjpg-framegrabber.sh @@ -0,0 +1,14 @@ +#!/bin/sh +ffmpeg -y \ + -i "http://10.73.5.2:1881/stream.mjpg" \ + -filter_complex " + [0:v] scale=1920:1080,fps=25 [v] ; + anullsrc=r=48000:cl=stereo [a] + " \ + -map "[v]" \ + -map "[a]" \ + -c:a pcm_s16le \ + -c:v rawvideo \ + -pix_fmt uyvy422 \ + -f matroska \ + tcp://localhost:10002 |