Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)
Go to file
Carl Zhang 5c8c3978a5 update NEWS for libva-utils 2.18.0
Signed-off-by: Carl Zhang <carl.zhang@intel.com>
2023-03-17 04:15:52 -04:00
.github/workflows CI: Add git dependency for mingw build for meson dependencies cloning 2022-10-27 09:17:39 -07:00
common va_display_drm: Allow VGEM for WSL2 2023-02-15 06:49:26 -08:00
decode Add Th limitation by HUFFMAN_TABLES Count 2023-03-17 14:38:35 +08:00
encode Add refresh_frame_flags in PPS 2023-03-17 14:35:35 +08:00
getopt Import OpenBSD getopt for MSVC from mesa/f9bb5323 2022-10-23 21:39:00 +08:00
putsurface unify the code styles using the style_unify script 2021-09-29 20:59:40 -04:00
subprojects vainfo: Add support for Win32 device enumeration and selection 2022-10-27 09:17:39 -07:00
test add version check for VAProfileH264High10 2023-03-17 16:14:43 +08:00
vainfo vainfo: add va-win32 support 2022-10-23 21:39:00 +08:00
vendor/intel unify the code styles using the style_unify script 2021-09-29 20:59:40 -04:00
videoprocess Changed H2S configuration template. 2023-01-10 17:16:34 +08:00
Android.mk Build libva-utils on Android 2017-09-29 14:51:42 +08:00
CONTRIBUTING.md Remove old security diclaimer from contributing.md file 2022-12-21 21:36:50 +08:00
COPYING gtest: initial Gtest set for VA-API 2016-11-29 11:41:17 -08:00
INSTALL Use the new link URLs 2018-03-15 11:04:26 +08:00
Makefile.am sample code for decode SFC 2018-10-26 17:45:43 +08:00
NEWS update NEWS for libva-utils 2.18.0 2023-03-17 04:15:52 -04:00
README.md Add build and install libva-utils steps 2023-03-17 15:38:38 +08:00
autogen.sh libva-utils: initial commit 2016-11-29 11:41:17 -08:00
configure.ac libva-utils 2.18.0.pre1 2023-03-17 03:57:53 -04:00
meson.build libva-utils 2.18.0.pre1 2023-03-17 03:57:53 -04:00
meson_options.txt vainfo: add va-win32 support 2022-10-23 21:39:00 +08:00
security.md Upload a security disclaimer 2022-12-21 21:36:50 +08:00
style_unify exclude the files from gtest in unify_type script 2021-09-29 20:59:40 -04:00

README.md

Stories in Ready Build Status Coverity Scan Build Status

Libva-utils Project

libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project. --enable-tests (default = no) provides a suite of unit-tests based on Google Test Framework. A driver implementation is necessary to properly operate.

VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor.

If you would like to contribute to libva, check our Contributing guide.

We also recommend taking a look at the 'janitorial' bugs in our list of open issues as these bugs can be solved without an extensive knowledge of libva-utils.

We would love to help you start contributing!

The libva-utils development team can be reached via github issues.

Build and Install Libva-utils

Install Libva

You could refer to https://github.com/intel/libva to install Libva

Build Libva-utils

Take latest libva-utils version:

git clone https://github.com/intel/libva-utils.git
cd libva-utils

Build libva-utils by autogen. You could add --enable-tests to run unit test

./autogen.sh or ./autogen.sh --enable-tests
make
sudo make install

or build using Meson

mkdir build
cd build
meson .. or meson .. -Denable-tests
ninja
sudo ninja install

Validate your environment

You could run vainfo to check your media stack environment is correct or not as below.

sys@KBL:~/github/libva-utils$ vainfo
Trying display: drm
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.18 (libva 2.18.0.pre1)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      ...