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.

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.
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.
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.
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!
Uhm.. I use smplayer too and it works flawlessly. Maybe because I use smplayer-9999?
And actually, mplayer fails to compile against ffmpeg against ffmepg 0.11.1. It needs a bump.
New version available: http://www.linuxsystems.it/2012/11/media-videomplayer-1-1_rc1_p20120820-with-vaapi-use-flag/