Tim Retout's www presence

Sat, 17 Jul 2010

Gnash

Adobe aren't supporting their flash player on amd64 right now. The cognitive dissonance gets a little draining, anyway, and I've seen the hoops I'd have to jump through to get the 32-bit version running. So I'm going to try tracking gnash trunk for a while.

First impressions: gnash seems easier to build than it used to be (or maybe I just read the instructions this time). I chose the AGG graphics backend, with gstreamer and gtk. I also chose to install the browser plugins system-wide. The bzr repository ships copies of the necessary Mozilla libraries, which I'd usually frown upon as a packager, but it did mean I didn't have to worry about them.

So the whole process looked like:

bzr branch http://bzr.savannah.gnu.org/r/gnash/trunk
cd trunk
./autogen.sh
./configure --enable-renderer=agg \
            --enable-media=GST \
            --enable-gui=gtk \
            --with-plugins-install=system
make
sudo make install
sudo make install-plugins

The README file was very helpful, as was the configure script output.

So, off to youtube... "An error has occurred, please try again later." Hmpf. Off to read the mailing list... there was a problem discussed a while ago about cookies that YouTube has started sending. I checked the patch discussed at the time, and a version of it seems to be in trunk, but the symptoms are still happening for me. But... disable all cookies in the browser, and it starts working. (There's a chance that libcurl might not be configured properly.) I'll have to report the problem or track it down further, but for now, I'm sitting back and declaring success.

Co-incidentally, the video was discussing another cookie problem. ("Put pinky down. Down pinky. Good.")

Posted: 17 Jul 2010 19:39 | Tags: | Comments (5)

Comments

Posted by Josh Triplett at Sat Jul 17 20:14:45 2010
I tend to just use youtube-dl rather than some free Flash plugin, for exactly this kind of reason.

Posted by foo at Sun Jul 18 02:11:00 2010
The version of gnash in Debian on amd64 works fine for youtube. Alternatively use a webkit based browser since they use the HTML5 video.

Posted by Minaya at Sun Jul 18 09:45:03 2010
Well, if you use iceweasel you can always use CookieSafe extension in order to block youtube cookies :)

Posted by VelvetElvis at Mon Jul 19 20:14:25 2010
I just googled around until I found a copy of the adobe 64 bit flash binary still on the web somewhere and plopped it in /usr/local/lib/firefox/. It seems like the least crahy option.  I make judicious use of flashblock to minimize the opportunities for the buggy applet to be exploited.

Posted by PeterY at Tue Jul 20 17:37:57 2010
Also, sign up to youtube's HTML5 beta, if you've not already.  http://www.youtube.com/html5  Then, as foo says, you can watch Flash-free.

Name:


E-mail:


URL:


Comment:


Anti-spam question: What is the colour of both (hydrated) copper sulphate and (anhydrous) cobalt chloride?

< July 2010 >
SuMoTuWeThFrSa
     1 2 3
4 5 6 7 8 910
11121314151617
18192021222324
25262728293031

Contact

Tim Retout tim@retout.co.uk
JabberID: tim@retout.co.uk

List of non-fail

Copyright © 2007, 2008, 2009 Tim Retout