On Thu, Nov 25, 2021 at 3:38 AM william keeling <[email protected]>
wrote:

> 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.
>


For converting between interleaved vs noninterleaved it can be done
manually or via libraries like libswresample of libavfilter.



> Thanks
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
>
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to