Totem-mozilla can't play media player streaming (asx)

Bug #289658 reported by Gabriele Monti
This bug report is a duplicate of:  Bug #80365: [master] ASX files that don't play. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Totem
New
Undecided
Unassigned
totem (Ubuntu)
Confirmed
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem-mozilla

When opening this link:

http://www.raiclicktv.it/raiclickpc/secure/streamHome.srv?id=42624&idCnt=79046&path=RaiClickWeb^Home

totem-mozilla does nothing, an embedded player appears but no streaming.
This is the ouput:
If the same link is opened without any plugin it is possible to see the direct link which is:

http://www.raiclicktv.it/raiclickpc/asx?id=42624&caller=home&pagina=null&path=RaiClickWeb^Home&var=1225056142875

and which is correctly opened if passed to totem.
It looks like the problem is when resolving the URI, the plug-in resolves it to:

http://www.raiclicktv.it/raiclickpc/asx%3Fid=42624&caller=home&pagina=null&path=RaiClickWeb%5EHome&var=1225056142875

Please note the %3F instead of ? and %5E instead of ^. In fact by passing the latter URI to totem this error is returned:
Impossibile aprire la posizione; controllare di avere i permessi necessari per aprire il file (the italian for: Impossible to open the location, bla bla)

** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin [0x9e94d20]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: GetScriptableNPObject [0x9e94d20]
** Message: totemGMPPlayer [0xa0cfe98]
** Message: Base URI is 'http://www.raiclicktv.it/raiclickpc/secure/streamHome.srv?id=42624&idCnt=79046&path=RaiClickWeb^Home'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] pluginspage http://www.microsoft.com/windows/mediaPlayer/
argv[2] name rckvideo
argv[3] filename /raiclickpc/asx?id=42624&caller=home&pagina=null&path=RaiClickWeb^Home&var=1225056142875
argv[4] showcontrols 1
argv[5] animationatstart true
argv[6] autostart true
argv[7] showstatusbar true
argv[8] showdisplay true
argv[9] bgcolor #000000
argv[10] enablecontextmenu false
argv[11] width 352
argv[12] height 352
** Message: mSrcURI:
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 1
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutoPlay: 1, mRepeat: 0
** Message: Launching: /usr/lib/totem/gstreamer/totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3 --mimetype video/x-msvideo --statusbar
** Message: Viewer spawned, PID 20725
** Message: Initial window set, XID 460065b size 352x352
** Message: No viewer proxy yet, deferring SetWindow
** Message: GetScriptableNPObject [0x9e94d20]
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_20725'
** Message: NameOwnerChanged old-owner '' new-owner ':1.217'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
Viewer: SetWindow XID 73401947 size 352:352
TotemEmbedded-Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
TotemEmbedded-Message: totem_embedded_open_uri: uri /raiclickpc/asx?id=42624&caller=home&pagina=null&path=RaiClickWeb^Home&var=1225056142875 base_uri: http://www.raiclicktv.it/raiclickpc/secure/streamHome.srv?id=42624&idCnt=79046&path=RaiClickWeb^Home
totem_embedded_set_uri uri (null) base (null) => resolved (null)
totem_embedded_set_uri uri /raiclickpc/asx?id=42624&caller=home&pagina=null&path=RaiClickWeb^Home&var=1225056142875 base http://www.raiclicktv.it/raiclickpc/secure/streamHome.srv?id=42624&idCnt=79046&path=RaiClickWeb^Home => resolved http://www.raiclicktv.it/raiclickpc/asx%3Fid=42624&caller=home&pagina=null&path=RaiClickWeb%5EHome&var=1225056142875
TotemEmbedded-Message: totem_embedded_open_internal 'http://www.raiclicktv.it/raiclickpc/asx%3Fid=42624&caller=home&pagina=null&path=RaiClickWeb%5EHome&var=1225056142875' is-browser-stream 0 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: OpenURI reply
** Message: Command 'Play'
** Message: Error: "http://www.raiclicktv.it/raiclickpc/asx%3Fid=42624&caller=home&pagina=null&path=RaiClickWeb%5EHome&var=1225056142875": Not Found
gstsouphttpsrc.c(916): gst_soup_http_src_parse_status (): /GstPlayBin:play/GstSoupHTTPSrc:source:
404 Not Found

TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_set_error: 'Impossibile aprire la posizione; controllare di avere i permessi necessari per aprire il file.'
TotemEmbedded-Message: totem_embedded_set_error_logo called by browser plugin
** Message: don't know how to handle text/html

Tags: intrepid
Revision history for this message
gaganian (nikosgrigo) wrote : Re: [Intrepid] Totem-mozilla can't play media player streaming (asx)

I also confirm this issue!

Revision history for this message
Robert Rittenhouse (rrittenhouse) wrote :

I can confirm this on Ubuntu 8.10 64bit. I ran firefox from a terminal and the output was saying that it was a 404 and the file could not be found! Firefox wouldn't even browse to it with a %3F but it works fine with a ? mark. I used www.whiznews.com to test this. Click on an article that has video and click "Watch Video" on the next page.

I am going to take a look at the source code to see if this indeed a totem issue but some assistance would be helpful from a more experienced developer.

Thank you for reporting this bug.

~Robert Rittenhouse

Revision history for this message
JeppeM (jeppe-mariager) wrote :

I have the same issue with a Danish net radio...

-----------------------------

** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin [0xed5f00]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: GetScriptableNPObject [0xed5f00]
** Message: totemGMPPlayer [0x1eee440]
** Message: Base URI is 'http://radio100fm.dk/netradio'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] pluginspage http://www.microsoft.com/Windows/MediaPlayer/
argv[2] src /netradio/asx
argv[3] name MediaPlayer
argv[4] animationatstart 0
argv[5] autostart 1
argv[6] transparentatstart 0
argv[7] showstatusbar 1
argv[8] showcontrols 1
argv[9] autosize 0
argv[10] displaysize 0
** Message: mSrcURI: /netradio/asx
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 1
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutoPlay: 1, mRepeat: 0
** Message: Launching: /usr/lib/totem/gstreamer/totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3 --mimetype video/x-msvideo --statusbar
** Message: Viewer spawned, PID 10267
** Message: Initial window set, XID 2c03912 size 204x45
** Message: No viewer proxy yet, deferring SetWindow
** Message: GetScriptableNPObject [0xed5f00]
** Message: NewStream mimetype 'video/x-ms-asf' URL 'http://radio100fm.dk/netradio/asx'
** Message: Not expecting a new stream; aborting stream
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_10267'
** Message: NameOwnerChanged old-owner '' new-owner ':1.189'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
Viewer: SetWindow XID 46151954 size 204:45
TotemEmbedded-Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
TotemEmbedded-Message: totem_embedded_open_uri: uri /netradio/asx base_uri: http://radio100fm.dk/netradio
totem_embedded_set_uri uri (null) base (null) => resolved (null)
totem_embedded_set_uri uri /netradio/asx base http://radio100fm.dk/netradio => resolved http://radio100fm.dk/netradio/asx
TotemEmbedded-Message: totem_embedded_open_internal 'http://radio100fm.dk/netradio/asx' is-browser-stream 0 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: OpenURI reply
** Message: Command 'Play'
** Message: Error: You do not have a decoder installed to handle this file. You might need to install the necessary plugins.
gstplaybasebin.c(2307): prepare_output (): /GstPlayBin:play

Revision history for this message
Pedro Villavicencio (pedro) wrote :

could somebody experiencing the issue send this upstream to bugzilla.gnome.org? for forwarding instructions please have a look to https://wiki.ubuntu.com/Bugs/Upstream/GNOME ; thanks you.

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.