VA-API

From ArchWiki
Revision as of 00:39, 9 February 2015 by Neitsab (talk | contribs) (Remove erroneous out-of-date template because mesa-dri is directly provided by mesa since 10.4.0-1)
Jump to: navigation, search

zh-CN:VA-API

Video Acceleration API is a specification and open source library to provide hardware accelerated video encoding and decoding.

Supported hardware

Note: Functionalities provided by the former mesa-dri driver package have been merged into mesa as of version 10.4.0-1 (2014-12-14). Therefore simply make sure mesa is installed.

Open source drivers:

Proprietary drivers:

Supported formats

libva-vdpau-driver with mesa libva-intel-driver libva-vdpau-driver with mesa libva-xvba-driverAUR libva-vdpau-driver with nvidia-utils
MPEG2 decoding AMD Radeon 9500 and newer Intel GMA 4500 and newer Nvidia GeForce 8 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
MPEG4 decoding AMD Radeon HD 6000 and newer
Nvidia GeForce 200 and newer AMD Radeon HD 6000 and newer Nvidia GeForce 200 and newer
H264 decoding AMD Radeon HD 4000 and newer Intel GMA 45001, Ironlake Graphics and newer Nvidia GeForce 8 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
VC1 decoding AMD Radeon HD 4000 and newer Intel Sandy Bridge Graphics and newer Nvidia GeForce 8200, 8300, 8400, 9300, 200 and newer AMD Radeon HD 4000 and newer Nvidia GeForce 8 and newer
MPEG2 encoding
Intel Ivy Bridge Graphics and newer
H264 encoding
Intel Sandy Bridge Graphics and newer

1Supported by the libva-intel-driver-g45-h264AUR package. See H.264 decoding on GMA 4500 for instructions and caveats.

In order to check what profiles (features) are supported by your GPU, run the following command, which is provided by the libva package:

$ vainfo

VAEntrypointVLD means that your card is capable to decode this format, VAEntrypointEncSlice means that you can encode to this format.

Configuration

libva-vdpau-driver has to be enabled manually with an environment variable globally or locally per user.

export LIBVA_DRIVER_NAME=vdpau

Supported software

  • GStreamer based players - VA-API is used automatically, if supported format found.
See more at http://docs.gstreamer.com/display/GstSDK/Playback+tutorial+8%3A+Hardware-accelerated+video+decoding.