[libav-tools] Convert 24-bit flac to alac using avconv

Justin Ruggles justin.ruggles at gmail.com
Sun Aug 5 17:35:44 CEST 2012


On 08/05/2012 05:28 AM, dnd1066 wrote:
> hi,
> 
> sorry if this is a n00b question, i'm trying to convert some 24-bit flac
> files to alac, but it keeps down-sampling them to 16-bit.  this is the
> input stream:
> 
> Stream #0.0: Audio: flac, 44100 Hz, 2 channels, s32
> 
> It then display this warning:
> 
> Incompatible sample format 's32' for codec 'alac', auto-selecting format
> 's16'
> 
> and i end up with:
> 
> Stream #0.0: Audio: alac, 44100 Hz, 2 channels, s16, 200 kb/s
> 
> Is there anyway around this?

The Libav ALAC encoder does not support 24-bit. The way around it would
be to implement it. It's not a secret as to how it's done. Getting it
implemented is just a matter of priorities and time available.

-Justin


More information about the libav-tools mailing list