[Libav-user] Criteria for h.264 key-frame detection

Robert Krüger krueger at lesspain.de
Tue Oct 22 13:50:35 CEST 2013


On Tue, Oct 22, 2013 at 1:03 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Carl Eugen Hoyos <cehoyos at ...> writes:
>
>> Robert Krüger <krueger <at> ...> writes:
>>
>> > I just cut away everything from the file until the start
>> > of the packet containing the 27th frame
>> > (tail -c4329532 gh1_720p.mts > gh1_720p_cat.mts) and the
>> > resulting file decodes without artifacts using ffmpeg.
>>
>> (With or without -flags2 showall?)

It is displayed correctly in an application using libavformat/codec.
That's what I used for testing if it and the following frames could be
decoded correctly.

>
> Afaict, the 27th frame is not shown, ffmpeg "thinks" that
> it is no random access point.
>

What do you mean by "not shown"?


More information about the Libav-user mailing list