Bug 1182

Summary: Build mplayer with VA-API
Product: Fedora Reporter: Xose Vazquez Perez <xose.vazquez>
Component: mplayerAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: adamw, belegdol, dnehring, jouni.000, kwizart, sangu.fedora
Priority: P5    
Version: unspecified   
Hardware: All   
OS: GNU/Linux   
URL: http://www.splitted-desktop.com/~gbeauchesne/
namespace:
Bug Depends on: 1321    
Bug Blocks:    

Description Xose Vazquez Perez 2010-04-26 18:46:15 CEST
These patches add VA API support to MPlayer.

HW video decode capabilities depend on the actual VA API implementation. Besides, from an MPlayer perspective, only full-offload (VLD) of the video is supported for the following codecs:

    * MPEG-2
    * MPEG-4 ASP (DivX)
    * H.263 (MPEG-4 short-video header variant)
    * MPEG-4 AVC (H.264)
    * Windows Media Video 9 (WMV3)
    * Windows Media Video 9 Advanced (VC-1 Advanced profile)

-thanks-
Comment 1 Adam Williamson 2010-04-26 19:10:29 CEST
There's no point; libva isn't in Fedora or RPM Fusion. I have a review of it in Fedora that's been stalled for a while now:

https://bugzilla.redhat.com/show_bug.cgi?id=518546

I'm already providing libva packages and an mplayer-accelerated package which is built with libva support in a private repo:

http://www.happyassassin.net/video-experimental/
Comment 2 Xose Vazquez Perez 2010-04-26 19:16:02 CEST
OK, thanks
Comment 3 Nicolas Chauvet 2010-04-26 19:33:05 CEST
(In reply to comment #1)
> There's no point; libva isn't in Fedora or RPM Fusion. I have a review of it in
> Fedora that's been stalled for a while now:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=518546
> 
> I'm already providing libva packages and an mplayer-accelerated package which
> is built with libva support in a private repo:
Is there a way to have libva in RPM Fusion instead, until libva got reviewed by FE-Legal?
I think libva would deserve to go into Fedora, but Do you have any reason why FE-Legal take so much time ?
The only thing is to have a reliable version of it, since we aren't supposed to break ABI compatibility (or at least to be very carefull with it).

For the record, this RFE remains valid until libva is enabled into RPM Fusion.
Comment 4 Adam Williamson 2010-04-26 21:20:35 CEST
yeah, we could put it in Fusion, I guess. I think it's blocked in Fedora just because it's not a very high priority for anyone (especially given the only really practical use of libva atm is for Poulsbo chipsets, which is a pretty small niche).
Comment 5 Dominik 'Rathann' Mierzejewski 2010-05-08 00:53:03 CEST
Additionally, libva support is not in MPlayer upstream and I'm reluctant to maintain any major patches on top of pristine sources. So please get libva support into upstream first.
Comment 6 Nicolas Chauvet 2010-05-08 10:43:52 CEST
While that's true that this bug was reported in mplayer, libva support is in FFmpeg, and vlc 1.1.0 will uses it (it's upstreamed). It seems possible to build libva video output support in vlc without FFMpeg been compiled with libva given that the necessary headers will be here anyway.
It will makes things harder to have to recompile FFmpeg which won't works out of the box with libva. (Hence we need a libva review).

vlc-1.1.0 is aimed to be provided as a F-13 updates
Comment 7 Dominik 'Rathann' Mierzejewski 2010-07-06 21:40:25 CEST
Current FFmpeg (0.6+) builds fine against current libva packages, so as soon as it hits RPMFusion, I can build FFmpeg packages linked against it.

MPlayer will have to wait a bit. Can someone submit the patch to mplayer-dev-eng list?
Comment 8 Adam Williamson 2010-07-06 22:40:11 CEST
The initial version was actually submitted upstream, waaaaay back:

http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-December/059669.html

I can ask Gwenole if there's any particular reason upstream still hasn't taken it yet, if you like.
Comment 9 Dirk Nehring 2011-03-01 00:44:52 CET
Since F15 now includes libva 1.0.10 (or even higher), I vote for rebuilding the latest ffmpeg git checkout with libva support. It is a big enhancement for H.264 based movies.
Comment 10 Dominik 'Rathann' Mierzejewski 2011-04-12 18:24:15 CEST
(In reply to comment #9)
> Since F15 now includes libva 1.0.10 (or even higher), I vote for rebuilding the
> latest ffmpeg git checkout with libva support. It is a big enhancement for
> H.264 based movies.
> 

FFmpeg-0.6.90-rc0 has been built for F15 with libva support.
Comment 11 Adam Williamson 2011-04-14 19:18:41 CEST
mplayer builds against an internal ffmpeg, right? so we'd also need to change mplayer.
Comment 12 Nicolas Chauvet 2011-06-29 21:16:12 CEST
*** Bug 1746 has been marked as a duplicate of this bug. ***
Comment 13 Xose Vazquez Perez 2012-01-27 21:03:24 CET
should I close this bug ?
Comment 14 Julian Sikorski 2012-02-27 20:47:10 CET
If va-api works for you as expected then please do.
Comment 15 Julian Sikorski 2012-02-27 21:12:20 CET
Sorry, I misunderstood the situation. VA-API support in upstream mplayer is still missing.
Comment 16 Emmanuel Seyman 2012-07-02 07:08:27 CEST
RPMFusion is no longer releasing updates for this version of Fedora. This bug
will be set to RESOLVED:EXPIRED next week to reflect this.

If the problem persists after upgrading to the latest version of Fedora, please
update the version field of this bug (and re-open it if it has been closed).
Comment 17 Emmanuel Seyman 2012-07-11 21:33:42 CEST
Setting to RESOLVED:EXPIRED since RPMFusion is no longer releasing updates for
this version of Fedora.
Comment 18 Nicolas Chauvet 2012-07-11 22:00:12 CEST
pron
Comment 19 Dominik 'Rathann' Mierzejewski 2014-09-21 01:42:21 CEST
FYI there's now a translation layer between libva and libvdpau (libvdpau-va-gl), so this seems less of an issue. Closing.