Open Source Media Framework - Linux* Video Acceleration API (VAAPI) Video Stack Basic Packages

ID 标签 757374
已更新 3/10/2022
版本 Latest
公共

author-image

作者

H.264/H.265 Software Encode Library:

For Ubuntu* (18.04)

  • x264: using for the software encode for ffmpeg AVC/H264 encode
#apt-get install -y libx264-dev
  • x265: using for the software encode for ffmpeg HEVC/H.265 encode
#apt-get install -y libx265-dev

For CentOS* (7.5)

  • x264: using for the software encode for ffmpeg AVC/H.264 encode
# git clone http://git.videolan.org/git/x264
#cd x264
# ./configure --enable-shared --prefix=$ROOT_INSTALL_DIR
#make -j8
#make install
  • x265: using for the software encode for ffmpeg HEVC/H.265 encode

#wget https://bitbucket.org/multicoreware/x265/downloads/x265_2.9.tar.gz
#tar xf x265_2.9.tar.gz && cd x265_2.9/build/linux
#cmake --enable-shared ../../source -DCMAKE_INSTALL_PREFIX=$ROOT_INSTALL_DIR
#make -j8
#make install

LibDRM:

#git clone https://gitlab.freedesktop.org/mesa/drm.git $SRC_DIR/drm

#cd $SRC_DIR/drm

For Ubuntu 18.04

#./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu

For CentOS 7.5

#./autogen.sh --prefix=/usr --libdir=/usr/lib64

#make -j8

#make install

2D Driver (xf86-video-intel)

#git clone https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git $SRC_DIR/xf86-video-intel

#cd $SRC_DIR/xf86-video-intel

#./autogen.sh --prefix=$ROOT_INSTALL_DIR

#make -j8

#make install

GMMLib

#git clone https://github.com/intel/gmmlib $SRC_DIR/gmmlib

#cd $SRC_DIR/gmmlib

#mkdir build

#cd build

#cmake $SRC_DIR/gmmlib -DCMAKE_INSTALL_PREFIX=$ROOT_INSTALL_DIR

#make -j8

#make install

VAAPI and Video Driver

  • VAAPI/LibVA

#git clone https://github.com/intel/libva $SRC_DIR/libva

#cd $SRC_DIR/libva

#./autogen.sh --prefix=$ROOT_INSTALL_DIR

#make -j8

#make install

  • Libva-Utils

#git clone https://github.com/intel/libva-utils $SRC_DIR/libva-utils

#cd $SRC_DIR/libva-utils

#./autogen.sh --prefix=$ROOT_INSTALL_DIR --enable-tests

#make

#make install

  • Video Driver

(Recommend to use the Intel iHD video driver)

#git clone https://github.com/intel/media-driver $SRC_DIR/media-driver

#cd $SRC_DIR/media-driver

#mkdir build

#cd build

#cmake $SRC_DIR/media-driver -DCMAKE_INSTALL_PREFIX=$ROOT_INSTALL_DIR

#make -j8

#make install

Intel MediaSDK: using for all ffmpeg-qsv/gst-msdk(under gst-pugin-bad) media relative path

#git clone https://github.com/Intel-Media-SDK/MediaSDK $SRC_DIR/MediaSDK

#cd $SRC_DIR/MediaSDK

#mkdir build

#cd build

#cmake $SRC_DIR/MediaSDK -DCMAKE_INSTALL_PREFIX=$ROOT_INSTALL_DIR

#make -j8

#make install

Project

Open Source Media Framework

"