Overview

These patches add VA API support to FFmpeg and 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:

Quick build notes

Upstream libVA API >= 0.31.0 is the minimal requirement. OpenGL rendering support requires libVA API >= 0.31.0-sds3: http://www.splitted-desktop.com/~gbeauchesne/libva/

Make sure you also have `svn' (subversion) and all necessary MPlayer libraries, among with their development files, installed on your system.

On a Debian system, the following commands will help you install the required files:

# apt-get build-dep mplayer

Then, you can run the supplied script to build mplayer-vaapi:

$ ./checkout-patch-build.sh

Running VA API enabled MPlayer

$ cd mplayer-vaapi
$ ./mplayer -vo vaapi -va vaapi <URI>

<URI> can be a pathname or an URL.

For OpenGL rendering (specifically for the XvBA backend):

$ ./mplayer -vo vaapi:gl -va vaapi <URI>

For OpenGL rendering with reflection effect:

$ ./mplayer -vo vaapi:gl:reflect -va vaapi <URI>

Caveats