Talk:Gnash: Difference between revisions
m (→Sound in Gnash: subsection for gstreamer-plugins-ugly) |
(updated url for rpm to point at Fedora 11 version) |
||
Line 12: | Line 12: | ||
You can use http://rpm.pbone.net/ to locate the RPM package for the i586 architecture, copy its download URL, then in Terminal use <tt>rpm -Uvh ''URL_of_gstreamer-plugins-ugly_package''.rpm</tt>, but this will fail with many unmet dependencies. |
You can use http://rpm.pbone.net/ to locate the RPM package for the i586 architecture, copy its download URL, then in Terminal use <tt>rpm -Uvh ''URL_of_gstreamer-plugins-ugly_package''.rpm</tt>, but this will fail with many unmet dependencies. |
||
Instead use yum. You have to tell it about the repository for this software. In a Terminal, |
Instead use yum. You have to tell it about the repository for this software. In a Terminal, |
||
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release- |
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/releases/11/Everything/i386/os/rpmfusion-free-release-11-1.noarch.rpm |
||
sudo yum install gstreamer-plugins-ugly |
sudo yum install gstreamer-plugins-ugly |
||
yum requires a lot of disk space and memory, so Stop other activities and see the [[yum]] page. It will probably still crash an XO-1 (<trac>10285</trac>) unless you [[swap]] to an SD card or USB flash drive. |
yum requires a lot of disk space and memory, so Stop other activities and see the [[yum]] page. It will probably still crash an XO-1 (<trac>10285</trac>) unless you [[swap]] to an SD card or USB flash drive. |
Revision as of 03:34, 4 February 2011
Sound in Gnash
It seems possible to get this working, we just need a recipe. -- Skierpage 00:35, 12 October 2008 (UTC)
Seth commented in e-mail:
- The way that I undertand it, OLPC's gstreamer is fairly custom, so the standard build of -ugly would have to be rebuilt for the XO.
- I suggest the Livna repo, mplayer and its assorted faad &etc plugins instead. Mplayer, mpd and wymypy as a sterieo-on-xo controlled over webbrowser works really well.
- Ian Daniher and I have a script that installs all of that (livna, mplayer etc), configure mpd, build a library, launch wymypy.py and even print your ip addr so you know what to connect to.
- I got sound to play in 8.1.2 after installing the Fluendo mp3 decoder -- skierpage 12:02, 27 February 2009 (UTC)
Adding gstreamer-plugins-ugly
Another recommendation for 10.1.2 is to install the gstreamer-plugins-ugly package, which includes MP3 support and other restricted codecs. You can use http://rpm.pbone.net/ to locate the RPM package for the i586 architecture, copy its download URL, then in Terminal use rpm -Uvh URL_of_gstreamer-plugins-ugly_package.rpm, but this will fail with many unmet dependencies. Instead use yum. You have to tell it about the repository for this software. In a Terminal,
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/releases/11/Everything/i386/os/rpmfusion-free-release-11-1.noarch.rpm sudo yum install gstreamer-plugins-ugly
yum requires a lot of disk space and memory, so Stop other activities and see the yum page. It will probably still crash an XO-1 (<trac>10285</trac>) unless you swap to an SD card or USB flash drive.
wiki edit
I removed this section from the wiki: "For example, a developer might choose an open codec such as Vorbis or Theora. Streaming these format in full screen would be as simple as a five line Gnash script." because Adobe Flash does not support the Ogg Vorbis or Ogg Theora codecs in the first place so should you succeed in creating an SWF with Ogg Vorbis audio, it wouldn't be a proper .SWF -- you'd just be creating a Flash SWF incompatible file. -Object404 14:09, 29 September 2008 (UTC)
Uninstalling Gnash
Does anyone know how uninstall Gnash? I was able to install Adobe Flash, but the gnash player loads on the same page of the browser as well.
- this is a sign of not installing the Adobe version properly. You don't need to do anything to Gnash itself. --Sj talk
I am in the same boat - I got Adobe to install easily enought, but the Xo still sees Gnash first. How to resolve? PF
- I am having the same problem. I type all the commands, but it says access denied or file not found.
- see above, and see the FAQ about this (also answered on the Adobe Flash page). --Sj talk
- After uninstalling Gnash and then installing Flash, I later wanted to switch back to Gnash for flash dev testing. After uninstalling Flash and reinstalling Gnash via yum, the Gnash plugin wouldn't run in either Browse Activity or Opera. Using build Update.1 711. -Object404 14:37, 29 September 2008 (UTC)
More Gnash/Adobe Flash cohabitation problems.
Mikus Grinbergs on the devel list pointed out: After I installed the Adobe flash player, there was an appreciable lag in the system's response to my CLI commands. Looked with 'top', and found 'gtk-gnash' was using up to 70% of my CPU cycles. Killed 'gtk-gnash' and my system is back to normal.
This was on a G1G1 laptop, and is not known if it is reproducible. CharlesMerriam 01:40, 25 March 2008 (EDT)