[Libav-user] PCM interleaved audio
WilliamKeeling at hotmail.com
Thu Nov 25 04:38:10 EET 2021
Does anyone have an example of encoding PCM interleaved audio stream?
I can encode the stream if I manual un-interleave the PCM samples and put them in R/L planes. I am using “avcodec_find_encoder(AV_CODEC_ID_PCM_S32LE_PLANAR)” for my manually un-interleaved stream and “avcodec_find_encoder(AV_CODEC_ID_PCM_S32LE)” to the native interleaved stream. I am not sure what else I need to do to define the stream as 2 channel interleaved stream.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user