<div><br>Set num-buffers property in alsasrc .</div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">On Wed, Oct 7, 2009 at 12:37 PM, Yiliang Bao <span dir="ltr"><<a href="mailto:yiliangb@gmail.com">yiliangb@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><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 'mdat' has empty length<br>ERROR: pipeline doesn'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">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>-- <br>Regards,<br><br>Sudarshan Bisht<br>