Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 62

Thread: HOWTO: Compiling mplayer with multi-core decoding support

  1. #21
    Join Date
    Jun 2008
    Beans
    24

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Thanks white hat this allowed me to watch 1080p mkv files that I could not watch before. That is very helpful.

    Though I assume you meant:

    sudo apt-get build-dep mplayer mencoder
    Last edited by HighInBC; May 2nd, 2009 at 11:20 PM.

  2. #22
    Join Date
    Sep 2006
    Beans
    22

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by white_hat View Post
    Hi all!
    I've just compiled latest mplayer with multi-threaded h.264 support. It's easier then in this guide, just:
    Code:
    1. $ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list \
    --output-document=/etc/apt/sources.list.d/medibuntu.list
    2. $ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
    3. $ sudo apt-get install build-essential checkinstall subversion git libgpac-dev yasm
    4. $sudo apt-get build-deb mplayer mencoder
    5. $ git clone git://repo.or.cz/mplayer && cd mplayer && git checkout origin/mt && git submodule init && git submodule update && ./configure && make && sudo make install
    That's all! Now 1080 movies can be smoothly played on my 1.3Ghz c2d without dropped frames

    $mplayer -benchmark -lavdopts threads=2 somemovie.mkv
    It could be that I missed something, your comments are wellcome
    P.S. I'm not really sure if the 1st and 2nd steps are needed, You can skip them if You want...
    I tried it all. I just got the problem with hardy, that it seems, that x264 cannot be found.

    Checking for x264 ... no (in libavcodec: no)

    So what todo to fix that ? Thanks.

  3. #23
    Join Date
    May 2007
    Beans
    563
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by xMbx View Post
    I tried it all. I just got the problem with hardy, that it seems, that x264 cannot be found.

    Checking for x264 ... no (in libavcodec: no)

    So what todo to fix that ? Thanks.
    Probably your x264 is too old. You can find a recent version for hardy (and intrepid) here:

    https://launchpad.net/~rvm/+archive/libs

    (don't forget to install the -dev package too)
    Developer of SMPlayer.

  4. #24
    Join Date
    Sep 2006
    Beans
    22

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by rvm4000 View Post
    Probably your x264 is too old. You can find a recent version for hardy (and intrepid) here:

    https://launchpad.net/~rvm/+archive/libs

    (don't forget to install the -dev package too)
    Thanks; didn´t know that existed!
    Looking forward to check the performance with the Phenom II 940. One Core is kinda disappointing.

  5. #25
    Join Date
    Sep 2006
    Beans
    22

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by xMbx View Post
    Thanks; didn´t know that existed!
    Looking forward to check the performance with the Phenom II 940. One Core is kinda disappointing.
    Hmm.. mencoder is still using only one core. So what todo now ?

    + getting now alot

    Too many audio packets in the buffer: (4097 in 1523941 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    Last edited by xMbx; May 3rd, 2009 at 06:53 PM.

  6. #26
    Join Date
    Oct 2007
    Beans
    473

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by xMbx View Post
    Hmm.. mencoder is still using only one core. So what todo now ?

    + getting now alot

    Too many audio packets in the buffer: (4097 in 1523941 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    What settings are you passing mencoder? Did you remember to use the "threads" option?

  7. #27
    Join Date
    Dec 2007
    Beans
    3

    any XV output?

    Hi I've compiled mplayer with initial instructions downloading leatest svn and ffmpeg-mt from git, using libswscaler from ffmpeg 0.5, also compiled leatest smplayer and installe, every seems to be ok and play better than totem-gstreamer but I cant activate xv overlay has anybody tryed that? (with -vo xover and -vo xv) it allways falls back to X11 wich causes tearing and uses more cpu eating frames, it could play better on overlay. Is it something to do with the svn of mplayer having disabled xv? has anybody tryed some version of mplayer with xv successfully?
    I'm using 8.04 (is the leatest stable with intel video driver until 9.10 I hope).
    wich output do you use?
    from command line it returns audio but no video with -vo xv and xover

  8. #28
    Join Date
    Sep 2006
    Beans
    22

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by Longinus00 View Post
    What settings are you passing mencoder? Did you remember to use the "threads" option?
    Yes, i do. But it does not seem to use all 4 cores. At best 2.

    And this "Too many audio packets in the buffer" issue. Dunno why that is no problem with the old player, but the new one.

  9. #29
    Join Date
    Jun 2007
    Beans
    12,997

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    There is an alternate way to build using a specific mplayer source, maybe you'll have better luck there

    http://ubuntuforums.org/showthread.p...ling%2Bmplayer

    Are you using mencoder straight up as in mencoder blah, blah ?

  10. #30
    Join Date
    Sep 2006
    Beans
    22

    Re: HOWTO: Compiling mplayer with multi-core decoding support

    Quote Originally Posted by mc4man View Post
    There is an alternate way to build using a specific mplayer source, maybe you'll have better luck there

    http://ubuntuforums.org/showthread.p...ling%2Bmplayer

    Are you using mencoder straight up as in mencoder blah, blah ?
    Yes!

Page 3 of 7 FirstFirst 12345 ... LastLast

Tags for this Thread

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
  •