<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>hi folks,</p>
<p><br>
</p>
<p>I'm trying to interleave 2 audio channels into one and encode it into AAC stream. The gst-launch command is like:</p>
<p><span>gst-launch-1.0 audiotestsrc wave=1 ! interleave name=i ! 'audio/x-raw,channels=2' ! faac ! fakesink audiotestsrc wave=0 ! i.</span><br>
</p>
<p><span><br>
</span></p>
<p><span>Then I got below errors</span></p>
<p><span><br>
</span></p>
<p><span></p>
<div>Setting pipeline to PAUSED ...</div>
<div>Pipeline is PREROLLING ...</div>
<div>ERROR: from element /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc1: Internal data flow error.</div>
<div>Additional debug info:</div>
<div>gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc1:</div>
<div>streaming task paused, reason not-negotiated (-4)</div>
<div>ERROR: pipeline doesn't want to preroll.</div>
<div>Setting pipeline to NULL ...</div>
<div>Freeing pipeline ...</div>
<div><br>
</div>
<br>
</span>
<p></p>
<p><span>Can someone please give some pointers here? Thanks.</span></p>
<p><span><br>
</span></p>
<p><span>Xin</span></p>
</div>
</body>
</html>