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

Laurent Aimar fenrir
Sun Feb 8 16:11:27 CET 2009


On Sat, Feb 07, 2009, Ivan Schreter wrote:
> #6: Parsing needed picture parameters for and combining of two fields 
> belonging to same frame into one buffer. Until now, av_read_frame() 
> would return two buffers for an interlaced frame coded as two field 
> pictures, which is against av_read_frame() contract to return a buffer 
> with whole frame (and thus it breaks applications).
 I am not sure how the ffmpeg muxers works (at least for mp4 and ts) but
they need to know where the AU are (Access Unit) otherwise they cannot
correctly mux h264.
 So if av_read_frame is changed from returning 'one AU' to 'one or two AU
that form a frame', they will probably need some changes (unless av_read_frame
is not used for remuxing).



More information about the ffmpeg-devel mailing list