<div dir="ltr">Hi All, <div><br></div><div><br></div><div>if my command line :</div><div><div>gst-launch-0.10 -v playbin2 uri=<a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP</a></div>

<div>01-FLAGS01700000/O0$1$8I2829.m4a </div><div><br></div><div>how to output the audio content to file NOT sound card?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/4 Diaz Soho <span dir="ltr"><<a href="mailto:soho123.2012@gmail.com" target="_blank">soho123.2012@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi All experts in gstreamer: </div><div>

<br></div><div><br></div><div>Does anyone have idea about the issue I got below?</div><div><br></div><div>my target platform is <span style="font-family:arial,sans-serif;font-size:14px">CPU is 400MHz, system memory is 32MB, CPU is lexra (MIPS like).</span></div>


<div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:14px">when test AAC decode function, it can not hear the normal sound from USB sound card for the whole song.</span></div>


<div><span style="font-family:arial,sans-serif;font-size:14px">I can hear the sound about the first 1 second, then I can NOT hear any output from USB sound card.</span></div><div><span style="font-family:arial,sans-serif;font-size:14px">But I can see the LED on USB sound card is blinking. It seems USB sound card have some thing to playback.</span></div>


<div><span style="font-family:arial,sans-serif;font-size:14px">the media Info of audio file is :</span></div><div><span style="font-family:arial,sans-serif;font-size:14px">431Kbps, 44.1Khz, 2 channel, AAC(LC)</span></div>


<div><br></div><div><br></div><div><br></div><div>Any input is very very appreciated!!!</div><div><br></div><div><br></div><div><br></div><div><br></div><div>below is the log when I use gst-launch command.</div><div><br>

</div>
<div><br></div><div><div># gst-launch-0.10 -v playbin2 uri=<a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP</a></div><div>01-FLAGS01700000/O0$1$8I2829.m4a  </div>

<div>
<br></div><div><br></div><div>Setting pipeline to PAUSED ...</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = 4000000000</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "<a href="http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0I2829.m4a" target="_blank">http://192.168.1.3:9000/disk/DLNA-PNAAC_ISO-OP01-FLAGS01700000/O0I2829.m4a</a>"</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstSoupHTTPSrc) source</div><div>Pipeline is PREROLLING ...</div><div>


/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0.GstPad:src: caps = video/quicktime, variant=(string)iso</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind: force-caps = video/quicktime, variant=(string)iso</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: sink-caps = video/quicktime, variant=(string)iso</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime, variant=(string)iso</div>


<div>buffering... 0%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstQueue2:queue20.GstPad:sink: caps = video/quicktime, variant=(string)iso</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstQueue2:queue20.GstPad:src: caps = video/quicktime, variant=(string)iso</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:sink: caps = video/quicktime, variant=(string)iso</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink: caps = video/quicktime, variant=(string)iso</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/quicktime, variant=(string)iso</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstQTDemux:qtdemux0.GstPad:sink: caps = video/quicktime, variant=(string)iso</div>


<div>buffering... 1%  buffering... 2%  buffering... 3%  buffering... 4%  buffering... 5%  buffering... 6%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152</div>


<div>buffering... 7%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)121056e500, rate=(int)44100, channels=(int)2</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)121056e500, rate=(int)44100, channels=(int)2</div>


<div>buffering... 8%  buffering... 9%  buffering... 10%  buffering... 11%  buffering... 12%  buffering... 13%  buffering... 14%  buffering... 15%  buffering... 16%  buffering... 17%  buffering... 18%  buffering... 19%  buffering... 18%  buffering... 19%  buffering... 20%  buffering... 21%  buffering... 22%  buffering... 23%  buffering... 24%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)121056e500, rate=(int)44100, channels=(int)2</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)121056e500, rate=(int)44100, channels=(int)2</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5</div><div>buffering... 25%  /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152</div><div>buffering... 26%  buffering... 27%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: always-ok = FALSE</div>


<div>buffering... 28%  /GstPlayBin2:playbin20/GstInputSelector:inputselector0: active-pad = (GstSelectorPad) sink0</div><div>buffering... 29%  buffering... 30%  buffering... 31%  buffering... 32%  buffering... 33%  </div>


<div><br></div><div>buffering... 34%  </div><div>buffering... 35%  buffering... 36%  buffering... 37%  buffering... 38%  buffering... 39%  buffering... 40%  buffering... 41%  buffering... 42%  buffering... 43%  buffering... 46%  buffering... 47%  buffering... 48%  buffering... 49%  buffering... 50%  buffering... 51%  buffering... 52%  buffering... 53%  buffering... 54%  buffering... 55%  buffering... 54%  buffering... 55%  buffering... 56%  buffering... 57%  buffering... 58%  buffering... 59%  buffering... 60%  buffering... 61%  buffering... 60%  buffering... 61%  buffering... 62%  buffering... 63%  buffering... 64%  buffering... 65%  buffering... 66%  buffering... 67%  </div>


<div>buffering... 68%  buffering... 69%  buffering... 70%  buffering... 71%  buffering... 72%  buffering... 73%  buffering... 74%  buffering... 75%  buffering... 76%  buffering... 77%  buffering... 78%  buffering... 77%  buffering... 78%  buffering... 79%  buffering... 82%  buffering... 83%  buffering... 84%  buffering... 85%  buffering... 86%  buffering... 87%  buffering... 88%  buffering... 89%  buffering... 90%  buffering... 91%  buffering... 92%  buffering... 88%  buffering... 89%  buffering... 90%  buffering... 91%  buffering... 92%  buffering... 93%  buffering... 94%  buffering... 93%  buffering... 94%  buffering... 95%  buffering... 96%  /GstPlayBin2:playbin20/GstPlaySink:playsink0: volume = 1.000000</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0: mute = FALSE</div><div><br></div><div>buffering... 97%  buffering... 98%  </div><div><br></div><div>buffering... 100%  Pipeline is PREROLLED ...</div><div>Setting pipeline to PLAYING ...</div>


<div><br></div><div>/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x6d6f18)</div><div>/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x6d6f00)</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_aac:ffdec_aac0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)121056e500, rate=(int)44100, channels=(int)2</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/ffdec_aac:ffdec_aac0.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>


/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src0.GstProxyPad:proxypad6: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src0.GstProxyPad:proxypad5: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:src0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>

/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstTee:audiotee.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>
<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>/GstPlayBin2:playbin20/GstPlaySink:playsink0.GstGhostPad:audio_sink.GstProxyPad:proxypad7: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstQueue:aqueue.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div><div>


/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad11: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstQueue:aqueue.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div><br></div><div>/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x675ac8)</div><div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioConvert:conv.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink.GstProxyPad:proxypad9: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstAudioResample:resample.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstVolume:volume.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstVolume:volume.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div><br></div><div><br></div><div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src.GstProxyPad:proxypad10: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink.GstGhostPad:sink.GstProxyPad:proxypad8: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2, signed=(boolean)true, endianness=(int)4321, width=(int)16, depth=(int)16</div>


<div>New clock: GstAudioSinkClock</div><div>^CCaught interrupt -- handling interrupt.</div><div>Interrupt: Stopping pipeline ...</div><div>Execution ended after 10130000000 ns.</div><div>Setting pipeline to PAUSED ...</div>


<div><br></div><div><br></div><div># </div></div></div>
</blockquote></div><br></div></div></div>