aboutsummaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts')
-rwxr-xr-xexample-scripts/av-source-grabber.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/example-scripts/av-source-grabber.sh b/example-scripts/av-source-grabber.sh
index 8329dc4..2d646a9 100755
--- a/example-scripts/av-source-grabber.sh
+++ b/example-scripts/av-source-grabber.sh
@@ -1,11 +1,9 @@
#!/bin/sh
ffmpeg -y \
-i "http://10.73.5.2:1881/stream.mjpg" \
- -filter_complex "scale=1920:1080,fps=25" \
- -ar 48000 \
- -ac 2 \
- -f s16le \
- -i "/dev/zero" \
+ -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 \
-f matroska \