Now that mplayer-vaapi development is hosted on gitorious, it would be nice to have a live ebuild tracking that repository
+1 too, I'll try (with a huge amount of help :-)) to write one starting from the mplayer-live ebuild.
I hope the installation of mplayer doesn't conflict with mplayer2 or harm the system in general.
For me the zugaina mplayer ebuild is working quiet ok (direct ebuild link: http://gpo.zugaina.org/AJAX/Ebuild/2141860).
AFAIR the newer versions of mplayer can't be patched against VAAPI, so it's the last working version.
the website of reference is this → http://gitorious.org/vaapi/mplayer .
I believe mplayer sources and also ffmpeg are pulled by that site, they're patching with vaapi support the latest mplayer patchable version. That's where we need to pull mplayer sources (and vaapi patches) from.
I installed mplayer-vaapi two days ago with these instructions
git clone git://gitorious.org/vaapi/mplayer.git mplayer-vaapi
git pull origin hwaccel-vaapi
After ./configure git downloaded and compiled ffmpeg too, it asked me to do so by saying
No FFmpeg checkout, press enter to download one with git or CTRL+C to abort
The ebuild should do all this, I guess :-)
Yes, that's a better aproach. This version works for me too under fglrx and is much newer than the zugaina overlay gives.
Of course I can test (or help) with the ebuild if you like ;-)
If someone wants an updated version I made a media-video/mplayer-1.0_rc4_p20120116 ebuild. I will probably update it in the weekend.
this is the version i installed following the instructions in comment 4
MPlayer SVN-r35107-4.6.3 (C) 2000-2012 MPlayer Team
If you could update your ebuild in order to make it use this version it would be great. A better result would be to make it dinamically download the latest version (and the latest vaapi patches) mirrored in the mplayer-vaapi gitorious repository.
Could you please post or link your ebuild here? I'm not an expert at all but I'd like to read it.
If you click on "overlay" in the previous link you will find my gitweb ;)
Anyway here is the direct link: http://overlay.linuxsystems.it/gitweb/?p=linuxsystems.git;a=blob;f=media-video/mplayer/mplayer-1.0_rc4_p20120116.ebuild;h=68af2179aae58fa6b2969a29e36df182d1543496;hb=690cceeebc238a681f1bd601b2290b4ae189d08c
I made an updated ebuild: http://www.linuxsystems.it/2012/11/media-videomplayer-1-1_rc1_p20120820-with-vaapi-use-flag/
media-video/mpv now supports --hwdec=vaapi and --hwdec=vaapi-copy with --vo=opengl and --vo=vaapi; https://gitorious.org/vaapi/mplayer/commits has no commits since June 07 2013 and gitorious.org will be closed soon, so i suggest closing this bug as WONTFIX.
Also, users should simply move to mpv.
(In reply to darkbasic from comment #12)
> Also, users should simply move to mpv.
It's not so easy, mplayer has some mpv non-existing functionalities like for example -dumpsrtsub or mencoder build in. Just saying.
mpv supports encoding: https://github.com/mpv-player/mpv/blob/master/DOCS/encoding.rst
If you want -dumpsrtsub, then open feature request. But why not use ffmpeg or avconv for this task?