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

Ulf Zibis Ulf.Zibis at CoSoCo.de
Fri Mar 12 19:23:21 EET 2021

Am 12.03.21 um 17:00 schrieb Peter White:
> On Fri, Mar 12, 2021 at 03:51:11PM +0100, Nicolas George wrote:
>> Peter White (12021-03-12):
>>> but that is because a packet needs to be decoded first to get the frame.
>> Please be complete in your statements:
>> ... with some obscure codecs or if libavcodec happens to have been
>> compiled without parsers...
> To be honest, that was not entirely clear until just now.
>> Otherwise counting the packets is perfectly fine, as I have already
>> explained.
> That point did not come across in this clarity. Thank you for setting my
> mind at ease. :)



More information about the ffmpeg-user mailing list