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