Skip to main content
11 events
when toggle format what by license comment
S Mar 29, 2023 at 16:54 history suggested marbens CC BY-SA 4.0
-vframes is deprecated, use -frames:v instead
Mar 29, 2023 at 16:50 review Suggested edits
S Mar 29, 2023 at 16:54
Nov 17, 2019 at 2:31 comment added Glenn Slayden @NickeManarin Oops, sorry, I misread that you just wanted a PNG instead of JPG version of what's shown in this answer. To output entire file as PNG to stdout, use this: ffmpeg -i video.mp4 -c:v png -f image2pipe - (notice the bare hyphen at the end). I believe -f rawvideo - might work instead of image2pipe also.
Nov 16, 2019 at 21:19 comment added Nicke Manarin @GlennSlayden Hmm, your example will output 1 frame to 1 file, not multiple frames to the output stream.
Nov 16, 2019 at 4:37 comment added Glenn Slayden @NickeManarin Yes.. ffmpeg -ss 01:23:45 -i video.mp4 -c:v png -frames:v 1 image.jpg. Notice that I also put the -ss "seek" option before the input file on the command line, as others have recommended.
Nov 12, 2019 at 13:40 comment added Nicke Manarin Is there any way to output as PNG to the stream instead of a file?
Dec 19, 2014 at 20:07 comment added SirDarius try using the -ss option before -i since it will skip the decoding part of the pipeline. This might speedup the process.
Dec 19, 2014 at 20:02 comment added Peter Bengtsson Yeah, this approach is super slow. See peterbe.com/plog/fastest-way-to-take-screencaps-out-of-videos
Dec 19, 2014 at 18:12 comment added Peter Bengtsson Seems to work as expected. I'm currently benchmarking if this is the same speed as using ffmpegthumbnailer.
Dec 19, 2014 at 18:11 vote accept Peter Bengtsson
Dec 21, 2014 at 18:39
Dec 19, 2014 at 14:51 history answered SirDarius CC BY-SA 3.0