Results 1 to 10 of 13

Thread: mplayer install

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Beans
    7

    mplayer install

    Hello, I'm using Ubuntu (mini)12.04 or(lubuntu) with Lxde desktop

    I need help getting gnome mplayer to play a video (it doesn't show a video) I have read that "lubuntu" has a bug with mplayer and to use mplayer2.
    So I downloaded mplayer2-build-106bf4525ac9ef7a1cf8f1f41664d3be72121e99.tar.bz2
    then folowed the instructions from here: http://ubuntuforums.org/showthread.php?p=10996224


    $ sudo apt-get install libdvdread4 libdvdnav-dev libdvdread-dev && \ sudo /usr/share/doc/libdvdread4/install-css.sh
    $ sudo apt-get build-dep mplayer
    $ sudo apt-get install build-essential subversion git-core yasm autoconf libtool
    $ git clone git://git.mplayer2.org/mplayer2-build.git
    $ cd mplayer2-build && ./enable-mt && ./init
    $ echo --prefix=$HOME >> ./mplayer_options
    $ make -j4
    $ make install
    $ mv $HOME/bin/mplayer $HOME/bin/mplayer2

    But when I got to here-- ' $ cd mplayer2-build && ./enable-mt && ./init '
    I got something like error 124 'libass missing'
    I got frustrated and exited out

    I would like to start over but, I don't know what I'm doing yet. Do I need to delete all the mplayer files installed? or Does someone have a better build idea? Thanks

  2. #2
    Join Date
    Oct 2012
    Beans
    874

    Re: mplayer install

    Quote Originally Posted by midwestmac View Post
    Hello, I'm using Ubuntu (mini)12.04 or(lubuntu) with Lxde desktop

    I need help getting gnome mplayer to play a video (it doesn't show a video) I have read that "lubuntu" has a bug with mplayer and to use mplayer2.
    So I downloaded mplayer2-build-106bf4525ac9ef7a1cf8f1f41664d3be72121e99.tar.bz2
    then folowed the instructions from here: http://ubuntuforums.org/showthread.php?p=10996224


    $ sudo apt-get install libdvdread4 libdvdnav-dev libdvdread-dev && \ sudo /usr/share/doc/libdvdread4/install-css.sh
    $ sudo apt-get build-dep mplayer
    $ sudo apt-get install build-essential subversion git-core yasm autoconf libtool
    $ git clone git://git.mplayer2.org/mplayer2-build.git
    $ cd mplayer2-build && ./enable-mt && ./init
    $ echo --prefix=$HOME >> ./mplayer_options
    $ make -j4
    $ make install
    $ mv $HOME/bin/mplayer $HOME/bin/mplayer2

    But when I got to here-- ' $ cd mplayer2-build && ./enable-mt && ./init '
    I got something like error 124 'libass missing'
    I got frustrated and exited out

    I would like to start over but, I don't know what I'm doing yet. Do I need to delete all the mplayer files installed? or Does someone have a better build idea? Thanks

    You have to install libass-dev and also you don't need to enable --mt now as ffmpeg-mt has since merged into the main trunk. you don't need to delete anything.

    BTW. if you are installing from git you don't need to download the tarball. If you look into the mplayer2-build folder after finish running
    Code:
    git clone git://git.mplayer2.org/mplayer2-build.git
    you would find a readme file which tells you the step to build mplayer2 and the dependencies.

    An easier way to install mplayer2 is to add the MOTU ppa and install it from the package manager. I believe mplayer from MOTU also works in Lubuntu 12.04 (don't know that there is a problem because I never install mplayer from the default repo, it is always hopelessly out of date)


    https://launchpad.net/~motumedia/+archive/mplayer-daily

    mplayer/mplayer2 has a nice gui frontend called SMplayer, you can get the latest version by adding the developer's ppa
    https://launchpad.net/~rvm/+archive/ppa/

    EDITED: If you install from ppa you'll get update automatically. If you install it locally by compiling yourself (the command "echo --prefix=$HOME" instructs that mplayer2 be installed in /home/usrname/bin) you need to update manually once in a while. This is how, from the terminal

    Code:
    cd mplayer2-build
    ./clean
    ./update
    make
    make install
    
    cd ~/bin
    mv mplayer mplayer2
    Last edited by monkeybrain2012; January 23rd, 2013 at 05:51 AM.

  3. #3
    Join Date
    Jan 2013
    Beans
    7

    Re: mplayer install

    Thanks for the info monkeybrain2012,

    I'll try this, quote "mplayer/mplayer2 has a nice gui frontend called SMplayer, you can get the latest version by adding the developer's ppa"
    https://launchpad.net/~rvm/+archive/ppa/

    I would rather have something that updates automatically
    I'll let you know how it goes

  4. #4
    Join Date
    Oct 2012
    Beans
    874

    Re: mplayer install


    I would rather have something that updates automatically
    I'll let you know how it goes
    Hi, I think you misunderstood. I didn't mean it updates automatically behind your back, I meant it is "automatically" updated by the maintainer and the updates show up in synaptic like other Ubuntu software.

  5. #5
    Join Date
    Dec 2006
    Beans
    6,934

    Re: mplayer install

    You think that's air you're breathing now?

  6. #6
    Join Date
    Jan 2013
    Beans
    7

    Re: mplayer install

    Thanks andrew and monkeybrain2012,
    I added the PPA , then went to package manager downloaded SMplayer.

    It works only problem is Smplayer says " SMplayer couldn't identify the Mplayer version you're using."

    My choices to select are:
    1:Orc1 or older
    1:Orc2
    1rc3 or newer

    Where can I find what what version of mplayer I have?, so they can work in together I guess.

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
  •