Page 1 of 7 123 ... LastLast
Results 1 to 10 of 67

Thread: HOWTO: mplayerplug-in 3.11 for Hoary

  1. #1
    Join Date
    Dec 2004
    Location
    Slovenia
    Beans
    684
    Distro
    Ubuntu 7.04 Feisty Fawn

    HOWTO: mplayerplug-in 3.11 for Hoary

    How to install new version of mplayerplug-in under Hoary and Breezy

    0.0 Preinstallation
    0.0.1 Remove any of your mplayerplug-in
    If you compiled it.
    Code:
    dpkg -r mplayerplug-in
    or if you apt-get it
    Code:
    sudo apt-get remove mozilla-mplayer
    0.1 Hoary
    Make sure that you have all extra repositories in your sources.list
    Just to be surtain check if w32codecs and mplayer are installed

    0.2 Breezy

    You have to enable multiverse repositories

    0.2.1 Mplayer
    add folowing line in-to /etc/apt/sources.list
    Code:
    deb http://si.archive.ubuntu.com/ubuntu breezy multiverse
    Than install mplayer
    Code:
    sudo apt-get instal mplayer-586
    sudo apt-get install mplayer-fonts
    0.2.2 W32codecs
    Download package from marillat repositories. I know that this in not best solution but...
    Code:
    wget ftp://ftp.nerim.net/debian-marillat/pool/main/w/w32codecs/w32codecs_20050412-0.0_i386.deb
    Install them with
    Code:
     dpkg -i w32codecs_20050412-0.0_i386.deb
    0.2.3 gettext
    You need this when compiling. Make command needs msgfmt and gettext has this included
    Code:
    sudo apt-get install gettext
    1. Installation

    1.1 Grab latest mplayerplug-in source from here:
    Code:
    wget http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-3.11.tar.gz
    1.2 Untar the mplayerplug-in source
    Code:
    tar -xvzf mplayerplug-in-3.11.tar.gz
    1.3 Prepare dependencies for the build:
    Code:
    sudo apt-get install firefox-dev libxpm-dev libgtk2.0-dev build-essential checkinstall
    1.4 Grab gecko-sdk from here:
    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
    1.5 Untar gecko-sdk:
    Code:
    tar -xvzf gecko-sdk-i686-pc-linux-gnu-1.7.8.tar.gz
    1.6 Compile mplayerplug-in:
    Code:
    cd mplayerplug-in
    ./configure --with-gecko-sdk=../gecko-sdk
    make
    sudo checkinstall -D
    1.7.1 This step is my conclusion and I don't know if its tru but it includes some xpt files which you cp with 1.8 step so...

    At first prompt press enter. Than tipe YES if you want a list of files which will be included in packages. You exit with q. Than installation program asks you if you want these files included tipe YES. Its smart to include them beacause you don't have to do 1.8 step. If you choose no than don't skip 1.8 step.
    1.7.2 Press enter at each prompt until you get to "Enter a number to change any of them or press ENTER to continue:"
    5.1 Type "3" without quotes. Press Enter.
    5.2 Type "3.11" without quotes. Press Enter
    5.3 Press Enter again.

    1.8 the "make install" (you should remove the old mozilla-mplayer package prior this step!)
    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
    1.9 Prepare the config file:
    Code:
    sudo gedit /etc/mplayerplug-in.conf
    Edit it like this:
    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
    As you see we've changed "vo" to "xv,x11", "ao" to "esd,oss,arts" and "cachesize" to "1024".

    1.10 Restart Firefox and there you are!!!

    Based on Drigloi's post
    Last edited by christooss; September 24th, 2005 at 10:04 AM.
    Im still in OpenSource age but I hope that through the years I will reach for the Free nirvana that is waiting me out there.
    Visit Ubuntu.si forums | My great blog Christoossov pasijon - Slovene version | Passion of the Christooss - English version

  2. #2
    Join Date
    Apr 2005
    Location
    Norway
    Beans
    53
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Hm. Adding backports repositories and using apt-get seems simpler - I've just used the howto on www.ubuntuguide.org, and it has done the trick for watching videos within Firefox.

    Cheers,

    Eivind

  3. #3
    arnieboy Guest

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Quote Originally Posted by eivind
    Hm. Adding backports repositories and using apt-get seems simpler - I've just used the howto on www.ubuntuguide.org, and it has done the trick for watching videos within Firefox.

    Cheers,

    Eivind
    with apt-get u will get an old version of mplayerplug-in. The objective of this HowTo is to get the latest version. It has a lot of bugfixes and improvements.

  4. #4
    Join Date
    Jan 2005
    Beans
    18
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Meh. I'm copying this from the other post, but this way you build off of firefox instead of mozilla and reduce some cludge and bloat.
    I made a few changes to the above instructions, and 3.05 works on breezy now, and these instructions are probably good for hoary too (and make things, IMO, a little cleaner)

    1. Add the hoary-extras repository from backports. This is where I got w32codecs.
    2. sudo apt-get update
    3. sudo apt-get install mplayer-586 (or 386 if you're on an older computer) w32codecs
    4. sudo apt-get install firefox-dev libxpm-dev libgtk2.0-dev build-essential checkinstall

    (as you can see, instead of using mozilla-dev and needing to install the whole huge mozilla web browser, this builds the plug in off of firefox, which should already be installed)

    5. Download the 3.05 tar.gz as mentioned above, unpack it wherever, and enter the directory where it is unpacked.
    6. To get it to use firefox instead of mozilla, do this: sed -i -e "s|mozilla-plugin|firefox-plugin|" configure (special thanks to the ebuild in gentoo's bugzilla for this idea)
    7. ./configure
    8. make
    9. sudo checkinstall -D, do it like above where you only change the version number.
    10. Then the package should be installed properly, I don't see a need to add anything to ~/.mozilla/plugins.

    Hope this helps,
    -Monkey

  5. #5
    Join Date
    Dec 2004
    Location
    Slovenia
    Beans
    684
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Quote Originally Posted by monkey89
    Meh. I'm copying this from the other post, but this way you build off of firefox instead of mozilla and reduce some cludge and bloat.
    This helps alot

    Thanks. I will think how to put it in to HOWTO
    Im still in OpenSource age but I hope that through the years I will reach for the Free nirvana that is waiting me out there.
    Visit Ubuntu.si forums | My great blog Christoossov pasijon - Slovene version | Passion of the Christooss - English version

  6. #6
    Join Date
    Jun 2005
    Location
    Cambridge, UK
    Beans
    175

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    hi there,
    I went through these instructions and everything seemed to work but now when I try to go to the apple/trailers site it tells me additional plugins are needed.

    what have i messed up?

    thanks
    Jeremy

  7. #7
    arnieboy Guest

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Quote Originally Posted by jeremytaylor
    hi there,
    I went through these instructions and everything seemed to work but now when I try to go to the apple/trailers site it tells me additional plugins are needed.

    what have i messed up?

    thanks
    Jeremy
    do u have win32codecs installed?
    do a:
    Code:
    sudo apt-get install win32codecs
    and restart your browser again.

  8. #8
    Join Date
    Jun 2005
    Location
    Cambridge, UK
    Beans
    175

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    i have w32codecs installed... is that what you meant?

  9. #9
    arnieboy Guest

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    Quote Originally Posted by jeremytaylor
    i have w32codecs installed... is that what you meant?
    yeah thats correct. I spelt the package wrong. do a
    about:plugins
    in firefox browser navigation toolbar and see if the mplayerplug-in shows up or not. also make sure u dont have some other plugin which is trying to play quicktime files ABOVE mplayerplug-in. if u find any let me know.

  10. #10
    Join Date
    Aug 2005
    Beans
    52

    Re: HOWTO: mplayerplug-in 3.05 for Hoary

    I get the following error when i type sudo apt-get install mozilla-dev libxpm-dev libgtk2.0-dev build-essential checkinstall:

    Errors were encountered while processing:
    xdm
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    What do I need to do?

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •