[Libav-user] PCM interleaved audio

william keeling 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.
Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20211125/7a193848/attachment.htm>


More information about the Libav-user mailing list