<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 5:05 AM, sudarshan bisht <span dir="ltr">&lt;<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><br>Set num-buffers property in alsasrc .</div></blockquote><div><br>Or use &quot;gst-launch -e&quot;. The problem here is that the pipeline is not properly finished (receives an EOS event), using -e will force an EOS when you press ctrl+c. Using num-buffers will make the alsasrc push an EOS when the number of buffers is generated. <br>

 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Wed, Oct 7, 2009 at 12:37 PM, Yiliang Bao <span dir="ltr">&lt;<a href="mailto:yiliangb@gmail.com" target="_blank">yiliangb@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><br>Hi,<br><br>I used the following pipeline:<br><br>   gst-launch alsasrc ! faac, bitrate=48000, profile=2 ! mp4mux ! filesink<br>


location=test.m4a<br><br>The file was generated, but it could not be played back by gstreamer using<br>the following pipeline:<br><br>  gst-launch filesrc location=test.m4a ! decodebin ! autoaudiosink<br><br>Following messages are generated. It seems that the file was not generated<br>


properly.<br><br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>ERROR: from element<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: This<br>file is invalid and cannot be played.<br>


Additional debug info:<br>qtdemux.c(1447): gst_qtdemux_loop_state_header ():<br>/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:<br>Header atom &#39;mdat&#39; has empty length<br>ERROR: pipeline doesn&#39;t want to preroll.<br>


Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br>I checked the binary, and the length field of mdat is indeed 0, and I could<br>not find any atoms, like moov, mvhd, etc., that describe the media.<br><br>Is this the right pipeline to capture audio in MP4 file? Thanks!!<br>


<br>Yiliang<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Could-not-capture-AAC-audio-in-mp4mux-properly%2C-help-%21%21%21-tp25781565p25781565.html" target="_blank">http://www.nabble.com/Could-not-capture-AAC-audio-in-mp4mux-properly%2C-help-%21%21%21-tp25781565p25781565.html</a><br>


Sent from the GStreamer-devel mailing list archive at Nabble.com.<br><br><br>------------------------------------------------------------------------------<br>Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>


is the only developer event you need to attend this year. Jumpstart your<br>developing skills, take BlackBerry mobile applications to market and stay<br>ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>


<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>


<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></blockquote></div><br><br clear="all">
<div></div><br></div></div>-- <br>Regards,<br><font color="#888888"><br>Sudarshan Bisht<br>
</font><br>------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>