Hi,

Could you provide a file that does not allow keyframe-seeking?
I am curious if the decoding can be fixed.

I have checked it once more and found the mistake. My fault.

if (enc_buf->flags & BUF_IFRAME)
    pkt.flags |= AV_PKT_FLAG_KEY;

I was setting BUF_IFRAME flag sometimes also for P frames. After fixing it just to IDR frames everything is ok. I expect that AV_PKT_FLAG_KEY should be set only for IDR frames and not for I frames in h264, is that true?

regards
Jan


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user


--
Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to