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

Nicolas George george at nsup.org
Tue Mar 9 14:41:38 EET 2021


Peter White (12021-03-09):
> Is there a meaningful difference in this context?

The fact that you need to ask is proof enough that it is needed.

> Now we are getting somewhere. No, I have not, because I did not know it
> can do that. But above question remains: does packet count always equal
> frame count? What might be pitfalls with this approach?

The frame count could be different than the packet count with some
codecs, indeed, but I am not aware of any specific case. Anyway, using
-c copy gives the same result.

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/20210309/c7b7e697/attachment.sig>


More information about the ffmpeg-user mailing list