LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Linux Answers > Applications / GUI / Multimedia
User Name
Password

Notices

By j.todd at 2008-10-25 13:48
This is my guide on installing gnash on Debian testing (i386). I'm assuming you know how to use aptitude, basic busybox tools, and how to trouble shoot in case something here doesn't work. I am not liable for any damage caused by following this guide. In blocks of code, # means root, and $ means normal user.

Note: I do not use gnash to play .swf videos on my desktop, I use it purely for watching youtube, Google video, etc flash movies, hence why I'm not going to talk about using gnash on the desktop. There's plenty of guides for that.

First, install gnash (without recommands). You need gnash, gnash-common, gnash-cygnal, gnash-tools. If you're using KDE, you also need klash and konqueror-plugin-gnash. I don't know how to set the KDE plugins up, so Google> around to find how to set them up.

This installs gnash without recommends (you don't need all of them, that's why I didn't; and don't, install recommends). This is gnash with AGG (antigrain) rendering, if you want to use OpenGL for rendering, install gnash-common-opengl also.

Now, install gstreamer0.10-alsa, gstreamer0.10-ffmpeg, gstreamer0.10-fluendo-mp3, gstreamer0.10-gnomevfs, gstreamer0.10-plugins-base, and gstreamer0.10-plugins-good. These are codecs that are needed to play flash videos.

Now, on my system, mozilla-plugin-gnash didn't put the gnash plugins in my iceweasel directory, which is why I didn't suggest you install it. I'm going to show you how to get gnash to work by copying the files to the right directories.

Use su to obtain root access and cd to /usr/lib. Now, go to the gnash directory. Once in the gnash directory, type ls and make sure that libgnashamf-0.8.3.so, libgnashbase.so, libgnashnet.so, libgnashserver-0.8.3.so, libgnashamf.so, libgnashmedia-0.8.3.so, libgnashnet.so.0, libgnashserver.so, libgnashbase-0.8.3.so, libgnashmedia.so, libgnashplugin.so, and libgnashnet.so.0.0.0 are all there. If not, then something went wrong during installation, purge and reinstall. Now, copy libgnashplugin.so to iceweasel/plugins.

Now, startup iceweasel and go to Tools>Addons>Plugins and turn on Shockwave Flash 9.0 r999 (this is the gnash version). If you have any other flash plugins there, disable them. Now go to youtube or where-ever and test it out. If everything went as planned, you should be able to watch flash videos. If not, please post here and I will try to help you and figure out what's wrong.

This is what you need to type into the command line to get gnash working.

Code:
$ su
Password:
# aptitude -R install gnash gnash-common gnash-common gnash-cygnal gnash-tools
# aptitude install gstreamer0.10-alsa gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnomevfs gstreamer0.10-plugins-base gstreamer0.10-plugins-good
# cd /usr/lib/gnash
# cp libgnashplugin.so ../iceweasel/plugins
# exit
$


  



All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration