[FFmpeg-user] How to extract 1 frame as JPEG per minute

Ulf Zibis Ulf.Zibis at gmx.de
Thu Dec 20 02:18:37 EET 2018


Am 20.12.18 um 00:07 schrieb Carl Eugen Hoyos:
> 2018-12-19 22:17 GMT+01:00, Ulf Zibis <Ulf.Zibis at gmx.de>:
>
>> But with
>> ffmpeg -i CYD.mp4 -r 1/60 CYD_%03d.jpg
>> I got 78 pictures with good quality (~70 kB).
>> Picture CYD_001.jpg and CYD_002.jpg were black, CYD_003.jpg
>> was frame 00:00:53. Also a little weird, the video is 1:16:20 long.
> This is the disadvantage of using "-r", select is more accurate.

With corrected select I still get 1 black picture and CYD_002.jpg is
frame 00:00:54, and so I still get 77 instead 76 pictures.

> Sorry about the missing "-vsync vfr", Carl Eugen

I forgive you ;-)

I just copied and adapted the select example from the docu, there was
nothing said about "-vsync vfr".

-Ulf



More information about the ffmpeg-user mailing list