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 576795 - Streaming video from webtv.tv2.no not working
Streaming video from webtv.tv2.no not working
Status: RESOLVED DUPLICATE of bug 551532
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.24.x
Other All
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on:
Blocks:
 
 
Reported: 2009-03-26 03:02 UTC by Harald Solheim
Modified: 2009-04-01 16:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Example of downloaded asx file from webtv.tv2.no (371 bytes, text/plain)
2009-04-01 13:12 UTC, Harald Solheim
Details

Description Harald Solheim 2009-03-26 03:02:11 UTC
Please describe the problem:
The totem plugin fails to start video streams from webtv.tv2.no . The needed codecs are installed and totem should be able to play the video.

Steps to reproduce:
1. Try streaming video from http://webtv.tv2.no/webtv/sumo/?treeId=5&progId=294392
2. 
3. 


Actual results:
The totem plugin does not play video.

Expected results:
Video should be playing. 

Does this happen every time?
Yes

Other information:
Console output from firefox:

** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin [0xb691038]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: Base URI is 'http://webtv.tv2.no/webtv/sumo/?treeId=5&progId=294392'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] class videoObject controlsBuiltIn
argv[2] id video0
argv[3] PARAM 
argv[4] stretchToFit 1
argv[5] displaySize 4
argv[6] autoSize 0
argv[7] allowChangeDisplaySize 1
argv[8] showControls 0
argv[9] showStatusBar 0
argv[10] volume 90
argv[11] autoStart 1
argv[12] AUTOPLAY true
argv[13] enableContextMenu 1
argv[14] windowlessVideo 0
argv[15] src http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!
argv[16] SCALE tofit
argv[17] showTracker 1
** Message: Stream requested (force viewer: 0)
** Message: mSrcURI: http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!
** Message: mCache: 0
** Message: mControllerHidden: 1
** Message: mShowStatusbar: 0
** 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; nb-NO; rv:1.9.0.7) Gecko/2009030422 Ubuntu/8.10 (intrepid) Firefox/3.0.7 --mimetype video/x-msvideo --no-controls 
** Message: Viewer spawned, PID 10378
** Message: GetScriptableNPObject [0xb691038]
** Message: totemGMPPlayer [0xd64c558]
** Message: Initial window set, XID 3e1ec2a size 680x423
** Message: No viewer proxy yet, deferring SetWindow
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_10378'
** Message: NameOwnerChanged old-owner '' new-owner ':1.425'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
Viewer: SetWindow XID 65137706 size 680:423
TotemEmbedded-Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
** Message: Stream requested (force viewer: 0)
** Message: IsSchemeSupported scheme 'http': yes
TotemEmbedded-Message: totem_embedded_open_stream called: uri http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!, base_uri: http://webtv.tv2.no/webtv/sumo/?treeId=5&progId=294392
totem_embedded_set_uri uri (null) base (null) => resolved (null)
totem_embedded_set_uri uri http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ! base http://webtv.tv2.no/webtv/sumo/?treeId=5&progId=294392 => resolved http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!
TotemEmbedded-Message: totem_embedded_open_internal 'fd://0' is-browser-stream 1 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)
TotemEmbedded-Message: Viewer state: PLAYING
** Message: OpenStream reply
** Message: NewStream mimetype 'text/html' URL 'http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!'
** Message: StreamAsFile filename '/tmp/plugtmp-1/plugin-metafile.asx'
** Message: totem_pl_parser_can_parse_from_data couldn't get mimetype
TotemEmbedded-Message: Setting the current path to /tmp/plugtmp-1/plugin-metafile.asx
totem_embedded_set_uri uri (null) base (null) => resolved (null)
totem_embedded_set_uri uri file:///tmp/plugtmp-1/plugin-metafile.asx base http://webtv.tv2.no/webtv/sumo/?treeId=5&progId=294392 => resolved file:///tmp/plugtmp-1/plugin-metafile.asx
TotemEmbedded-Message: totem_embedded_open_internal 'file:///tmp/plugtmp-1/plugin-metafile.asx' is-browser-stream 0 start-play 1
TotemEmbedded-Message: BEFORE _open
TotemEmbedded-Message: AFTER _open (ret: 1)

(totem-plugin-viewer:10378): GStreamer-CRITICAL **: Failed to deactivate pad typefind:sink, very bad
** Message: DestroyStream reason 0
** Message: URLNotify URL 'http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!' reason 0

(totem-plugin-viewer:10378): GStreamer-CRITICAL **: 
Trying to dispose element decodebin1, but it is not in the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.

** Message: Error: Stream contains no data.
gsttypefindelement.c(785): gst_type_find_element_activate (): /GstPlayBin:play/GstDecodeBin:decodebin1/GstTypeFindElement:typefind:
Can't typefind empty stream

TotemEmbedded-Message: Viewer state: STOPPED
TotemEmbedded-Message: totem_embedded_set_error: 'Stream contains no data.'
TotemEmbedded-Message: totem_embedded_set_error_logo called by browser plugin

(totem-plugin-viewer:10378): GStreamer-CRITICAL **: 
Trying to dispose element typefind, but it is not in the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
Comment 1 Bastien Nocera 2009-04-01 10:32:35 UTC
What's in /tmp/plugtmp-1/plugin-metafile.asx when that happens?

I bet it's empty. If it's not, please upload it here.
Comment 2 Harald Solheim 2009-04-01 13:12:59 UTC
Created attachment 131841 [details]
Example of downloaded asx file from webtv.tv2.no
Comment 3 Harald Solheim 2009-04-01 13:21:58 UTC
/tmp/plugtmp-1/plugin-metafile.asx is empty.

I am able to download the asx from the terminal using
wget http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!

An example asx file follows:

<ASX VERSION="3.0">




	<ABSTRACT> </ABSTRACT>
	<TITLE>Været 21:20</TITLE>
	<AUTHOR> </AUTHOR>
	<COPYRIGHT>TV 2</COPYRIGHT>




	





	<ENTRY>

		<TITLE>Været 21:20</TITLE>
		<ABSTRACT></ABSTRACT>
		<COPYRIGHT>TV 2</COPYRIGHT>


		<!-- StreamMetrix logging -->
		<PARAM NAME="SM/title" VALUE="Været 21:20"/>
		<PARAM NAME="SM/smsec" VALUE="smsec=var1&smsec=var2&smsec=var3"/>

		
		<PARAM NAME="progId" VALUE="295288"/>


	
	
	
		<REF HREF="mms://195.5.113.70/TV2_PLAY?MSG=ymXPOW1Ikp3st)etxEMOQ75ormh(bcXCop3bkw1vpbSir4TwaSmYXFZBUMWcmTceVLefnvRWFpFT2adYzOZo9Q!!&">
		
		
		</REF>
	
	

	</ENTRY>

</ASX>

I can run this file in totem and it will show the video if the link is still valid.
Comment 4 Bastien Nocera 2009-04-01 14:12:21 UTC
I'm certain this is a dupe, but I can't seem to find the original bug report. Mozilla is handing us empty files, the dodgy thing, instead of one with content.
Comment 5 Harald Solheim 2009-04-01 14:22:59 UTC
I am not sure what you mean by "Mozilla is handing us empty files". Mozilla hands you the argv[0] through argv[17], right?

The web link in
argv[15] src
http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!
is not empty. I can download it with wget in the terminal. The file I download with wget I can open an totem and it will play if the links are still valid.

So I would assume that the plugin is not able to download the file correctly, though it should have the correct information from mozilla.
Comment 6 Bastien Nocera 2009-04-01 14:51:48 UTC
The plugin doesn't download the file, the plugin asks the web browser to do that. This is what this tells us:
** Message: NewStream mimetype 'text/html' URL
'http://webtv.tv2.no/webtv/metafile.asx?MSG=PyzlBHRjBoVSA6FyCZ1Ot4ywi7Y35yszgqiRNQvwcjzc7mz1aWrrasLDOWEfIxCnck5eMMPNNO3q2pyNMhcdJLFwr2ldhENDOcys0u45nXQ!'
** Message: StreamAsFile filename '/tmp/plugtmp-1/plugin-metafile.asx'

The stream is handled by the web browser. It's a browser bug, not a Totem one.
Comment 7 Bastien Nocera 2009-04-01 16:00:32 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 551532 ***