[FFmpeg-devel] [PATCH]Warn if the flac encoder outputs files with incorrect channel layout or guesses the channel layout
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Apr 25 11:28:31 CEST 2011
Michael Niedermayer <michaelni <at> gmx.at> writes:
> > Attached patch allows the flac encoder to warn if multichannel audio was
> > provided, but no channel layout defined, and shows an error if the specified
> > layout is different from the one flac supports (but still encodes).
> no objections to the patch
Pushed.
> but in the long term we maybe want a
> list of supported channel layouts in AVCodec so this could be
> checked more generically in utils.c for more encoders
I am not sure that would work as needed.
We have encoders that completely miss channel layout (AAC) although it is
possible to support it and some where the specification has limitations (vorbis,
flac). I am not sure how the warning in utils.c can reflect the different
problems.
Carl Eugen
More information about the ffmpeg-devel
mailing list