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

Diego Massanti diego at massanti.com
Wed Mar 30 17:49:52 CEST 2011

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.


On Mar 30, 2011, at 10:35 AM, Ronald S. Bultje wrote:

> Hi Diego,
> On Wed, Mar 30, 2011 at 2:42 AM, Diego Massanti <diego at massanti.com> wrote:
>> Hello there, I am using libav in a project that I'm working on and
>> everything is working as expected except that for some reason, the
>> total frame count (nb_frames) inside the AVSTREAM struct is always
>> zero for certain stream types and containers, an example of this are
>> h264 streams inside an mkv container.
>> What I might be doing wrong ? Is this a problem on my side or some
>> known issue with libav?
> Known issue, in fact there was just an experimental patch by Anton to
> fix that issue on libav-devel. Need to confirm that the count is
> accurate, and then we'll commit it, hopefully in a few days.
> Ronald

More information about the libav-api mailing list