Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 402101

Summary: media-video/mplayer-vaapi live ebuild request
Product: Gentoo Linux Reporter: Shark <shark>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: cruzki123, darkbasic, joe, kripton, luke-jr+gentoobugs, nihil39, nikoli, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shark 2012-02-03 21:06:40 UTC
Now that mplayer-vaapi development is hosted on gitorious, it would be nice to have a live ebuild tracking that repository
git://gitorious.org/vaapi/mplayer.git hwaccel-vaapi

Reproducible: Always
Comment 1 darkbasic 2012-05-28 12:09:54 UTC
+1
Comment 2 nihil39 2012-10-22 08:41:16 UTC
+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.
Comment 3 ChaosEngine 2012-10-22 08:50:51 UTC
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.
Comment 4 nihil39 2012-10-22 09:29:43 UTC
Andrzej Pauli,
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 
cd mplayer-vaapi 
git pull origin hwaccel-vaapi 
./configure --prefix=/usr/local 
make

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 :-)
Comment 5 ChaosEngine 2012-10-22 13:00:44 UTC
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 ;-)
Comment 6 darkbasic 2012-10-22 13:16:19 UTC
http://www.linuxsystems.it/2012/05/media-video-mplayer-1-0_rc4_p20120116-with-vaapi-use-flag/

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.
Comment 7 nihil39 2012-10-22 14:45:40 UTC
darkbasic,

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.

Thanks!
Comment 10 Nikoli 2015-03-15 09:32:34 UTC
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.
Comment 11 Ben de Groot (RETIRED) gentoo-dev 2015-03-15 09:34:05 UTC
dead upstream
Comment 12 darkbasic 2015-03-16 09:34:55 UTC
Also, users should simply move to mpv.
Comment 13 ChaosEngine 2015-03-16 13:43:25 UTC
(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.
Comment 14 Nikoli 2015-03-16 13:56:09 UTC
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?