<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
Does anyone have an example of encoding PCM interleaved audio stream?<span style="mso-spacerun:yes"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="mso-spacerun:yes"></span>I can<span style="mso-spacerun:yes">  </span>
encode the stream if I manual un-interleave the PCM samples and put them in R/L planes.<span style="mso-spacerun:yes"> 
</span>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.<span style="mso-spacerun:yes"> 
</span>I am not sure what else I need to do to define the stream as 2 channel interleaved stream.<o:p> </o:p></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri, sans-serif">
<span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Thanks</span><br>
</p>
<br>
</div>
</body>
</html>