![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Beans: 32
|
HOWTO: mplayerplug-in 2.85 for Hoary
As you might know mplayerplug-in is a handy Mozilla/Firefox plugin for streaming media contents on webpages. Currently Hoary has the quite aged version 2.70 of this plugin. Since that version things have changed significantly - now mplayerplug-in is one of the best option for viewing streaming video on web pages under Linux.
Here is how to compile it under Hoary: NOTE: I have enabled the following repositories (see ubuntuguide.org on how to do it): main restricted universe multiverse hoary-backports Because I have backports enabled I am able to install mplayer and the latest Mozilla browser (Hoary's Mozilla is 1.7.6 while backports has the latest stable 1.7.8 which I use). This guide is based on Mozilla 1.7.8 - I don't know if it is working with the 1.7.6. 1. Set up mplayer & w32codecs Code:
sudo apt-get install mplayer w32codecs Code:
wget http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-2.85.tar.gz Code:
tar -xvzf mplayerplug-in-2.85.tar.gz Code:
sudo apt-get install mozilla-dev libxpm-dev libgtk2.0-dev Code:
wget http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.8/gecko-sdk-i686-pc-linux-gnu-1.7.8.tar.gz Code:
tar -xvzf gecko-sdk-i686-pc-linux-gnu-1.7.8.tar.gz Code:
cd mplayerplug-in ./configure --with-gecko-sdk=../gecko-sdk make Code:
sudo cp mplayerplug-in.so /usr/lib/mozilla-firefox/plugins sudo cp mplayerplug-in.xpt /usr/lib/mozilla-firefox/components sudo cp mplayerplug-in.types /etc sudo cp mplayerplug-in.conf /etc Code:
sudo gedit /etc/mplayerplug-in.conf Code:
#debug=0 #logfile=$HOME/mpp.log vo=xv,x11 ao=esd,oss,arts #download=1 #dload-dir=$HOME/tmp #keep-download=0 #noembed=0 cachesize=1024 #use-mimetypes=0 #enable-real=0 #enable-wm=1 #enable-qt=1 #enable-mpeg=1 #enable-ogg=1 #enable-smil=1 #qt-speed=med #rtsp-use-tcp=0 #nomediacache=0 #framedrop=0 #autosync=0 #mc=1 #black-background=0 #user-agent=NSPlayer 10. Restart Firefox and there you are!!! Last edited by drigloi; August 18th, 2005 at 03:24 PM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() |
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Thx, works great!
|
|
|
|
|
|
#3 |
|
Guest
Beans: n/a
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Hi, first off, thanks for the nice howto.
Inspired by it I took a look at the available debian packages and found out that the mozilla-mplayer source package for 2.85 is available. So I figuered it would be nice to use this to install mozilla-mplayer (which is the debian name for the mplayerplug-in). So, here it goes. 1. Get the needed files Get the files you need on the debian page: http://ftp.debian.org/debian/pool/co...-in_2.85-1.dsc http://ftp.debian.org/debian/pool/co...85.orig.tar.gz http://ftp.debian.org/debian/pool/co...2.85-1.diff.gz and download them to one directory. 2. Get the needed dependencies Now get all the dependencies you need by running: Code:
sudo apt-get build-dep mozilla-mplayer Now on to the missing dependency. We are going to build mplayerplug-in with gtk2 support, as it looks nicer and will give us nice controls. To be able to do this, we'll have to install the gtk2 development files: Code:
sudo apt-get install libgtk2.0-dev Code:
sudo apt-get install fakeroot If you haven't already done it, change to the directory to which you downloaded the debian files and unpack the source with: Code:
dpkg-source -x mplayerplug-in_2.85-1.dsc Now change into the newly created mplayerplug-in-2.85 directory and edit the file debian/rules: Code:
gedit debian/rules DEB_CONFIGURE_EXTRA_FLAGS := --enable-x to DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk2 and save the file. Finally we are ready to start to build the package with: Code:
dpkg-buildpackage -rfakeroot -uc -us If everything went well you now should have a package called mozilla-mplayer_2.85-1_i386.deb in the parent directory of your current directory, that is in ../mplayerplug-in-2.85. Change to that directory (cd ..) and install the package with: sudo dpkg -i mozilla-mplayer_2.85-1_i386.deb That's it. All that's left to do is to edit /etc/mplayerplug-in.conf the way drigloi describes it and you should be good to go. Have fun! |
|
|
|
#4 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Thanks aja laa
|
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2005
Location: Toronto
Beans: 132
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
This works perfectly for me with Mozilla 1.7.8. Firefox 1.02 still crashes if I try to use the mplayer plugin however. Is there a way to make this work with Firefox - or should it already be working at this point? Thanks.
__________________
Registered Linux User: #182084 - July 2000 http://counter.li.org/ | Ubuntu Hardy Heron 8.04 |
|
|
|
|
|
#6 |
|
Guest
Beans: n/a
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
I know this doesn't really help, but for what it's worth, I also did have problems with mplayerplug-in and firefox in ubuntu, no matter what version of the plugin I'm using. It works fine with epiphany for me though.
|
|
|
|
#7 | |
|
Ubuntu French Roast
![]() Join Date: Jun 2005
Location: France
Beans: 6,211
Ubuntu 9.04 Jaunty Jackalope
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Quote:
I'm waiting for the official totem plugin or mplayer compatibility with firefox. Thanks for this very good HOW TO. |
|
|
|
|
|
|
#8 |
|
5 Cups of Ubuntu
![]() Join Date: Jun 2005
Beans: 22
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Great HOWTO, thanks! I now have very nice streaming video!
|
|
|
|
|
|
#9 | |
|
5 Cups of Ubuntu
![]() Join Date: May 2005
Beans: 32
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Quote:
But it's true that previously I experienced lockups with mplayerplug-in 2.80 and Firefox 1.0.2 while watching streaming video and pressing the browser's Back button. Is this the issue you're referring to? |
|
|
|
|
|
|
#10 | |
|
A Carafe of Ubuntu
![]() Join Date: Jun 2005
Location: Toronto
Beans: 132
|
Re: HOWTO: mplayerplug-in 2.85 for Hoary
Quote:
Now here's another odd thing: I've tried the mplayerplug-in to watch the news videos on CNN.com. Mozilla let's me play the videos, but Firefox 1.0.4 pops up "Plugin Warning" telling me I need to install Windows Media Player 9. So at this point I need a site to test Firefox 1.0.4 with the mplayerplug-in. Any suggestions for a site to try? I wonder how Mozilla beats the Microsoft Censorship and lets me play the CNN videos? Maybe it's just how the browser identifies itself. I'll have to take a look at this.
__________________
Registered Linux User: #182084 - July 2000 http://counter.li.org/ | Ubuntu Hardy Heron 8.04 |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|