[libav-api] nb_frames is always zero for video streams inside mkv files

Diego Massanti diego at massanti.com
Wed Mar 30 18:23:59 CEST 2011

Hmm yes i saw that, but my problem is not with encoding, but when reading MKV files...

No matter what when i read an H.264 stream inside an MKV container, the resultant nb_frames field from the stream's AVSTREAM struct is always zero :/

Here is an example of what i mean:

I only use libav for reading.

On Mar 30, 2011, at 1:17 PM, Ronald S. Bultje wrote:

> Hi Diego,
> On Wed, Mar 30, 2011 at 8:49 AM, Diego Massanti <diego at massanti.com> wrote:
>> Sorry for a 2nd reply, but could you possibly point me to that patch ? I've tried to find it on the list without success.
> http://patches.libav.org/patch/1890/
> Ronald

More information about the libav-api mailing list