Linux之Intel多媒体解决方案libyami

// Intel 官方发布的 Intel 多媒体解决方案

Yet Another Media Infrastructure.
It is YUMMY to your video experience on Linux like platform.
Yami is core building block for media solution. it parses video stream
and decodes them leverage hardware acceleration.
Copyright (c) 2010, The WebM Project authors.
Copyright (C) 2011-2018 Intel Corporation
Copyright (C) 2015-2016 Alibaba
// 安装 libyami
git clone https://github.com/intel/libyami.git
./autogen.sh
make -j4

// 安装 libyami utils
git clone https://github.com/intel/libyami-utils
./autogen.sh
make -j4

// 测试 (需要X11)
libyami-utils/examples/simpleplayer test.h264
// 安装文档 ...
https://github.com/intel/libyami/wiki/Build


// 安装 ffmpeg libyami 
git clone https://github.com/intel/ffmpeg_libyami
./configure --arch=x86_64 --disable-yasm --enable-vaapi --enable-libmfx --enable-libyami --enable-version3
// 测试
ffmpeg -hwaccel vaapi -i kaoya.mp4 -vcodec libyami_h264 output.yuv

// Ubuntu 20.04 新系统内核及内置软件已经符合要求直接安装即可 ...

libva-dev - Video Acceleration (VA) API for Linux -- development files
libva-drm2 - Video Acceleration (VA) API for Linux -- DRM runtime
libva-glx2 - Video Acceleration (VA) API for Linux -- GLX runtime
libva-wayland2 - Video Acceleration (VA) API for Linux -- Wayland runtime
libva-x11-2 - Video Acceleration (VA) API for Linux -- X11 runtime
libva2 - Video Acceleration (VA) API for Linux -- runtime
vainfo - Video Acceleration (VA) API for Linux -- info program

i965-va-driver - VAAPI driver for Intel G45 & HD Graphics family
libgles2-mesa-dev - transitional dummy package
libegl1-mesa-dev - free implementation of the EGL API -- development files

libyami-dev - high-level abstraction for Video Acceleration (VA) API (development files)
libyami-utils - high-level abstraction for Video Acceleration (VA) API (utils)
libyami1 - high-level abstraction for Video Acceleration (VA) API (shared library)