After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 559478 - does not play windows media streams correctly
does not play windows media streams correctly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.9
Other All
: Normal major
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-05 17:41 UTC by Martin Jürgens
Modified: 2008-11-10 10:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Martin Jürgens 2008-11-05 17:41:47 UTC
Please describe the problem:
I am trying to play some windows media streams, namely 

http://wstreaming.zdf.de/zdf/veryhigh/081105_sendung_afo.asx

and

mms://62.144.180.163/tagesschau/msmedia/2008/1105/TV-20081105-1741-1501.wm.hi.wmv

when launching of one both, I get an error



Steps to reproduce:
1. Try to play one of the streams mentioned above
2. 
3. 


Actual results:
Error: 
** Message: no file info
** Message: Error: Could not determine type of stream.
gsttypefindelement.c(806): gst_type_find_element_activate (): /GstPlayBin:play/GstDecodeBin:decodebin0/GstTypeFindElement:typefind

Expected results:
Gstreamer should play the stream, as Xine does.

Does this happen every time?
Yes

Other information:
distro: Fedora 10
Comment 1 Wim Taymans 2008-11-05 18:30:41 UTC
gst-launch playbin2 uri=mms://62.144.180.163/tagesschau/msmedia/2008/1105/TV-20081105-1741-1501.wm.hi.wmv

with everything CVS works fine for me. playbin does not do anything. I don't get the error mentioned above, though.
Comment 2 Martin Jürgens 2008-11-05 19:19:45 UTC
hey, what about http://wstreaming.zdf.de/zdf/veryhigh/081105_sendung_afo.asx ? does it work for you?

I get this now:#

$ LC_ALL=C gst-launch playbin2 uri=http://wstreaming.zdf.de/zdf/veryhigh/081105_sendung_afo.asx
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...

(gst-launch-0.10:26036): GStreamer-CRITICAL **: gst_ghost_pad_set_target: assertion `GST_IS_GHOST_PAD (gpad)' failed
WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstTextOverlay:overlay: Could not multiplex stream.
Additional debug info:
gsttextoverlay.c(1172): gst_text_overlay_text_event (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstTextOverlay:overlay:
received non-TIME newsegment event on text input

Comment 3 Wim Taymans 2008-11-05 19:22:25 UTC
yeah, I get that too. the asx file is likely a playlist, which we don't handle. I'll see if I can make it handle the error a little more gracefully.
Comment 4 Martin Jürgens 2008-11-05 19:40:37 UTC
indeed it is a playlist but only listing one video and not being of a complex structure (looks like a xml file). do you plan to implent playing such playlists?

ah and btw., on my fedora 9 box i can play the stream when i use "mms://c36000-o.w.core.cdn.streamfarm.net/36000zdf/ondemand/3546zdf/zdf/zdf/08/11/081105_sendung_afo_vh.wmv" which i looked up in the playlist. but on my fedora 10 box, i get this:

$ LC_ALL=C gst-launch playbin2 uri=mms://c36000-o.w.core.cdn.streamfarm.net/36000zdf/ondemand/3546zdf/zdf/zdf/08/11/081105_sendung_afo_vh.wmv
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0: Could not determine type of stream.
Additional debug info:
gsttypefindelement.c(806): gst_type_find_element_activate (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

which is the same what i get with the other stream. are you able to play that stream with GST CVS also? Does it run smoothly? Thanks
Comment 5 Wim Taymans 2008-11-10 10:34:29 UTC
The stream plays with CVS but not very smoothly. This patch makes it error out more gracefully when dealing with a playlist.

        * gst/playback/gstplaysink.c: (gst_play_sink_reconfigure):
        Don't try to do crazy things when we only have a text pad without a
        video pad. Fixes #559478.


We might add playlist support at some point but currently it's handled by totem.