Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237341 - net-www/mplayerplug-in-{3.50,3.55} cannot play some Windows Media streams. The playlist fails to resolve.
Summary: net-www/mplayerplug-in-{3.50,3.55} cannot play some Windows Media streams. Th...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Joe Jezak (RETIRED)
URL: http://www.cbc.ca/listen/streams/r1_c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 16:59 UTC by Stephen Bosch
Modified: 2008-09-19 02:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
asx package (cbcr1-calgary.asx,129 bytes, application/xml)
2008-09-10 17:01 UTC, Stephen Bosch
Details
The original HTML for the stream pop-up window (r1_calgary_32.html,3.49 KB, text/html)
2008-09-10 17:02 UTC, Stephen Bosch
Details
This contains the _actual_ stream URL :) (reflector:36811.asx?bkup=36812,264 bytes, application/xml)
2008-09-10 17:04 UTC, Stephen Bosch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Bosch 2008-09-10 16:59:30 UTC
When I try to play the above Windows Media stream using mplayerplug-in, the ... the plug-in appears, displays "Getting Playlist", then "Stopped". Occasionally you can see a URL flash past in between "Getting Playlist" and "Stopped".

Clicking Play again doesn't help. The result is the same.

It seems as though mplayerplug-in isn't processing the playlists properly. If I manually grab the links with wget I can play the stream from the shell with mplayer.

I've tried upgrading to a testing ebuild of 3.55, but it makes no difference. Same results.

I am using Firefox 3 now but it was doing this with Firefox 2.x also.

Reproducible: Always

Steps to Reproduce:
1. Install mplayerplug-in 3.50 and Firefox 3
2. Go to the URL above (though I have encountered this problem with most of the Windows Media URLs I've tried)

Actual Results:  
The plug-in appears, displays "Getting Playlist", then "Stopped". Occasionally you can see a URL flash past in between "Getting Playlist" and "Stopped".

Clicking Play again doesn't help. The result is the same.

Expected Results:  
It should actually have played the stream, especially considering that it works when I manually get the ASX object and pull the stream URL out of it, then try playing the stream from the command-line interface using mplayer.

So the problem is not that mplayer cannot play the stream, but that the plug-in is not resolving the stream URL properly.

Contents of the above URL:
<html>
<head>
<title>CBC Radio One Calgary (32 kbps)</title>
<meta http-equiv="Content-Type" content="text/html;
         charset=iso-8859-1">
<link rel="STYLESHEET" type="text/css" href="../../common_radio/radio.css">
<script language="JavaScript" src="../../common_radio/radio_common.js"></script>
</head>
<!--CBC Radio One Calgary -->
<body bgcolor="#FFFFFF" background="images/back.gif" leftmargin="0"
        topmargin="0" marginwidth="0" marginheight="0">
<table width="320" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="320" align="left" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td><img src="../../common_radio/images/logo_radio1_small.gif" width="125" height="19"></td>
          <td align="right">Calgary (32 kbps)</td>
        </tr>
      </table>
      <!--Embed Player-->
      &nbsp;&nbsp;Windows Media Player: <table width="100%" border="0" cellspacing="5" cellpadding="0">
        <tr>
          <td align="center">                       <!--

                  Windows Media Player Stream Code
                  Be sure to replace the stream URL in both the OBJECT and EMBED tags

                  -->
            <object id="MediaPlayer"
                        classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/
        en/nsmp2inf.cab#Version=6,4,5,715" height="70" width="300">
              <param name="AutoSize" value="0">
              <param name="AutoStart" value="1">
              <param name="AnimationAtStart" value="0">
              <param name="ShowStatusBar" value="1">
              <param name="ShowControls" value="1">
              <param name="ShowAudioControls" value="1">
              <param name="ShowTracker" value="TRUE">
              <param name="AllowScan" value="-1">
              <param name="ClickToPlay" value="0">
              <param name="Filename" value="http://www.cbc.ca/livemedia/cbcr1-calgary.asx">
              <param name="TransparentAtStart" value="1">
              <param name="CursorType" value="0">
              <embed type="application/x-mplayer2"
                                pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
                                src="http://www.cbc.ca/livemedia/cbcr1-calgary.asx"
                                name=MediaPlayer
                                animationatstart=0
                                autostart=1
                                width=300 height=70
                                transparentatstart=0
                                showstatusbar=1
                                showcontrols=1
                                autosize=0
                                displaysize=0> </embed>
            </object>
            <!--End Windows Media Player Stream Code--> <script type="text/javascript" language="JavaScript1.1" src="/includes/stats/hbx_page_code.js"></script>
 <script type="text/javascript" language="JavaScript1.1" src="/includes/stats/hbx_cbc.js"></script>
 <script type="text/javascript" charset="utf-8">
  hbx.media="MediaPlayer";
  hbx.onlyMedia="y";
 </script>
 <script type="text/javascript" language="JavaScript1.1" src="/includes/stats/hbx.js"></script>
 <script type="text/javascript" language="JavaScript1.1" src="/news/video/default/stats/hbxmedia.js"></script>           <a href="#"><img src="../countdownimages/countdown_blank.gif" name="countdown" width="300" height="20" border="0"></a>
          </td>
        </tr>
      </table>
      <!--/Embed Player-->
      <br> </td>
  </tr>
</table>
<!--CBC Bar Include-->
<!--/CBC BAR INCLUDE-->
<br>
<br>
<FORM name="sw">
  <input type="hidden" name="beg2" size="7" value="60:00">
  <input type="hidden" name="disp2" size="9">
  <input type="hidden" name="message" size="40">
</FORM>
</body>
</html>


This points to http://www.cbc.ca/livemedia/cbcr1-calgary.asx:
<ASX VERSION="3.0">
 <ENTRY>
  <REF HREF="http://mfile2.akamai.com/9617/live/reflector:36811.asx?bkup=36812" />
 </ENTRY>
</ASX>

And http://mfile2.akamai.com/9617/live/reflector:36811.asx?bkup=36812 finally contains the stream URL:

<ASX VERSION="3.0">
 <ENTRY>
  <REF HREF="mms://a812.l961736811.c9617.g.lm.akamaistream.net/D/812/9617/v0001/reflector:36811" />
 </ENTRY>
<ENTRY>
  <REF HREF="mms://a813.l961736812.c9617.g.lm.akamaistream.net/D/813/9617/v0001/reflector:36812" />
 </ENTRY>
</ASX>

If I play this from the command-line with mplayer, it works fine.
Comment 1 Stephen Bosch 2008-09-10 17:01:45 UTC
Created attachment 165133 [details]
asx package

The ASX package that contains the stream URL.
Comment 2 Stephen Bosch 2008-09-10 17:02:41 UTC
Created attachment 165135 [details]
The original HTML for the stream pop-up window
Comment 3 Stephen Bosch 2008-09-10 17:04:11 UTC
Created attachment 165136 [details]
This contains the _actual_ stream URL :)
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2008-09-19 02:29:37 UTC
Sorry, this is more of an upstream bug.  I can't really do much about this, but if you post the exact same thing that you posted here to the mplayerplug-in mailing list, I'm sure the author can help you out.

Sorry!