GNOME Bugzilla – Bug 357506
[mmssrc] Can't connect to streams at movies.yahoo.com.
Last modified: 2008-05-06 12:57:28 UTC
Please describe the problem: When i try to view videos at movies.yahoo.com i get a error message saying that i may not have permission to view the file. The thing is that the video plays fine in VLC, so it's not a permission problem. Message: "** Message: error: Kunde inte öppna platsen; Du kanske inte har rättighet att öppna filen." My own translation in to english: "** Message: error: The place could not be opened; You may not have permission to open the file." URL: http://movies.yahoo.com/mv/mf/frame?theme=minfo&lid=wmv-56-p.1482467-172590,wmv-100-p.1482468-172590,wmv-300-p.1482469-172590,wmv-700-p.1482470-172590,wmv-1000-p.1482471-172590,wmv-28-p.1482467-172590&id=1808705526&f=1808705526&mspid=1809765847&type=m&a=0,15 (gdb) run Starting program: /usr/bin/totem [Thread debugging using libthread_db enabled] [New Thread -1225718096 (LWP 15342)] [New Thread -1242281056 (LWP 15347)] [New Thread -1250751584 (LWP 15348)] Could not read packet header: Success [Thread -1250751584 (LWP 15348) exited] [Thread -1242281056 (LWP 15347) exited] Program exited normally. (gdb) quit filip@filip-desktop:/opt$ gdb epiphany GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/epiphany (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1228274000 (LWP 15368)] (epiphany:15368): libgnomevfs-WARNING **: Failed to create service browser: Bad state (epiphany:15368): libgnomevfs-WARNING **: Failed to create service browser: Bad state (epiphany:15368): libgnomevfs-WARNING **: Failed to create service browser: Bad state [New Thread -1266431072 (LWP 15377)] [New Thread -1275528288 (LWP 15378)] [New Thread -1283920992 (LWP 15379)] [New Thread -1292313696 (LWP 15380)] [New Thread -1300706400 (LWP 15381)] [New Thread -1310913632 (LWP 15397)] [New Thread -1321206880 (LWP 15398)] [Thread -1310913632 (LWP 15397) exited] [New Thread -1310913632 (LWP 15399)] [Thread -1321206880 (LWP 15398) exited] ** Message: NP_Initialize ** Message: totem_plugin_new_instance totemGMPPlugin ctor [0x8cba4b0] mode 1 mime type: application/x-mplayer2 argv[0] id MediaPlayer argv[1] name MediaPlayer argv[2] type application/x-mplayer2 argv[3] src http://mediaframe.yahoo.com/buildlist.asp?p=movies&f=1808705526&type=m&a=0,15&t=Tenacious+D+in%3A+The+Pick+of+Destiny&id=1482471-172590&m=wmv&r=1000&l=SAV&ext=1 argv[4] autostart 1 argv[5] autosize 0 argv[6] showcontrols 0 argv[7] showtracker 0 argv[8] showdisplay 0 argv[9] showstatusbar 1 argv[10] enablecontextmenu 0 argv[11] animationatstart 0 argv[12] transparentatstart 1 argv[13] height 300 argv[14] width 400 ** Message: plugin_get_value 14 (e) ** Message: plugin_set_window ** Message: waiting for data to come ** Message: leaving plugin_set_window ** Message: plugin_set_window ** Message: existing window ** Message: resize ** Message: leaving plugin_set_window ** Message: plugin_set_window ** Message: existing window ** Message: resize ** Message: leaving plugin_set_window ** Message: plugin_new_stream ** Message: plugin_new_stream type: video/x-ms-asf url: http://mediaframe.yahoo.com/buildlist.asp?p=movies&f=1808705526&type=m&a=0,15&t=Tenacious+D+in%3A+The+Pick+of+Destiny&id=1482471-172590&m=wmv&r=1000&l=SAV&ext=1 ** Message: Is special type 'audio/x-ms-asx' ** Message: Need to wait for the file to be downloaded completely ** Message: plugin_stream_as_file: /home/filip/.gnome2/epiphany/mozilla/epiphany/Cache/2E0B4959d01 ** Message: Launching: /usr/libexec/totem-mozilla-viewer --xid 8390859 --width 400 --height 300 --url http://mediaframe.yahoo.com/buildlist.asp?p=movies&f=1808705526&type=m&a=0,15&t=Tenacious+D+in%3A+The+Pick+of+Destiny&id=1482471-172590&m=wmv&r=1000&l=SAV&ext=1 --mimetype video/x-msvideo --playlist file:///home/filip/.gnome2/epiphany/mozilla/epiphany/Cache/2E0B4959d01 ** Message: waiting for signal org.totem_15405.MozillaPluginService ** Message: Received notification for :1.115 ** Message: Received notification for :1.115 ** Message: Received notification for org.totem_15405.MozillaPluginService ** Message: Received notification for org.totem_15405.MozillaPluginService ** Message: Done forking, new proxy=0x898cb28 ** Message: plugin_destroy_stream, reason: 0 Entity: line 7: parser error : EntityRef: expecting ';' entBind="no" href="http://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment ^ Entity: line 7: parser error : EntityRef: expecting ';' no" href="http://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s ^ Entity: line 7: parser error : EntityRef: expecting ';' ://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s=1808705526&ru ^ Entity: line 7: parser error : EntityRef: expecting ';' laylist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s=1808705526&ru=y&b ^ Entity: line 7: parser error : EntityRef: expecting ';' ist.dll?id=1482471&segment=172590&s=1808705526&ru=y&b=1f8aa0l2hdnbe4516de10&type ^ Entity: line 7: parser error : EntityRef: expecting ';' l?id=1482471&segment=172590&s=1808705526&ru=y&b=1f8aa0l2hdnbe4516de10&type=m&ext ^ Entity: line 7: parser error : EntityRef: expecting ';' entBind="no" href="http://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment ^ Entity: line 7: parser error : EntityRef: expecting ';' no" href="http://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s ^ Entity: line 7: parser error : EntityRef: expecting ';' ://playlist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s=1808705526&ru ^ Entity: line 7: parser error : EntityRef: expecting ';' laylist.yahoo.com/makeplaylist.dll?id=1482471&segment=172590&s=1808705526&ru=y&b ^ Entity: line 7: parser error : EntityRef: expecting ';' ist.dll?id=1482471&segment=172590&s=1808705526&ru=y&b=1f8aa0l2hdnbe4516de10&type ^ Entity: line 7: parser error : EntityRef: expecting ';' l?id=1482471&segment=172590&s=1808705526&ru=y&b=1f8aa0l2hdnbe4516de10&type=m&ext ^ Entity: line 7: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x32 0x30 <Copyright>� 2006, all rights reserved.</Copyright> ^ Entity: line 8: parser error : EntityRef: expecting ';' st.a2s.yahoo.com/st1201r01/001/yahoomovies/5/28460222.wmv?StreamID=28460222&pl_b ^ Entity: line 8: parser error : EntityRef: expecting ';' s/5/28460222.wmv?StreamID=28460222&pl_b=00CEBE2C2D543754214E3F65664516DE12&CG_ID ^ Entity: line 7: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xA9 0x20 0x32 0x30 <Copyright>� 2006, all rights reserved.</Copyright> ^ Entity: line 8: parser error : EntityRef: expecting ';' st.a2s.yahoo.com/st1201r01/001/yahoomovies/5/28460222.wmv?StreamID=28460222&pl_b ^ Entity: line 8: parser error : EntityRef: expecting ';' s/5/28460222.wmv?StreamID=28460222&pl_b=00CEBE2C2D543754214E3F65664516DE12&CG_ID ^ added URI 'mms://a2swmod099.bcst.a2s.yahoo.com/st1201r01/001/yahoomovies/5/28460222.wmv?StreamID=28460222=00CEBE2C2D543754214E3F65664516DE12=1482471=172590=1808705526=y=1f8aa0l2hdnbe4516de10=m=1' with title 'empty' genre '(null)' ** Message: totem_embedded_open 'mms://a2swmod099.bcst.a2s.yahoo.com/st1201r01/001/yahoomovies/5/28460222.wmv?StreamID=28460222=00CEBE2C2D543754214E3F65664516DE12=1482471=172590=1808705526=y=1f8aa0l2hdnbe4516de10=m=1' Could not read packet header: Success ** Message: error: Kunde inte öppna platsen; Du kanske inte har rättighet att öppna filen. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information: totem-CVS on Ubuntu Edgy Eft with gst-pitfdll.
GStreamer or xine-lib backend?
Gstreamer
It's a duplicate of another one, can't put my hands on it right now though.
$ GST_DEBUG=*:2 gst-launch-0.10 playbin uri="mms://wmcontent35.bcst.yahoo.com/pub06root4/Pub06Share16/yahoomovies/5/28460222.wmv?StreamID=28460222&b=0000078b1e4474517b3db&s=1808705526&Segment=172590&CG_ID=1482471" Setting pipeline to PAUSED ... Could not read packet header: Success 0:00:02.308483000 8314 0x8051a18 WARN mmssrc gstmms.c:317:gst_mms_start:<source> error: Could not connect to this stream 0:00:02.308770000 8314 0x8051a18 WARN GST_PADS gstpad.c:671:gst_pad_set_active: Failed to activate pad source:src ERROR: Pipeline doesn't want to pause. ERROR: from element /playbin0/source: Could not connect to this stream Additional debug info: gstmms.c(317): gst_mms_start (): /playbin0/source => GStreamer
libmms gives an error, no special reason.
Seems like the yahoo server simply closes the connection for some reason. FWIW, mplayer plays it. mmst_valid_proto try to connect to a2swmod099.bcst.a2s.yahoo.com on port 1755 connected send command 0x01 ---------------------------------------------- send command 0x01, 204 bytes start sequence 00000001 command id b00bface length f0 protocol 20534d4d len8 1e sequence # 00000000 len8 (II) 1c dir | comm 00030001 prefix1 00000000 prefix2 0004000b 1c 00 03 00 N 00 S 00 P 00 l 00 a 00 y 00 e 00 r 00 / 00 7 00 . 00 0 00 . 00 0 00 . 00 1 00 9 00 5 00 6 00 ; 00 00 { 00 B 00 E 00 9 00 C 00 2 00 9 00 5 00 A 00 - 00 B 00 5 00 F 00 7 00 - 00 9 00 B 00 E 00 4 00 - 00 B 00 B 00 5 00 E 00 - 00 A 00 6 00 6 00 5 00 E 00 1 00 D 00 9 00 0 00 7 00 6 00 2 00 } 00 ; 00 00 H 00 o 00 s 00 t 00 : 00 00 a 00 2 00 s 00 w 00 m 00 o 00 d 00 0 00 9 00 9 00 . 00 b 00 c 00 s 00 t 00 . 00 a 00 2 00 s 00 . 00 y 00 a 00 h 00 o 00 o 00 . 00 c 00 o 00 m 00 00 00 00 00 00 00 00 00 ---------------------------------------------- ret len == 8 num == 8 ret len == 4 num == 4 mms command packet_len: 132 bytes ret len == 132 num == 132 ---------------------------------------------- receive command 0x01, 132 bytes start sequence 31000001 command id b00bface length 80 protocol 20534d4d len8 10 sequence # 00000000 len8 (II) e dir | comm 00040001 prefix1 00000000 prefix2 00000000 0b 00 04 00 1c 00 03 00 00 00 00 00 00 00 f0 ? 01 00 00 00 01 00 00 00 00 80 00 00 80 96 98 00 0d 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 9 00 . 00 0 00 1 00 . 00 0 00 1 00 . 00 3 00 8 00 1 00 4 00 00 00 N 00 T 00 L 00 M 00 00 00 6;ByteRate=3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ---------------------------------------------- command = 0x 1 send command 0x02 ---------------------------------------------- send command 0x02, 64 bytes start sequence 00000001 command id b00bface length 60 protocol 20534d4d len8 c sequence # 00000001 len8 (II) a dir | comm 00030002 prefix1 00000000 prefix2 00000000 00 00 00 00 00 00 00 00 02 00 00 00 \ 00 \ 00 1 00 9 00 2 00 . 00 1 00 6 00 8 00 . 00 0 00 . 00 1 00 2 00 9 00 \ 00 T 00 C 00 P 00 \ 00 1 00 0 00 3 00 7 00 00 00 0 00 ---------------------------------------------- ret len == 8 num == 8 ret len == 4 num == 4 mms command packet_len: 84 bytes ret len == 84 num == 84 ---------------------------------------------- receive command 0x02, 84 bytes start sequence 31000001 command id b00bface length 50 protocol 20534d4d len8 a sequence # 00000001 len8 (II) 8 dir | comm 00040002 prefix1 00000000 prefix2 00000000 0b 00 04 00 F 00 u 00 n 00 n 00 e 00 l 00 00 O 00 f 00 00 T 00 h 00 e 00 00 G 00 o 00 d 00 s 00 00 00 00 00 05 00 00 00 9 00 . 00 0 00 1 00 . 00 0 00 1 00 . 00 3 00 8 00 1 00 4 00 00 00 N 00 T 00 L 00 M 00 00 00 ---------------------------------------------- command = 0x 2 send command 0x05 ---------------------------------------------- send command 0x05, 94 bytes start sequence 00000001 command id b00bface length 80 protocol 20534d4d len8 10 sequence # 00000002 len8 (II) e dir | comm 00030005 prefix1 00000001 prefix2 ffffffff 00 00 00 00 00 00 00 00 / 00 s 00 t 00 1 00 2 00 0 00 1 00 r 00 0 00 1 00 / 00 0 00 0 00 1 00 / 00 y 00 a 00 h 00 o 00 o 00 m 00 o 00 v 00 i 00 e 00 s 00 / 00 5 00 / 00 2 00 8 00 4 00 6 00 0 00 2 00 2 00 2 00 . 00 w 00 m 00 v 00 00 00 E 00 ---------------------------------------------- ret len == 8 num == 8 ret len == 4 num == 4 mms command packet_len: 140 bytes ret len == 140 num == 140 ---------------------------------------------- receive command 0x06, 140 bytes start sequence 4c000001 command id b00bface length 88 protocol 20534d4d len8 11 sequence # 00000002 len8 (II) f dir | comm 00040006 prefix1 80070005 prefix2 00000001 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ---------------------------------------------- command = 0x 6 live: live_flag=0, xx=0, yy=0 send command 0x15 ---------------------------------------------- send command 0x15, 40 bytes start sequence 00000001 command id b00bface length 48 protocol 20534d4d len8 9 sequence # 00000003 len8 (II) 7 dir | comm 00030015 prefix1 00000001 prefix2 00000000 00 00 00 00 00 00 80 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ac @ 02 00 00 00 00 00 00 00 ---------------------------------------------- ret len == 8 num == 8 ret len == 4 num == 4 mms command packet_len: 44 bytes ret len == 44 num == 44 ---------------------------------------------- receive command 0x11, 44 bytes start sequence 33000001 command id b00bface length 28 protocol 20534d4d len8 5 sequence # 00000003 len8 (II) 3 dir | comm 00040011 prefix1 00000000 prefix2 00000002 00 00 00 00 1c 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ---------------------------------------------- command = 0x11 ret len == 0 num == 8 read error, len=0 Could not read packet header: Success ***LOG:*** -- libmms: failed to read mms packet header
Hi, I've been working on mms support in gstreamer lately, see: bug 469930. http://movies.yahoo.com/mv/mf/frame?theme=minfo&lid=wmv-56-p.1482467-172590,wmv-100-p.1482468-172590,wmv-300-p.1482469-172590,wmv-700-p.1482470-172590,wmv-1000-p.1482471-172590,wmv-28-p.1482467-172590&id=1808705526&f=1808705526&mspid=1809765847&type=m&a=0,15 Works fine for me using the just released libmms-0.4, see: http://sourceforge.net/projects/libmms I think that updating your libmms to 0.4 might do the trick. Note I also have all other related packages at there latest version: totem-2.20.1 (+ browser plugin) gstreamer-0.10.15 gstreamer-plugins-base-0.10.15 gstreamer-ffmpeg-0.10.3 gstreamer-plugins-ugly-0.10.6 gstreamer-plugins-bad-0.10.5 With the last 2 compiled with my mms seeking patches from bug 469930, but I don't believe those are of any influence here. Anyways since this works now I guess this bug can be closed now.
Let's wait until those patches make their way into repos to close this bug, so that Filip can test it.
Works fine for me with latset libmms... if someone can still reproduce it please reopen :)