GNOME Bugzilla – Bug 551532
Fails to play stream from webtv.tv2.no
Last modified: 2010-06-23 09:41:20 UTC
Here's the data: ** Message: NP_Initialize ** Message: NP_Initialize succeeded ** Message: totemPlugin [0xa7ce1d0] ** Message: Init mimetype 'application/x-mplayer2' mode 1 ** Message: Base URI is 'http://webtv.tv2.no/webtv/sumo/?treeId=3700005&progId=262132' ** 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=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr argv[16] SCALE tofit argv[17] showTracker 1 ** Message: mSrcURI: http://webtv.tv2.no/webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr ** Message: mCache: 0 ** Message: mControllerHidden: 1 ** Message: mShowStatusbar: 0 ** Message: mHidden: 0 ** Message: mAudioOnly: 0 ** Message: mAutoPlay: 1, mRepeat: 0 ** Message: Launching: /usr/libexec/totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072301 Fedora/3.0.1-1.fc10 Firefox/3.0.1 --mimetype video/x-msvideo --no-controls ** Message: Viewer spawned, PID 25894 ** Message: Initial window set, XID 410a04f size 680x423 ** Message: No viewer proxy yet, deferring SetWindow ** Message: GetScriptableNPObject [0xa7ce1d0] ** Message: totemGMPPlayer [0xe689c48] ** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_25894' ** Message: NameOwnerChanged old-owner '' new-owner ':1.213' ** Message: Viewer now connected to the bus ** Message: ViewerSetup ** Message: Calling SetWindow Viewer: SetWindow XID 68198479 size 680:423 TotemEmbedded-Message: Viewer state: STOPPED ** Message: SetWindow reply ** Message: ViewerReady ** Message: IsSchemeSupported scheme 'http': yes TotemEmbedded-Message: totem_embedded_open_stream called: uri http://webtv.tv2.no/webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr, base_uri: http://webtv.tv2.no/webtv/sumo/?treeId=3700005&progId=262132 totem_embedded_set_uri uri (null) base (null) => resolved (null) totem_embedded_set_uri uri http://webtv.tv2.no/webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr base http://webtv.tv2.no/webtv/sumo/?treeId=3700005&progId=262132 => resolved http://webtv.tv2.no/webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr 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=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr' ** Message: StreamAsFile filename '/tmp/plugtmp/metafile.asx' ** Message: totem_pl_parser_can_parse_from_data couldn't get mimetype TotemEmbedded-Message: Setting the current path to /tmp/plugtmp/metafile.asx totem_embedded_set_uri uri (null) base (null) => resolved (null) totem_embedded_set_uri uri file:///tmp/plugtmp/metafile.asx base http://webtv.tv2.no/webtv/sumo/?treeId=3700005&progId=262132 => resolved file:///tmp/plugtmp/metafile.asx TotemEmbedded-Message: totem_embedded_open_internal 'file:///tmp/plugtmp/metafile.asx' is-browser-stream 0 start-play 1 TotemEmbedded-Message: BEFORE _open TotemEmbedded-Message: AFTER _open (ret: 1) (totem-plugin-viewer:25894): 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=WFdB4dWhmEFZyHntO1yAM5W2boPwDw8)hy8r5XZBDr8qB6JiO(EkVasdwqqZR55dVZq1ohoDDT61ZnPhMAffo9z6nrHFERALVPWQG6kE(iE5AfRFCxvMJo2jI9Yvzknr' reason 0 (totem-plugin-viewer:25894): 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(776): gst_type_find_element_activate (): /play/decodebin1/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:25894): 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.
Mozilla just doesn't manage to download the file. Open it using Firefox or epiphany, and the file will be empty. Playbin barfs on the empty file though, which it shouldn't. Kjartan, please file a bug against xulrunner in the Fedora bugzilla, wget manages to download the file fine.
Gecko fails to download the file also on ubuntu's xulrunner, so I think it's an upstream bug not a fedora specific one.
-1211234624[9d77568]: http request [ -1211234624[9d77568]: GET /webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM6nrRibpTdOeDj(daFes2y9s56eSdzYxl1e6ubMAaHZOQkNHtF9LXFzCrXJ4IZa9aAdtg lwQZQFtfUZpCiiPl7I! HTTP/1.1 -1211234624[9d77568]: Host: webtv.tv2.no -1211234624[9d77568]: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.2) Gecko/2008090211 Ubuntu/8.10 (intrepid) Firefox/3.0.1 -1211234624[9d77568]: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 -1211234624[9d77568]: Accept-Language: en-us,en;q=0.5 -1211234624[9d77568]: Accept-Encoding: gzip,deflate -1211234624[9d77568]: Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 -1211234624[9d77568]: Keep-Alive: 300 -1211234624[9d77568]: Connection: keep-alive -1211234624[9d77568]: Cookie: JSESSIONID=8hOl+2zMMfEEZw84uEO4zQ**; WT_FPC=id=227f4d487021d3e95af1221062351960:lv=1221062351960:ss=122106235 1960; webtv.bandwidth2=3400; autoFullScreen=false; webtv.playerPlatform=0 -1211234624[9d77568]: ] [.....] -1245541488[9e62e28]: http response [ -1245541488[9e62e28]: HTTP/1.1 200 OK -1245541488[9e62e28]: Date: Wed, 10 Sep 2008 16:59:55 GMT -1245541488[9e62e28]: X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 -1245541488[9e62e28]: Content-Location: /webtv/metafile.asx -1245541488[9e62e28]: Content-Type: text/html; charset=ISO-8859-1 -1245541488[9e62e28]: Vary: Accept-Encoding -1245541488[9e62e28]: Content-Encoding: gzip -1245541488[9e62e28]: Content-Length: 20 -1245541488[9e62e28]: Connection: close -1245541488[9e62e28]: ] Strangely the response has content-length 20 while the file is 743 bytes when downloaded with wget. Even with content-encoding = gzip that's a big difference... [...] -1211234624[9d77568]: nsHttpChannel::ApplyContentConversions [this=afeac58] -1211234624[9d77568]: converter installed from 'gzip' to 'uncompressed' -1211234624[9d77568]: Preparing to write data into the cache [uri=http://webtv.tv2.no/webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM6nrRibpTdOeDj(daFes2y9s56eSdzYxl1e6ubMAaHZOQkNHtF9LXFzCrXJ4IZa9aAdtglwQZQFtfUZpCiiPl7I!] -1211234624[9d77568]: nsHttpChannel::OnDataAvailable [this=afeac58 request=af4e278 offset=0 count=20] So apparently it does read 20 bytes. For comparision, with wget, the request is GET /webtv/metafile.asx?MSG=WFdB4dWhmEFZyHntO1yAM(Xxv3BlSvlQKVkTwiqeNPpIh(tcO7cmryW1jSKh0DvbAGB9b3uPDa5)99MWsKws)7pUSngWdT6xTQ5hPLb)uHo! HTTP/1.0 User-Agent: Wget/1.11.4 Accept: */* Host: webtv.tv2.no Connection: Keep-Alive and the response is: HTTP/1.1 200 OK Date: Wed, 10 Sep 2008 17:19:07 GMT X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 Set-Cookie: JSESSIONID=c2K6NwGm4UQillI8WUSvhw**; Path=/ Content-Location: /webtv/metafile.asx Cache-Control: no-cache Pragma: no-cache Content-Type: video/x-ms-asf;charset=ISO-8859-1 Content-Length: 287 Connection: close
Can someone follow this up on bmo, since it seems that gecko is involved in here? However, it also fails in ephy/webkit. Very weird.
*** Bug 576795 has been marked as a duplicate of this bug. ***
That's what happens when the front-end tries to do a _play() but we received an error in the middle:
+ Trace 214092
This doesn't happen with playbin2, so it's fixed in Totem trunk. This still happens with playbin itself. The "Mozilla downloads empty files" bug is upstream at: https://bugzilla.mozilla.org/show_bug.cgi?id=486346
Marking OBSOLETE as we're no longer fixing issues that happen with playbin but work fine with playbin2.