diff options
author | MaZderMind <git@mazdermind.de> | 2016-05-08 13:08:44 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2016-05-08 13:08:44 +0200 |
commit | f94b683a4677e1739a2a4c81d8616a7b41b40412 (patch) | |
tree | 74b9c303c7fe6c12b3fc5aaa3b40c784dc5e32fa | |
parent | bebb122c76dac7fad64dd0b1be569c92f6a63672 (diff) |
add -use_wallclock_as_timestamps 1 and -f mjpeg to grabber-source to make it more stable
-rwxr-xr-x | example-scripts/ffmpeg/source-mjpg-framegrabber.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/source-mjpg-framegrabber.sh b/example-scripts/ffmpeg/source-mjpg-framegrabber.sh index babde08..1eeaea0 100755 --- a/example-scripts/ffmpeg/source-mjpg-framegrabber.sh +++ b/example-scripts/ffmpeg/source-mjpg-framegrabber.sh @@ -1,7 +1,7 @@ #!/bin/sh . `dirname "$0"`/../config.sh ffmpeg -y -nostdin -xerror \ - -timeout 3000000 -i "http://10.73.5.2:1881/stream.mjpg" \ + -use_wallclock_as_timestamps 1 -timeout 3000000 -f mjpeg -i "http://10.73.5.2:1881/stream.mjpg" \ -filter_complex " [0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v] ; anullsrc=r=$AUDIORATE:cl=stereo [a] |