<div>HI Felipe,</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">First of all, {} are old style, then, it&#39;s &#39;channels&#39;, not &#39;channel&#39;,<br>also, it would be better if you specify the YUV format, queues should<br>
be before the muxer AFAIK, and last, maybe you should try first<br>without the xvimagesink<br><br>gst-launch-0.10 avimux name=mux bigfile=true ! filesink<br>
<div class="Ih2E3d">location=cam_vga_20.avi \<br>alsasrc blocksize=4096 !<br></div>&#39;audio/x-raw-int,endianness=1234,signed=true,width=16,depth=16,rate=44100,channels=2&#39;<br>! omx_aacenc ! queue ! mux. \<br>v4l2src queue-size=16 !<br>
&#39;video/x-raw-yuv,framerate=20/1,width=640,height=480,format=(fourcc)I420&#39;<br>! omx_mpeg4enc ! queue ! mux.<br><br>How does that works?<br>
<div class="Ih2E3d"></div></blockquote>
<div>&nbsp;</div>
<div>Thank for the above information it works fine. It is playing fine with the media player. How to add the xvimagesink where to put the queue.</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><span id=""></span><br>&gt; It works fine but when I press ctrl+C, the v4l2 and alsa src are closed<br>&gt; properly.<br><br></div>I guess you meant &quot;aren&#39;t closed properly&quot;.<br></blockquote>

<div>Yup it is a mistake... :)</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Manish</div></div>