Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO: mplayer and mozilla-mplayer plug-in from sid/unstable

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
thamarok

HOWTO: mplayer and mozilla-mplayer plug-in from sid/unstable

#1 Post by thamarok »

Hello!

I installed mplayer from sid and wanted the mplayer plug-in for mozilla (it works also on konqueror and firefox).. But the problem was that mplayer in sid had another version than what the dependency for mozilla-mplayer was and so the installation failed.
I found a workaround and it works perfectly.

A little description of mplayer and mozilla-mplayer:
mplayer is a very good and stable media player for linux which supports many formats that some linux players don't have the ability to play. In my opinion this is the best media player for linux and it is also skinnable to suit your taste and flavor. Homepage: www.mplayerhq.hu

mozilla-mplayer is a plug-in for linux browsers (mozilla, firefox, konqueror) that allows the browser to use mplayer for streaming media. Many webpages use streaming media and I have found mozilla-mplayer to be the best solution to enjoy the videos on these websites.
Follow these instructions to install mplayer and mozilla-mplayer:
Firstly, add sid to your /etc/apt/sources.list if you haven't already:
Open your favorite text editor and open /etc/apt/sources.list (you have to be root)
Then add this line somewhere in the file:
deb http://ftp.fi.debian.org/debian/ sid main non-free contrib

Close and save the file and open up a terminal and be root,
Now, do a apt-get update
Then install mplayer: apt-get install mplayer
After the installation finished, you can close the terminal and/or root session.
Now you can play a little with mplayer, but to install mozilla-mplayer (the plug-in) you have to do this:
Open up a terminal and be root,
Firstly, let's install all the dependencies that mozilla-mplayer requires:
apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libgcc1 libglib2.0-0 libgtk2.0-0 libice6 libpango1.0-0 libsm6 libstdc++6 libx11-6 libxcursor1 libxext6 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1 libxt6

Now, download the mozilla-mplayer deb from any mirror:
http://packages.debian.org/unstable/mis ... la-mplayer
(Scroll down the page and select your architecture and then select a mirror to start the download.)

Now extract the deb archive with dpkg -x /path/to/deb /
Note the / after the path to the deb file!
(/path/to/deb is the path to the mozilla-mplayer deb file which was downloaded)
Now you can close the terminal and/or root session.
Now you're ready!
Restart your browser and if you are using mozilla or firefox, go to about:plugins to see what plugins are installed.
You will get support for RealAudio and RealVideo, Window$ Media Audio/Video, QuickTime and MPEG/AVI files. :D
It was pleasant to write this howto. Any feedback, comments are welcome.
Thanks!

Post Reply