Try   HackMD

???

関連: QSVのffmpegをビルドしたい - HackMD
https://hackmd.io/@nesosuke/SkY0bJEFv

=> 覇??? - HackMD
https://hackmd.io/@nesosuke/SkY0bJEFv#nesoh110ffmpeg-qsv-yarubuild_media-cmake-…media-driver

neso@h110:~/ffmpeg-qsv-yaru/build_media$ sudo vainfo | grep version

error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_6
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.6.0.pre1)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.4.0.pre1 (2.3.0-26-gc6c7cb5)

neso@h110:~/ffmpeg-qsv-yaru/build_media$ cmake ../media-driver/ | grep version

CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
  cmrtlib/linux/CMakeLists.txt:67 (pkg_check_modules)

--   Requested 'libva >= 1.8.0' but version of libva is 1.6.0