[FFmpeg-devel] [PATCH] H.264/AVCHD interlaced fixes

Ivan Schreter schreter
Wed Feb 4 21:36:18 CET 2009

Hi David,

thanks for the feedback.

Michael indicated that the patch should be split into smaller chunks (in 
the other mail to this topic). As my daughter (first child) was born 
yesterday, I don't see much chances to do it in the next time, but 
supporting of interlaced videos in the upcoming FFmpeg release is IMHO a 
very important thing in order to support new camcorders and HD videos in 
general (like your HD-PVR).

Therefore, I'd like to ask you, if it were OK for you to split the 
current patch into smaller units (one for replacing literals by names, 
one adding decoding of SEI recovery point in h264 decoder, one adding 
functionality to h264 decoder to continue decoding of the buffer, if 
more data available, and one adding NAL unit decoding in the 
h264_parser) and submit them to the list for review one by one.

Thanks & regards,


David DeHaven wrote:
>> Hi *,
>> here the patch to correct some problems when working with interlaced
>> H.264/AVCHD files. Two primary problems are addressed:
>> - lack of key frame support in H.264 decoder (this is also relevant
>>   for progressive)
>> - proper handling of field pictures for interlaced mode (two fields
>>   coded as separate pictures instead of one picture per frame)
> FWIW, I was able to transcode a 1080i clip (or was that 1080mbaff? :)  
> from HD-PVR just fine with this patch.
> MPlayer with the patch was also improved, it was able to maintain A/V  
> sync when playing with -demuxer lavf. It was unusable previously. It  
> also played interlaced streams from DVB sources that have been  
> troubling me.
> I'll keep playing with it to see if anything broke.
> -DrD-
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list