[Libav-user] get frame type

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 20 13:43:01 CET 2012


Robert Krüger <krueger at ...> writes:

> > Did you try to read avFrame->pict_type ?
> >
> does this field have any meaning for h.264? I thought a frame could
> consist of a mixture of B- P- and I-slices. What is the policy of the
> h.264 decoder to set this field currently? I haven't checked recently
> but I remember it to have weird values for the h.264 files I checked.

Could you point me to the bug report?
The decoder sets the value so I would expect it to be correct.

Carl Eugen



More information about the Libav-user mailing list