Difference between revisions of "VA-API"

From ArchWiki
Jump to: navigation, search
(Undo revision 318898 by Bch24 (talk) - Intel graphics card do not use libva-vdpau-driver, see also Talk:VA-API#Configuration_Section)
m (style cleanup)
Line 14: Line 14:
  
 
* [[ATI|AMD]] Radeon 9500 and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|ati-dri}} driver.
 
* [[ATI|AMD]] Radeon 9500 and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|ati-dri}} driver.
 
 
* [[Intel Graphics|Intel]] GMA 4500 series and newer GPUs are supported by the {{pkg|libva-intel-driver}} package, available in the [[official repositories]].
 
* [[Intel Graphics|Intel]] GMA 4500 series and newer GPUs are supported by the {{pkg|libva-intel-driver}} package, available in the [[official repositories]].
 
 
* [[Nouveau|NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nouveau-dri}} driver. It uses the {{AUR|nouveau-fw}} package, which contains the required firmware to operate that is presently extracted from the NVIDIA binary driver.
 
* [[Nouveau|NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nouveau-dri}} driver. It uses the {{AUR|nouveau-fw}} package, which contains the required firmware to operate that is presently extracted from the NVIDIA binary driver.
  
Line 22: Line 20:
  
 
* [[AMD Catalyst|AMD]] Radeon HD 4000 series and newer GPUs are supported by the {{AUR|libva-xvba-driver}} package, available in the [[AUR]]. It uses the {{AUR|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-total-hd234k}} for Radeon HD 4000 series.
 
* [[AMD Catalyst|AMD]] Radeon HD 4000 series and newer GPUs are supported by the {{AUR|libva-xvba-driver}} package, available in the [[AUR]]. It uses the {{AUR|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-total-hd234k}} for Radeon HD 4000 series.
 
 
* [[NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nvidia-utils}} driver.
 
* [[NVIDIA]] GeForce 8 series and newer GPUs are supported by the {{pkg|libva-vdpau-driver}} package (available in the [[official repositories]]) together with the {{pkg|nvidia-utils}} driver.
  
Line 77: Line 74:
 
| --
 
| --
 
|}
 
|}
 +
 
<sup>1</sup>Supported by the {{AUR|libva-driver-intel-g45-h264}} package. See [[Intel_Graphics#H.264_decoding_on_GMA_4500|H.264 decoding on GMA 4500]] for instructions and caveats.
 
<sup>1</sup>Supported by the {{AUR|libva-driver-intel-g45-h264}} package. See [[Intel_Graphics#H.264_decoding_on_GMA_4500|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 {{Pkg|libva}} package:
 
In order to check what profiles (features) are supported by your GPU, run the following command, which is provided by the {{Pkg|libva}} package:
{{bc|$ vainfo}}
+
 
 +
$ vainfo
 +
 
 
''VAEntrypointVLD'' means that your card is capable to decode this format, ''VAEntrypointEncSlice'' means that you can encode to this format.
 
''VAEntrypointVLD'' means that your card is capable to decode this format, ''VAEntrypointEncSlice'' means that you can encode to this format.
  

Revision as of 13:08, 26 June 2014

zh-CN:VA-API

Video Acceleration API is a specification and open source library to provide hardware accelerated video decode/encode.

Supported hardware

Open source drivers:

Proprietary drivers:

Supported formats

libva-vdpau-driver with ati-dri libva-intel-driver libva-vdpau-driver with nouveau-dri 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-driver-intel-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.