CrOS fork of https://github.com/intel/libva-utils

Clone this repo:
  1. 5633fdc CHROMIUM: Reset tree to upstream/2.22.0 by Nitin Hegde · 7 months ago chromeos factory-brox-16086.B factory-nissa-16077.B factory-rauru-16167.B firmware-R130-16032.B firmware-R131-16062.B firmware-brox-16080.B firmware-cr50-mp-16160.B firmware-cr50-prepvt-16155.B firmware-ec-R131-16063.2.B firmware-ec-R132-16093.3.B firmware-ec-R133-16151.2.B firmware-ec-R134-16181.3.B firmware-rauru-16174.B release-R130-16033.B release-R131-16063.B release-R132-16093.B release-R133-16151.B release-R134-16181.B stabilize-16033.43.B stabilize-16033.58.B stabilize-16055.B stabilize-16063.45.B stabilize-16093.68.B stabilize-16093.78.B stabilize-16197.B stabilize-starline-16056.B stabilize-starline-16082.B stabilize-starline-16084.B stabilize-starline-16093.2.B stabilize-starline-16095.B stabilize-starline-16126.B stabilize-starline-16150.B stabilize-starline-16182.B
  2. 1a13ae1 libva-utils 2.22.0 by Carl Zhang · 8 months ago upstream/v2.22-branch upstream/2.22.0
  3. bbf09fa update NEWS for 2.22.0 by Carl Zhang · 8 months ago
  4. 0ce8cda CHROMIUM: Reset tree to upstream/2.21.0 by Nitin Hegde · 10 months ago firmware-R128-15963.B firmware-R129-16001.B firmware-android-15949.B firmware-ec-R128-15964.23.B firmware-ti50-mp-15980.B firmware-ti50-prepvt-15974.B release-R128-15964.B release-R129-16002.B stabilize-15926.B stabilize-15964.20.B stabilize-15964.42.B stabilize-15964.9.B stabilize-16002.44.B stabilize-16002.51.B
  5. 685fd92 ci:correct the permission of workflows by Carl Zhang · 9 months ago

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 .. -Dtests=true
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
      ...