[Libav-user] Handling of 24 bit audio in libav* and libswresample
hs at tagtraum.com
Tue Jun 11 11:40:41 CEST 2013
On Jun 11, 2013, at 11:31 AM, Carl Eugen Hoyos wrote:
> 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.
The example I gave provides AV_SAMPLE_FMT_S32 as input, so that should not be a problem.
More information about the Libav-user