[Ffmpeg-devel] Re: [PATCH] mov fourccs for handling FCP files

Roberto Togni r_togni
Wed Feb 15 20:17:37 CET 2006


On Wed, 15 Feb 2006 18:03:46 +0100
Baptiste COUDURIER <baptiste.coudurier at smartjog.com> wrote:

> Mike Melanson wrote:
> > Burkhard Plaum wrote:
> > 
> >> Hi,
> >>
> >> Baptiste COUDURIER <baptiste.coudurier <at> smartjog.com> writes:
> >>
> >> [...]
> >>
> >> +    { CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') },
> >>
> >> One should be careful here, in24 can also be little endian.
> >>
> >> The endianess is specified by the enda atom (which is
> >> inside the wave atom).
> >>
> >> For more info, see the libquicktime sourcecode (enda.c, wave.c).
> > 
> > 
> >     Interesting. Is it that way for in32? How about the floating point
> > formats (fl32 and fl64)?
> > 
> >     Thanks...
> 
> Ah ok, thanks a lot.
> 
> I added support for 'in32' fourcc.
> 
> Here is a patch to handle enda atom, according to Apple specs. Anyone
> got a sample with an 'enda' atom ?

A sample for fl32 with enda atom is here
http://equinox.campus.ltu.se/samples/A-codecs/qtfl32/vb3.mov
MPlayer plays it as be float 32bit. I had no idea about the enda atom
when i added support for it, so i just considered all fl32 samples to be
be.

These files also seems to have an enda atom, but being mp3 i don't know
what's the meaning of it
http://equinox.campus.ltu.se/samples/mov/qtaudio/surge-2-16-B-.mp3.mov
http://equinox.campus.ltu.se/samples/mov/qtaudio/surge-2-16-B-ms55.mov
http://equinox.campus.ltu.se/samples/mov/multitrack/multitrack.mov
http://equinox.campus.ltu.se/samples/mov/multitrack/so-close-trailer-640x344.mov

Ciao,
 Roberto





More information about the ffmpeg-devel mailing list