Difference between revisions of "VA-API"

From ArchWiki
Jump to: navigation, search
m (Supported hardware)
(Supported formats: Removed direct link to package, inserted link to wiki. The decoding support for 4500 is experimental and doesn't work perfectly. Best that a user knows this before getting his hopes up.)
Line 47: Line 47:
 
| -
 
| -
 
|}
 
|}
<sup>1</sup>Supported by the {{AUR|libva-driver-intel-g45-h264}} package.
+
<sup>1</sup>Supported by the 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 provided by the {{pkg|libva}} package:
 
In order to check what profiles (features) are supported by your GPU, run the following command, which provided by the {{pkg|libva}} package:

Revision as of 10:59, 20 October 2012

Summary help replacing me
Explains VA-API support in various hardware and software components
Related
XvMC
MPlayer

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

Supported hardware

Supported formats

libva-vdpau-driver libva-intel-driver xvba-video-open
MPEG2 decoding Nvidia GeForce 8 and newer, AMD Radeon 9500 and newer Intel GMA 4500 and newer AMD Radeon HD 4000 and newer
MPEG4 decoding Nvidia GeForce 200 and newer - -
H264 decoding Nvidia GeForce 8 and newer Intel GMA 45001, Ironlake Graphics and newer AMD Radeon HD 4000 and newer
VC1 decoding Nvidia GeForce 8 and newer Intel Sandy Bridge Graphics and newer AMD Radeon HD 4000 and newer
H264 encoding - Intel Sandy Bridge Graphics and newer -

1Supported by the libva-driver-intel-g45-h264 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 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.

Supported software

MPlayer

Install mplayer-vaapi package, available in the official repositories.

$ mplayer -vo vaapi -fs foobar.mpeg
  • -vo - Select vaapi video output driver
  • -fs - Fullscreen playback (optional)

MPlayer based players:

  • gnome-mplayer: open preferences and set the video output to "vaapi".
  • smplayer: open preferences and set the video driver to "vaapi", and deselect "Enable screenshots".

GStreamer

Install gstreamer-vaapiAUR package, available in the Arch User Repository.

$ gst-launch-0.10 playbin2 uri=file:///path/to/foobar.mpeg

VA-API is used automatically, if supported format found.