[FFmpeg-devel] [PATCH]Reorder channels for some mov channel layouts
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Jul 15 17:35:26 CEST 2011
Stefano Sabatini <stefano.sabatini-lala <at> poste.it> writes:
> > > > > > + * mov channel layout tag as described in the CAF specification.
> > > > > > + * - decoding: Set by user.
> > > > > > + * - encoding: unused
> > > > > > + */
> > > > > > + uint32_t mov_channel_layout;
> > > I'd avoid polluting AVCodecContext with codec-specific options, you
> > > can replicate the option entries in all the affected codecs.
> > There is nothing codec-specific about this option, it is used in multiple
> > muxers for multiple codecs.
> But, it is used only in pcm, right?
It is usable for AAC, ALAC, PCM, DTS, AC-3 and probably others (E-AC-3 is
slightly more difficult because I haven't found out yet how to mux correctly).
As said, this patch is as small as possible, especially because I wondered if
the reordering should be done differently.
More information about the ffmpeg-devel