Sriram G

Unable to hear audio live from Internet on i.MX53QSBL

Discussion created by Sriram G on Aug 13, 2012

We are trying to stream live audio and video from Internet. However, with the hardware accelerated decoders, GStreamer pipeline is crashing and we are not getting any audio on i.MX53QSB except for some intermittent click clacks.

I have verified that it works with local media. I.e. if the file is locally present it works with
gst-launch-0.10 -v playbin2 uri="file:///home/sriram/cm.mp3". It also works with the HTML5 AUDIO tag for a local web page ( file:///home/sriram/cm.mp3).


However it does not work with an Internet stream of type audio/mpeg.

Here is a log of the error with GST_DEBUG=2. We are using WebKit built with QT 4.8.1 and playing live stream from www.dhingana.com

=====================================
  root@imx53qsb:~# webbrowser
QFont::setPixelSize: Pixel size <= 0 (0)
QFont::setPixelSize: Pixel size <= 0 (0)
QFont::setPixelSize: Pixel size <= 0 (0)
BLN_MAD-MMCODECS_MP3D_ARM_02.10.00_CORTEX-A8  build on Jul  7 2011 11:02:16.
MFW_GST_MP3_DECODER_PLUGIN  build on Jun  4 2012 19:56:32.
0:00:22.227930750  1480   0x489e28 WARN           audioresample gstaudioresample.c:1584:plugin_init: Orc disabled, can't benchmark int vs. float resampler
0:00:22.228247875  1480   0x489e28 WARN         GST_PERFORMANCE gstaudioresample.c:1588:plugin_init: orc disabled, no benchmarking done
0:00:22.244338250  1480   0x489e28 ERROR         mfw_mp3decoder mfw_gst_mp3dec.c:1315:mfw_gst_mp3dec_sink_event: Error in pushing the event,result    is 0
0:00:23.000995250  1480    0x16e50 WARN                     bin gstbin.c:2384:gst_bin_do_latency_func:<play> failed to query latency
0:10:34.149238000  1480   0x489e28 ERROR         mfw_mp3decoder mfw_gst_mp3dec.c:2507:decode_mp3_chunk: Error during pushing the buffer to osssink, error is -2
0:10:34.149439625  1480   0x489e28 ERROR         mfw_mp3decoder mfw_gst_mp3dec.c:2232:mfw_gst_mp3dec_chain: Error in decoding
0:10:35.582646125  1480   0x433e98 WARN                 default descriptions.c:987:gst_pb_utils_get_codec_description: No description available for media type: text/html
0:10:35.584038375  1480   0x433e98 WARN            uridecodebin gsturidecodebin.c:867:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'text/html'.
0:10:35.584591875  1480   0x433e98 WARN              decodebin2 gstdecodebin2.c:3231:gst_decode_bin_expose:<decodebin21> No suitable plugins found
0:10:35.584697125  1480   0x433e98 WARN              decodebin2 gstdecodebin2.c:3233:gst_decode_bin_expose:<decodebin21> error: no suitable plugins found
0:10:35.585575500  1480   0x433e98 WARN                 default descriptions.c:987:gst_pb_utils_get_codec_description: No description available for media type: text/html
0:10:35.585772500  1480   0x433e98 WARN              decodebin2 gstdecodebin2.c:1579:analyze_new_pad:<decodebin21> error: A text/html decoder plugin is required to play this stream, but not installed.
0:10:35.585846375  1480   0x433e98 WARN              decodebin2 gstdecodebin2.c:1579:analyze_new_pad:<decodebin21> error: No decoder to handle media type 'text/html'
0:10:35.590164375  1480   0x4a0018 WARN                  queue2 gstqueue2.c:2358:gst_queue2_loop:<queue21> error: Internal data flow error.
0:10:35.590292625  1480   0x4a0018 WARN                  queue2 gstqueue2.c:2358:gst_queue2_loop:<queue21> error: streaming task paused, reason not-linked (-1)
BLN_MAD-MMCODECS_MP3D_ARM_02.10.00_CORTEX-A8  build on Jul  7 2011 11:02:16.
MFW_GST_MP3_DECODER_PLUGIN  build on Jun  4 2012 19:56:32.
0:10:37.206045001  1480   0x6f82b8 ERROR         mfw_mp3decoder mfw_gst_mp3dec.c:1315:mfw_gst_mp3dec_sink_event: Error in pushing the event,result    is 0
0:10:37.218140000  1480    0x16e50 ERROR         mfw_mp3decoder mfw_gst_mp3dec.c:1640:mfw_gst_mp3dec_convert_sink: Cannot get the duration, should not be here.
0:10:37.219951625  1480   0x6f82b8 WARN          mfw_mp3decoder mfw_gst_mp3dec.c:2492:decode_mp3_chunk: difference between calculated ts and accumulated ts is bigger than 2 frames, reset time offset from 0:00:00.048000000 to 0:00:00.000000000
0:10:38.079179375  1480    0x16e50 WARN                     bin gstbin.c:2384:gst_bin_do_latency_func:<play> failed to query latency
0:10:38.121080000  1480   0x3fe588 WARN                   pulse pulsesink.c:630:gst_pulsering_stream_underflow_cb:<audiosink-actual-sink-pulse> Got underflow
^[^[

 

=====================================

 

Anybody has seen this issue or similar?

Outcomes