On 05 Apr 2018, Jürgen Göricke wrote:

>Oh, I'm so surprised! Because the error message suggests otherwise.

I still do not understand what prevents .m3u URLs (such as the one
you want to use) from being played correctly on pragha, but I collected
some extra information and I have a workaround for you.

First, the workaround:

Use curl to display what's in your .m3u URL:

    $ curl http://media-ice.musicradio.com/ClassicFMMP3.m3u 
    http://media-the.musicradio.com:80/ClassicFMMP3

Then use this URL, instead of the original, to test your gstreamer installation:

    $ gst-launch-1.0 -v playbin 
uri=http://media-the.musicradio.com:80/ClassicFMMP3

You can add this link to Pragha and it will work.

Could you test this workaround on your system and tell me if it works?



I'll keep trying to understand why the original URL is not acceptable.  Below 
is the output of a call to gst-launch-1.0, which shows that the problem is the 
lack of a decoder for 'text/uri-list' (it seems odd that a *decoder* is needed 
for text/uri-list.  I'd expect a *parser*.)

$ gst-launch-1.0 -v playbin
uri=http://media-ice.musicradio.com/ClassicFMMP3.m3u Setting pipeline to PAUSED 
...
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = 
http://media-ice.musicradio.com/ClassicFMMP3.m3u
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = 
"\(GstSoupHTTPSrc\)\ source"
Got context from element 'source': gst.soup.session=context, 
session=(SoupSession)NULL, force=(boolean)false;
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0.GstPad:src:
 caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
 force-caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: 
sink-caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:sink:
 caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:src:
 caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstGhostPad:sink.GstProxyPad:proxypad0:
 caps = text/uri-list
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
 caps = text/uri-list
Missing element: text/uri-list decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No 
decoder available for type 'text/uri-list'.
Additional debug info:
gsturidecodebin.c(921): unknown_type_cb (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: Your 
GStreamer installation is missing a plug-in.
Additional debug info:
gsturidecodebin.c(988): no_more_pads_full (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
gstdecodebin2.c(4640): gst_decode_bin_expose (): 
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: text/uri-list (text/uri-list)

ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Reply via email to