Tue 30 Sep 2008 10:43:32 PM UTC, comment #16:
gst backedn won't use custom downloaders anymore
|
Sun 20 Apr 2008 04:13:32 PM UTC, comment #15:
Great, thank you for investigating. For Gnash, we might want to warn the user if their gnomevfs installation happens to be the buggy one.
|
Sun 20 Apr 2008 03:41:05 PM UTC, comment #14:
finally, the solution is known.
http://svn.gnome.org/viewvc/gnome-vfs/trunk/modules/http-neon-method.c?r1=5465&r2=5464&pathrev=5465
for anyone facing this gnome-vfs-2.22.0 bug, you need to upgrade to the -svn version, or at least apply the patch from the above link.
so, this is a gnome-vfs-2.22.0 bug, and it's fixed in gnome-vfs-svn
|
Sun 20 Apr 2008 02:17:53 PM UTC, comment #13:
On a second thought, I wonder if this issue applies to anything except Ubuntu.
|
Sun 20 Apr 2008 02:17:04 PM UTC, comment #12:
We already knew that GnomeVFS was to blame. But "upgrade to Hardy" won't help much, especially if you don't use Ubuntu. So it would be nice to know how this was fixed in GnomeVFS.
|
Sun 20 Apr 2008 01:38:39 PM UTC, comment #11:
I found something interesting from ubuntu,
https://bugs.launchpad.net/ubuntu/+source/totem/+bug/197669
"the issue was due to gnome-vfs changes and has been fixed in hardy now"
|
Sun 20 Apr 2008 12:50:44 PM UTC, comment #10:
indeed, for GST_DEBUG=3, the only difference is still:
WARN gnomevfssrc gstgnomevfssrc.c:841:gst_gnome_vfs_src_start:<gnash_uridownloader> error: Could not open vfs file "http://www.youtube.com/get_video?video_id=uinQhrKDAkU&t=OEgsToPDskJfnQ9rL2Ds6BS1VVaCUoFF" for reading: Access denied (16)
|
Sun 20 Apr 2008 12:33:04 PM UTC, comment #9:
the previous pastebin is from gstreamer failure.
now, using GST_DEBUG=3, a successful movie playback:
http://pastebin.com/m66ca934d
|
Sun 20 Apr 2008 12:26:46 PM UTC, comment #8:
for GST_DEBUG=3
the output is at
http://pastebin.com/m30da9242
|
Sun 20 Apr 2008 12:20:00 PM UTC, comment #7:
good. I use GST_DEBUG=2
when it fails, I got:
0:00:00.578306112 10996 0x103d330 WARN gnomevfssrc gstgnomevfssrc.c:841:gst_gnome_vfs_src_start:<gnash_uridownloader> error: Could not open vfs file "http://www.youtube.com/get_video?video_id=uinQhrKDAkU&t=OEgsToPDskIawhR5N_gqV8d6Sv1a8fqW" for reading: Access denied (16)
0:00:00.578602029 10996 0x103d330 WARN basesrc gstbasesrc.c:2546:gst_base_src_activate_push:<gnash_uridownloader> Failed to start in push mode
0:00:00.578692893 10996 0x103d330 WARN GST_PADS gstpad.c:684:gst_pad_set_active:<gnash_uridownloader:src> Failed to activate pad
0:00:00.708352738 10996 0x103d330 WARN gnomevfssrc gstgnomevfssrc.c:841:gst_gnome_vfs_src_start:<gnash_uridownloader> error: Could not open vfs file "http://www.youtube.com/get_video?video_id=uinQhrKDAkU&t=OEgsToPDskIawhR5N_gqV8d6Sv1a8fqW" for reading: Generic error (2)
0:00:00.708499404 10996 0x103d330 WARN basesrc gstbasesrc.c:2546:gst_base_src_activate_push:<gnash_uridownloader> Failed to start in push mode
0:00:00.708532230 10996 0x103d330 WARN GST_PADS gstpad.c:684:gst_pad_set_active:<gnash_uridownloader:src> Failed to activate pad
0:00:00.902461137 10996 0x103d330 WARN gnomevfssrc gstgnomevfssrc.c:841:gst_gnome_vfs_src_start:<gnash_uridownloader> error: Could not open vfs file "http://www.youtube.com/get_video?video_id=uinQhrKDAkU&t=OEgsToPDskIawhR5N_gqV8d6Sv1a8fqW" for reading: Access denied (16)
0:00:00.902605150 10996 0x103d330 WARN basesrc gstbasesrc.c:2546:gst_base_src_activate_push:<gnash_uridownloader> Failed to start in push mode
0:00:00.902637975 10996 0x103d330 WARN GST_PADS gstpad.c:684:gst_pad_set_active:<gnash_uridownloader:src> Failed to activate pad
|
Sun 20 Apr 2008 12:02:02 PM UTC, comment #6:
Gnash will print the URL. You can make Gstreamer more verbose by setting the GST_DEBUG environment variable, e.g. GST_DEBUG=5.
|
Sun 20 Apr 2008 11:21:52 AM UTC, comment #5:
I don't know how to get the url or what to feed it to.
I want to know how to make gstreamer more verbose.
|
Sun 20 Apr 2008 11:12:30 AM UTC, comment #4:
I'm sorry, but I don't have a real solution to the "module gnash_uridownloader reported: Could not open resource". It only happens to some people and it seems to be unrelated to the Gstreamer version. But when it happens for those people, it happens reliably. If your uridownloader is actually gnomevfs (which it presumably is), try feeding the URL that Gnash sends uridownloader just before it gives an error and you'll see that it won't work.
I don't know what to do about this except to suggest that you try a different HTTP capable Gstreamer plugin. However, if you'd like to try debugging the issue, I'd be thrilled.
|
Sun 20 Apr 2008 08:46:25 AM UTC, comment #3:
It helps to check the difference between broken and fine movies for me.
A movie plays smoothly here: http://www.youtube.com/watch?v=3gquVruoKEQ (good)
A movie hits the gstreamer bug:
http://www.youtube.com/watch?v=uinQhrKDAkU (bad)
I chose those two movies, because they are from the same author within the same serial, so probably the difference is small.
|
Fri 11 Apr 2008 07:38:23 AM UTC, comment #2:
Please ignore the sh: error. it's there because I still don't know how to make a simple testing script to start gnash -v:
#!/bin/bash
var=$(wget --quiet -O - "$1" | grep -F watch_fullscreen | cut -d \? -f 2 | cut -d \" -f1)
echo "var=${var}"
gnash -v -U http://www.youtube.com -P "flashvars=${var}" http://www.youtube.com/player2.swf
The error is there whether gnash plays or not. the real error stops gnash is "module gnash_uridownloader reported: Could not open resource"
|
Fri 11 Apr 2008 06:19:11 AM UTC, comment #1:
> sh: -c: line 0: syntax error near unexpected token `)'
> sh: -c: line 0: `firefox -remote 'openurl(http://www.youtube.com/javascript:checkCurrentVideo\(\'HFMwGrAD80I\'\)\;)''
The above means you're not running an up-to-date plugin.
The new plugin (I belive from 0.8.2 should be fine)
would invoke gnash with the -F option to specify a filedescriptor
to send GETURL requests to. WHen -F is not given, the urlopener
format is used (which is your case above).
With -F the plugin would handle GETURL requests, that would
honour javascript requests.
So, please make sure you did install the new plugin,
it takes an additional step (make install-plugins).
Also, make sure the new plugin is loaded and not the old.
|
Fri 11 Apr 2008 01:26:20 AM UTC, original submission:
it happens to quite many youtube video for me. the movie never opens, only "Replay" button shown.
$ gtk-gnash --version
RcInitFile: parsing /home/dli/.gnashrc
Gnash cvs
Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Gnash comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of Gnash under the terms of the GNU General
Public License. For more information, see the file named COPYING.
Build options cvs
Target:
Renderer: agg - GUI: GTK - Media handler: gst
Configured with: --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-cygnal --enable-ghelp --enable-kparts --enable-nsapi --disable-i810-lod-bias --enable-mit-shm --enable-gui=gtk,kde --with-npapi-plugindir=/opt/netscape/plugins --with-kde-pluginprefix=/usr --with-kde-plugindir=/usr/kde/3.5/lib64 --with-kde-incl=/usr/kde/3.5/include --with-kde-lib=/usr/kde/3.5/lib64 --with-kde-appsdatadir=/usr/kde/3.5/share/apps/klash --with-kde-servicesdir=/usr/kde/3.5/share/services --with-qt-lib=/usr/qt/3/lib64 --with-qt-incl=/usr/qt/3/include --enable-renderer=agg --enable-media=gst --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
CXXFLAGS: -O3 -march=nocona -fomit-frame-pointer -fexpensive-optimizations -pipe -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -fvisibility-inlines-hidden
Built against gstreamer version: 0.10.19
media-plugins/gst-plugins-ffmpeg-0.10.2
-------------------------------------------------------------------
+ url='http://youtube.com/watch?v=HFMwGrAD80I'
++ wget --quiet -O - 'http://youtube.com/watch?v=HFMwGrAD80I'
++ grep -F watch_fullscreen
++ cut -d '?' -f 2
++ cut -d '"' -f1
+ var='fs=1&BASE_YT_URL=http%3A%2F%2Fyoutube.com%2F&vq=None&video_id=HFMwGrAD80I&l=239&sk=mRmaECdp9vSPF6Es6ZjDJAC&fmt_map=&t=OEgsToPDskLecVivm1CVgYcQQ1fwGxGc&hl=en&plid=AARKjivs71QLTQnxAAAAoAAYAAA&title=china protest against tibet'\'';'
+ echo 'var=fs=1&BASE_YT_URL=http%3A%2F%2Fyoutube.com%2F&vq=None&video_id=HFMwGrAD80I&l=239&sk=mRmaECdp9vSPF6Es6ZjDJAC&fmt_map=&t=OEgsToPDskLecVivm1CVgYcQQ1fwGxGc&hl=en&plid=AARKjivs71QLTQnxAAAAoAAYAAA&title=china protest against tibet'\'';'
var=fs=1&BASE_YT_URL=http%3A%2F%2Fyoutube.com%2F&vq=None&video_id=HFMwGrAD80I&l=239&sk=mRmaECdp9vSPF6Es6ZjDJAC&fmt_map=&t=OEgsToPDskLecVivm1CVgYcQQ1fwGxGc&hl=en&plid=AARKjivs71QLTQnxAAAAoAAYAAA&title=china protest against tibet';
+ gnash -v -U http://www.youtube.com -P 'flashvars=fs=1&BASE_YT_URL=http%3A%2F%2Fyoutube.com%2F&vq=None&video_id=HFMwGrAD80I&l=239&sk=mRmaECdp9vSPF6Es6ZjDJAC&fmt_map=&t=OEgsToPDskLecVivm1CVgYcQQ1fwGxGc&hl=en&plid=AARKjivs71QLTQnxAAAAoAAYAAA&title=china protest against tibet'\'';' http://www.youtube.com/player2.swf
RcInitFile: parsing /home/dli/.gnashrc
46926687491984] 19:35:18 SECURITY: Load from host http://www.youtube.com granted (default).
46926687491984] 19:35:18 SECURITY: Opening SharedObject file: /tmp//soundData.sol
46926687491984] 19:35:18 SECURITY: empty or non-existing SOL file "/tmp//soundData.sol", will be created on flush/exit
46926687491984] 19:35:18 UNIMPLEMENTED: MovieClip.attachAudio()
46926687491984] 19:35:18 SECURITY: Opening SharedObject file: /tmp//videostats.sol
46926687491984] 19:35:19 SECURITY: Load from host http://www.youtube.com granted (default).
46926687491984] 19:35:19 SECURITY: Load from host http://www.youtube.com granted (default).
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `firefox -remote 'openurl(http://www.youtube.com/javascript:checkCurrentVideo\(\'HFMwGrAD80I\'\)\;)''
Got state-changed message
Got state-changed message
Got state-changed message
Got state-changed message
Got state-changed message
Got state-changed message
Got state-changed message
Got state-changed message
Got error message
46926687491984] 19:35:19 ERROR: NetStream playback halted; module gnash_uridownloader reported: Could not open resource for reading.
46926687491984] 19:35:19 SECURITY: Load from host http://www.youtube.com granted (default).
46926687491984] 19:35:19 SECURITY: Loading XML file from url: 'http://www.youtube.com/set_awesome?w=0&m=&video_id=HFMwGrAD80I&t=OEgsToPDskLecVivm1CVgYcQQ1fwGxGc&l=239'
|