If you want to get realplayer going on your Ubuntu install, and get it working in Firefox without sound issues or flickering, then this guide is for you.
Props are due to the Ubuntu forums folks and Ubuntu Guide.
The first thing you’ll have to do is get Realplayer installed on your system. There are two ways to go about this.
1. Install Automatix2 and then have it install Realplayer 10 for you.
2. Install it yourself. To do this, open Synaptic (System -> Administration -> Synaptic Package Manager) and go to Settings -> Repositories. On the Ubuntu Software tab (the first tab) make sure everything is checked off except “Source code“.
Now in Synaptic do a search for realplay and mark it to be installed. Also do a search for alsa-oss and mark that to be installed. Install the two programs (by clicking the Apply button) and we’re off to the next step.
Go to Applications -> Sound & Video -> RealPlayer 10 and then go to Tools -> Preferences -> the Hardware tab and uncheck “XVideo“.
You’ll have to edit a configuration file for realplayer. Type:
gksu gedit /usr/lib/realplay-10.0.8/realplay
Go to find in the menu and search for $REALPLAYBIN “$@”
When you find it in the code, add “aoss” in front of it so it looks like this:
aoss $REALPLAYBIN “$@”
Now you’re going to have to add an entry into Firefox’s config file. It’s easier than it sounds.
In Firefox’s address bar type:
about:config
Once there, right click in an empty space and choose New -> String.
Name the string:
network.protocol-handler.app.rtsp
In the string field (it will come up automatically after you name the string) type:
/usr/bin/X11/realplay
Now right click again and choose New -> Boolean. Enter this as the name:
network.protocol-handler.external.rtsp
Set the value to:
true
Realplayer should now be installed and work through Firefox.
Technorati Tags: realplayer, real player, linux, ubuntu, firefox, rtsp, streaming
(via rorroaguilar’s shared items in Google Reader)