media-video/mplayer-1.0_rc4_p20120116 with vaapi use flag

An mplayer ebuild which supports VA-API hardware acceleration isn’t something you can easily find. There is one in the calculate overlay but it’s quite ancient nowadays. This is why a made a new ebuild based on the latest git code from http://gitorious.org/vaapi/mplayer.

You can find my media-video/mplayer ebuild with vaapi use flag in my overlay.

10 comments to media-video/mplayer-1.0_rc4_p20120116 with vaapi use flag

  • Mark

    I have a problem with the Ebuild.
    I’m trying to change the ffmpeg url in the ebuild to: https://github.com/FFmpeg/FFmpeg
    (I can’t use git )

    but when I try to emerge it, I still get the error :

    No FFmpeg checkout, press enter to download one with git or CTRL+C to abort
    Cloning into ffmpeg…
    git.videolan.org[0: 88.191.250.118]: errno=Connection timed out
    fatal: unable to connect a socket (Address family not supported by protocol)
    Failed to get a FFmpeg checkout

    why does it still wants to use the videolan repo?

    Cheers,
    Mark Bloch.

    • darkbasic

      It is hardcoded in the configure script. You can change the url in the configure file if you want, but be aware that it checks out a specific commit.

  • Mark

    Thx, that did the trick.

    It seems to work, when I play a 1080p movie with : mplayer -vo vaapi -va vaapi $MOVIE

    part of the mplayer output:

    libva: VA-API version 0.32.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
    libva: va_openDriver() returns 0

    thank you.

    Cheers,
    Mark Bloch.

  • dE_logics

    I’ve smplayer installed, and it conflicts with it since it has no libass USE (it’s replaced with ass instead).

    Can you please see to this? For the mean time, I’ve modified the ebuild.

    PS: Thanks for the ebuild! We really needed it!

  • dE_logics

    And actually, mplayer fails to compile against ffmpeg against ffmepg 0.11.1. It needs a bump.

  • Kete Tefid

    Hi,

    I have been using your overlay since you existed. Could you please bump your vaapi enabled mplayer ebuild and the overly with the newest stuff? I always sync my overlay and the mplayer ebuild has not been updated for quite a long time.
    Thanks for your efforts.
    Yours

    • darkbasic

      You should switch to mpv 0.6 because upstream doesn’t update mplayer-vaapi since June 07 2013.

      • Kete Tefid

        Thank you for your reply.

        Although mpv is in active development and supports vaapi, I would like to ask you to kindly bump the vaapi-enabled mplayer to the latest possible and supported mplayer version, because of the following reasons.

        1. A lot of frontends (like kplayer, kmplayer and smplayer in kde) still work only with mplayer. So, only mplayer can provide full integrity with major DEs.

        2. There is not an available frontend for mpv on Gentoo. The only ones are Baka-mplayer and Cmplayer which are not in the portage. Also they seem to need Qt5.

        3. Latest versions of mpv are hardmasked in the portage and the mpv website declares the gentoo stable versions as “Outdated/unmaintained GNU/Linux packages.” The only available stable version is 0.3.10.

        Thus, I think that having the latest vaapi-supported mplayer is still considered a big advantage.

        Thank you for your attention.

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>