[Libav-user] Handling of 24 bit audio in libav* and libswresample

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jun 11 11:31:30 CEST 2013


Hendrik Schreiber <hs at ...> writes:

> But, when writing the result to a file, I want to use 
> AV_CODEC_ID_PCM_S24LE, i.e. the least significant
> byte is cut off.

AV_CODEC_ID_PCM_S24LE encoder only accepts 
AV_SAMPLE_FMT_S32 as input.

Carl Eugen



More information about the Libav-user mailing list