[FFmpeg-user] Problem with multiple image outputs from a video stream
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Dec 23 15:37:50 CET 2012
S V <lament.trash <at> gmail.com> writes:
> ./ffmpeg -i rtsp://10.10.50.49:554/live/ch00_0
> -vframes 1 -s 640x360 -f image2 -vcodec mjpeg test-1.jpg
> -s 1280x720 -f image2 -vcodec mjpeg test-2.jpg
If you only want one test-2.jpg (and not as many as the input
provides), you have to add "-vframes 1" in front of "test-2.jpg".
(Or in other words: The vframes option is output-stream specific.)
Note that "-f image2 -vcodec mjpeg" are superfluous, the
following should work fine:
./ffmpeg -i input -vframes 1 -s 640x360 test-1.jpg
-vframes 1 -s 1280x720 test-2.jpg
Carl Eugen
More information about the ffmpeg-user
mailing list