Hi Diego,

On Wed, Mar 30, 2011 at 9:23 AM, Diego Massanti <[email protected]> wrote:
> 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:
> http://massanti.com/captures/nb_frames-20110330-132319.jpg
>
> I only use libav for reading.

Oh, I see - I misunderstood, apologies.

I think it's simply not yet implemented. I'm not aware of such a value
being in the matroska header, so we'd need to parse the whole file in
order to fill out the value, so I'm not sure how easy that is to
fix...

Ronald
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to