[FFmpeg-user] How to get he total number of frames

Reino Wijnsma rwijnsma at xs4all.nl
Fri Mar 12 01:37:08 EET 2021

On 2021-03-09T20:43:21+0100, Mark Filipak (ffmpeg) <markfilipak at bog.us> wrote:
> On 2021-03-09 03:58, Michael Koch wrote:
>> These links might help:
>> https://stackoverflow.com/questions/2017843/fetch-frame-count-with-ffmpeg
>> https://superuser.com/questions/1512575/why-total-frame-count-is-different-in-ffmpeg-than-ffprobe
>> Michael
> Those links are really hard to follow and it's fruitless to try to find what's there that works vs. what doesn't work.
> From Ulf Zibis:
> can one please tell me, how I can get the total number of frames of a video?
> Was Ulf's question actually answered? I think not.

How can you say that? These urls do exactly that. They offer a couple of solutions on how to get the total number of frames.
What is so hard to follow?


More information about the ffmpeg-user mailing list