[Libav-user] How to get some packet information before decoding

Mohammed Bey Ahmed Khernache mohbeyinfo at gmail.com
Sat Apr 18 17:46:27 EEST 2020


Hello,
could someone tell me how to get:
    1- the total number of packets that a video bit-stream contain?
    2- the packet type (I, P, or B)?
Actually, I need to have these information *before to start **decoding* of
packets.

Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200418/c85eb38a/attachment.html>


More information about the Libav-user mailing list