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

Nicolas George george at nsup.org
Tue Mar 9 13:39:09 EET 2021


Peter White (12021-03-09):
> Sorry, I didn't mean to offend.

I was not offended, I was amused.

> Is there a proper universal way to do this with ffprobe that does not
> take ages to complete? Honest question.

Of course. As I already said, FFprobe can do the same thing as FFmpeg,
but its output is meant for parsing. Your solution will break as soon as
we change a tiny detail in the statistics line.

Show us your complete command line and console output if you have
trouble.

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/765ca837/attachment.sig>


More information about the ffmpeg-user mailing list