[FFmpeg-devel] [PATCH] H.264 I-frames with SEI are also key frames

Ivan Schreter schreter
Thu Mar 5 22:22:47 CET 2009


I just found out that my new seeking code doesn't work with AVCHD files 
from a Canon camcorder. The reason being, no key frames are detected 
(except first IDR slice), since this camcorder doesn't store SEI 
recovery point. In this case, I-slices are taken as key frames.

So I'm afraid, we need to consider I-slice as a key frame, even if 
recovery point is not set (see attached patch).

BTW, as we already discussed with Michael, convergence handling needs to 
be cleaned up anyway, since H.264 does it a little differently than 
originally thought.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_keyframe_i.patch
Type: text/x-patch
Size: 641 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090305/5f967504/attachment.bin>

More information about the ffmpeg-devel mailing list