[FFmpeg-devel] [PATCH]Write fiel atom independent of other Video Sample Description Extensions

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Feb 4 11:59:50 CET 2013

On Monday 04 February 2013 11:04:30 am Tim Nicholson wrote:
> On 02/02/13 10:35, Carl Eugen Hoyos wrote:
> > Hi!
> >
> > I may miss something but I don't see why asp or h264 video cannot contain
> > field handling information.
> >
> > As a side-effect, this fixes ticket #2202.

> I'm not sure about asp or h264, but writing this atom for all codecs if
> interlace information is set will add it to things like DNX, which does
> not have it set in "genuine" files.

I finally found an apple.com encoded h264 mov file with a fiel atom;-)

Regarding the AVID-based codecs: We currently write the pasp atom for 
them which is wrong I guess, does the additional atom break playback?

> A lower impact approach that would still fix #2202 would be to simply
> bump it to the end of the "else if" set.

(I wish I hadn't mentioned 2202 which is only partly related.)

That wouldn't fix the original intend which was to support interlace 
information with huffyuv and ffvhuff in mov.

Carl Eugen

More information about the ffmpeg-devel mailing list