Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Seems to work as expected. I'm currently benchmarking if this is the same speed as using ffmpegthumbnailer. Commented Dec 19, 2014 at 18:12
  • Yeah, this approach is super slow. See peterbe.com/plog/fastest-way-to-take-screencaps-out-of-videos Commented Dec 19, 2014 at 20:02
  • 17
    try using the -ss option before -i since it will skip the decoding part of the pipeline. This might speedup the process.
    – SirDarius
    Commented Dec 19, 2014 at 20:07
  • 2
    Is there any way to output as PNG to the stream instead of a file? Commented Nov 12, 2019 at 13:40
  • 8
    @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. Commented Nov 16, 2019 at 4:37