[Libav-user] How to retrieve number of frames

Paul B Mahol onemda at gmail.com
Mon Jun 24 12:42:52 CEST 2013

On 6/24/13, Steffen <Steffen.Roeber at hella.com> wrote:
> Is there any way to retirve the number of frames of a stream if
> (AVStream *)stream->nb_frames == 0?

Yes, by demuxing/decoding every single one.

More information about the Libav-user mailing list