Recherche avancée

Médias (0)

Mot : - Tags -/protocoles

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (70)

Sur d’autres sites (8266)

  • FFMPEG : extracting jpegs at 1 fps rate with "-r 1" or "vf fps=fps=1" causes first three frames to be wrong [closed]

    11 avril 2013, par Stefan

    I need to use ffmpeg to extract video stills from a video, one picture per second, starting with second 0. I created a 4min test video with a running timecode (25fps, starting with 00:00:00 running to 03:59:24) If I use either

    ffmpeg -i input.mp4 -f image2 -r 1 still-%d.jpeg

    or

    ffmpeg -i input.mp4 -f image2 -vf fps="fps=1" still-%d.jpeg

    I fail because the first three images do not display expected time codes 00:00:00, 00:01:00, 00:02:00, but 00:00:00, 00:00:01, 00:00:13, and all subsequent images show having frame 13 in their timecode (and not :00). This causes my video preview to be off by 1-2 seconds.

    I had to resort to invoke ffmpeg for each frame, using -ss 0..240 and -vframes 1 to extract exactly one frame at the exact time. This works perfectly, all output files show the timecode of the first frame of that second.

    This method is considerably slower, however, and I'd rather not use it.

    Is there something I missed with the -r option or fps filter ? I tried specifying fps=fps=1:round=zero, but I got an error saying that the key "round" was not found.

    Thank you in advance !

  • lavfi/curves : introduce "all" field in presets and use it.

    11 avril 2013, par Clément Bœsch

    lavfi/curves : introduce "all" field in presets and use it.

  • Revision 8e9819230d : Merge "Remove obselete code" into experimental

    10 avril 2013, par Yaowu Xu

    Merge "Remove obselete code" into experimental