Le lundi 09 février 2009 à 20:19 +0100, Kristian Lippert a écrit : > > Hi Philippe > I tried from my own Elisa plugin to set the stream to > mmsh://wmscr1.dr.dk/e02ch03m > but it did not work. I then tried to set it to > mmsh://wmscr1.dr.dk/e02ch03m?wmcontentbitrate=300000 > and it works! > BUT is this satisfying enough for the stability of the > python-gstreamer-code that I need to know the bitrate? This has nothing to do with python-gstreamer and all with the gstreamer element used for mms. In your case I guess this is mmssrc from gst-plugins-bad. As a matter of fact, the first uri works flawlessly with the proprietary flumms element (http://www.fluendo.com/shop/product/windows-media-mms/ ). Whatever is the type of stream sent with the first url differs in some way with the one where you specify the bitrate in the url. I don't know what the difference is. I would suggest you file a bug report for the mmssrc element of gst-plugin-bad, explaining the gst-launch that works and the one that doesn't. Do that there: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
Guillaume > Best Regards, > Kristian > > ______________________________________________________________________ > From: [email protected] > To: [email protected] > Subject: RE: [Elisa] Problems with playing stream using Elisa player > Date: Mon, 9 Feb 2009 20:11:07 +0100 > CC: [email protected] > > I have tried running gstreamer from the command line, like: > gst-launch-0.10 mmssrc > location="mmsh://wmscr1.dr.dk/e02ch03m?wmcontentbitrate=300000" ! > queue2 max-size-buffers=100 max-size-bytes=50000 low-percent=20 > use-buffering=true ! asfdemux ! ffdec_wmav2 ! pulsesink > > and this works fine! > > Best regards, > Kristian > > ______________________________________________________________________ > From: [email protected] > To: [email protected] > Subject: RE: [Elisa] Problems with playing stream using Elisa player > Date: Mon, 9 Feb 2009 20:04:30 +0100 > CC: [email protected] > > Hi Philippe > I have tried to use the mmsh://wmscr1.dr.dk/e02ch03m > but it does not work. A clever friend of mine had suggested the same > after looking into the gstreamer-code. > BUT it did not work! > I got the following warning from the player: > > WARN MainThread default Feb 09 19:50:42 > Gstreamer Could not open resource for reading.:gstmms.c(337): > gst_mms_start (): /GstPlayBin:playbin2/GstMMS:source > (elisa/plugins/poblesec/player_video.py:437) > > and some white rectangles (??) and a close button > > Creating additional debug output for player_video.py > ("ELISA_DEBUG="player_video:5" elisa -n -u") does not give much extra > information: > > /home/kristian/.elisa-0.5/plugins/elisa_plugin_poblesec-0.2.egg/elisa/plugins/poblesec/player_video.py:122: > DeprecationWarning: caps.get_structure(i) is deprecated, use caps[i] > cur_struct = caps.get_structure(i) > WARN MainThread default Feb 09 19:58:51 > Gstreamer Could not open resource for reading.:gstmms.c(337): > gst_mms_start (): /GstPlayBin:playbin2/GstMMS:source > (elisa/plugins/poblesec/player_video.py:437) > > Did I do something wrong or is there a small problem with gstreamer as > used by python? > > Best Regards, > Kristian > > > Subject: Re: [Elisa] Problems with playing stream using Elisa player > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Date: Mon, 9 Feb 2009 10:32:26 +0100 > > > > Try mmsh://wmscr1.dr.dk/e02ch03m > > > > > > Le vendredi 06 février 2009 à 22:24 +0100, Kristian Lippert a > écrit : > > > Hi > > > I'm trying to play the stream > > > mms://wmscr1.dr.dk/e02ch03m > > > using the player in Elisa > > > This does not work and Totem cannot play it either. > > > I then change the stream into > > > http://wmscr1.dr.dk/e02ch03m > > > and this works from Firefox! > > > But not in Elisa. The player will not stream this Danish radio > station > > > > > > Is it the stream that is strange or is it my gstreamer that needs > a > > > "brush-up"? > > > > > > Best Regards, > > > Kristian > > > > > > > > > > ______________________________________________________________________ > > > Invite your mail contacts to join your friends list with Windows > Live > > > Spaces. It's easy! Try it! > > > ______________________________________________________________________ > Get news, entertainment and everything you care about at Live.com. > Check it out! > > ______________________________________________________________________ > check out the rest of the Windows Live™. More than mail–Windows Live™ > goes way beyond your inbox. More than messages > > ______________________________________________________________________ > Get news, entertainment and everything you care about at Live.com. > Check it out!
