[FFmpeg-devel] Bug in flac demuxer?

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Oct 19 03:15:12 CEST 2014


Michael Niedermayer <michaelni <at> gmx.at> writes:

> On Sat, Oct 18, 2014 at 02:30:55PM -0400, Marcus Johnson wrote:
> > I don't have access to my command line atm, but i 
> was using the channel map feature to split a 24 bit 
> 192khz 5.1 flac file into 6 mono wave files, and 
> ffmpeg would downcovert it to 16 bit unless i added 
> -acodec pcm_s24le after each -map flag, shouldn't 
> ffmpeg read the bit depth of the input file and use 
> that instead of assuming the file is 16 bit like it 
> currently does?

If you don't specify an encoder (explicitly), the 
default encoder for the container you specified 
(either explicitly with -f or implicitly via the 
output file name) is chosen, not the "best" encoder. 
If the documentation states something else, it should 
be fixed.
Note that we did change the default encoder for some 
containers in the past, there is no guarantee that we 
will not change it again.

This is ticket #1325 that should probably be closed 
as explained by Reimar there.

Please consider reading http://ffmpeg.org/contact.html 
(again) before sending another report.

> please provide a reproduceable testcase

$ ffmpeg -f s24le -i /dev/zero -t 1 out.wav

Carl Eugen



More information about the ffmpeg-devel mailing list