Difference between revisions of "VA-API"

From ArchWiki
Jump to: navigation, search
(MPlayer)
(redirect per template)
 
(77 intermediate revisions by 28 users not shown)
Line 1: Line 1:
[[Category:Graphics]]
+
#REDIRECT: [[Hardware video acceleration]]
[[Category:X Server]]
 
{{Article summary start}}
 
{{Article summary text|Explains VA-API support in various hardware and software components}}
 
{{Article summary heading|Related}}
 
{{Article summary wiki|XvMC}}
 
{{Article summary wiki|MPlayer}}
 
{{Article summary end}}
 
 
 
'''[http://www.freedesktop.org/wiki/Software/vaapi Video Acceleration API]''' is a specification and open source library to provide hardware accelerated video decode/encode.
 
 
 
==Supported hardware==
 
*[[NVIDIA]] GeForce 8 series and newer cards are supported by the {{pkg|libva-vdpau-driver}} package, available in the [[official repositories]]. It uses the proprietary {{pkg|nvidia-utils}} driver.
 
*[[Intel]] GMA 4500 series and newer GPUs are supported by the open source {{pkg|libva-intel-driver}} package, available in the [[official repositories]].
 
*[[ATI Catalyst|AMD]] Radeon HD 4000 series and newer GPUs are supported by {{pkg|xvba-video-open}} package, available in the [[official repositories]]. It uses the proprietary {{pkg|catalyst-utils}} driver for Radeon HD 5000 series and newer, and {{AUR|catalyst-legacy-utils}} for Radeon HD 4000 series. Recent {{Pkg|mesa}} versions together with [[ATI#Enabling video acceleration|AMD open source driver]] can decode some videos too, but number of formats supported is poor.
 
 
 
===Supported formats===
 
{| class="wikitable" border="1" cellpadding="2" style="width: 100%"
 
!
 
! {{pkg|libva-vdpau-driver}}
 
! {{pkg|libva-intel-driver}}
 
! {{pkg|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 4500<sup>1</sup>, 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
 
| -
 
|}
 
<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:
 
{{bc|$ 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 {{pkg|mplayer-vaapi}} package, available in the [[official repositories]].
 
{{bc|$ mplayer -vo vaapi  -va vaapi -fs ''foobar.mpeg''}}
 
*'''-vo''' - Select vaapi video output driver
 
*'''-va''' - Select vaapi video decoder driver
 
*'''-fs''' - Fullscreen playback (optional)
 
 
 
MPlayer based players:
 
* {{pkg|gnome-mplayer}}: open preferences and set the video output to "vaapi".
 
* {{pkg|smplayer}}: open preferences and set the video driver to "vaapi", and deselect "Enable screenshots".
 
 
 
=== [[GStreamer]] ===
 
Install {{AUR|gstreamer-vaapi}} package, available in the [[Arch User Repository]].
 
{{bc|$ gst-launch-0.10 playbin2 uri&#61;file://''/path/to/foobar.mpeg''}}
 
VA-API is used automatically, if supported format found.
 

Latest revision as of 15:40, 18 May 2016