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

Nicolas George george at nsup.org
Fri Mar 12 16:51:11 EET 2021


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...

Otherwise counting the packets is perfectly fine, as I have already
explained.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20210312/a3c18d7b/attachment.sig>


More information about the ffmpeg-user mailing list