- Saved searches
- Use saved searches to filter your results more quickly
- Build Media SDK on Ubuntu
- Source Package: intel-mediasdk (22.3.0-1) [universe]
- Original Maintainer (usually from Debian):
- External Resources:
- Other Packages Related to intel-mediasdk
- Download intel-mediasdk
- Saved searches
- Use saved searches to filter your results more quickly
- Build Media SDK on CentOS
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Intel-Media-SDK / MediaSDK Public archive
Build Media SDK on Ubuntu
- Media SDK for Linux
- Media SDK in Linux Distributions
- Intel Graphics Support in Linux Kernels
- Media SDK dispatcher for Windows
- Media SDK for UWP applications
- Build FFmpeg QSV
- RTMP streaming with FFmpeg QSV
- FFmpeg QSV Multi GPU Selection on Linux
- Build GStreamer MSDK
- Running on GPU under docker
- Intel media stack on Ubuntu
- Performance monitoring and debug
- Build Media SDK on Ubuntu
- Build Media SDK on CentOS
- Build Media SDK on Windows
- Media SDK CI build configurations
- Run CI smoke tests
- Media SDK Shaders (EU Kernels)
- Previous Media SDK products
- MFE Overview
- Media SDK MFE Architecture
- MFE API
Clone this wiki locally
This build documentation was tested under clear Ubuntu Server 18.04 (with gcc-7.3.0, gcc-8.1.0 and clang-6.0 compilers) but it should work on another OS distributions with various versions of gcc and clang.
Prepare environment and dependencies
Install all required common packages:
sudo apt-get install git cmake pkg-config
Build and install LibVA and its dependencies:
The minimum required meson version is 0.37.0 or later
sudo apt-get install meson libdrm-dev automake libtool
Take latest libva version:
git clone https://github.com/intel/libva.git cd libva
Or you can take the recommended working version libva (by checkout to latest tag ):
git clone https://github.com/intel/libva.git cd libva # fetch available tags git fetch --tags # find latest latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`) git checkout $latest_tag
To install it on your system:
Also it can be built and installed with using meson
meson build ninja -C build cd build sudo ninja install
[Optional] In addition you can build and install some optional dependencies:
Packages needed for test_monitor :
sudo apt-get install googletest libgtest-dev libpciaccess0 libpciaccess-dev
Packages needed for rotate_opencl plugin :
sudo apt-get install opencl-headers ocl-icd-dev ocl-icd-opencl-dev #Download package from https://github.com/intel/compute-runtime/releases/tag/18.24.10921 dpkg -i intel-opencl_18.24.10921_amd64.deb
Packages needed for wayland :
sudo apt-get install libffi libffi-dev expat expat-dev #Install package: wget https://wayland.freedesktop.org/releases/wayland-1.8.93.tar.xz tar xf wayland-1.8.93.tar.xz cd wayland-1.8.93 ./configure --disable-documentation make make install
sudo apt-get install libX11-dev #After that rebuild libva
Use the following Git* command (pay attention that to get full Media SDK sources bundle it is required to have Git* with LFS support):
git clone https://github.com/Intel-Media-SDK/MediaSDK msdk cd msdk
Configure and build Media SDK install
Use cmake version 2.8.5 or later
mkdir build && cd build cmake .. make
ProTip: Output of cmake will have full information about the configuration in which Media SDK will be built. Read it carefully.
ProTip: Use following command to speed up the build: make -j12 where 12 — is number of cores on your host
After that you will have all Media SDK binaries in the folder build .
In case of clang building
In addition to all previous steps install clang and configure cmake to use clang during the build:
sudo apt-get install clang-8 mkdir build && cd build cmake .. -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 make
If you want to install Media SDK on your host run:
Source Package: intel-mediasdk (22.3.0-1) [universe]
Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.
Original Maintainer (usually from Debian):
It should generally not be necessary for users to contact the original maintainer.
External Resources:
The following binary packages are built from this source package: libmfx-dev Intel Media SDK — development files libmfx-tools Intel Media SDK — tools libmfx1 Intel Media SDK — shared library
Other Packages Related to intel-mediasdk
- build-depends
- build-depends-indep
- adep: debhelper-compat (= 12) Package not available
- adep: cmake cross-platform, open-source make system
- adep: libdrm-dev Userspace interface to kernel DRM services — development files
- adep: libgmock-dev Google’s framework for writing C++ tests
- adep: libgtest-dev Google’s framework for writing C++ tests
- adep: libva-dev Video Acceleration (VA) API for Linux — development files
- adep: libx11-dev X11 client-side library (development headers)
- adep: libx11-xcb-dev Xlib/XCB interface library (development headers)
- adep: libxcb-dri3-dev X C Binding, dri3 extension, development files
- adep: libxcb-present-dev X C Binding, present extension, development files
- adep: pkg-config manage compile and link flags for libraries
Download intel-mediasdk
File Size (in kB) MD5 checksum intel-mediasdk_22.3.0-1.dsc 2.1 kB 5eeac5450240c14466b5bac2bc358fa3 intel-mediasdk_22.3.0.orig.tar.gz 11,384.7 kB fa13626be0303c1e73e24bfe172a61a8 intel-mediasdk_22.3.0-1.debian.tar.xz 5.0 kB bde364eb317266c0ac2908f72f1814c2 Debian Package Source Repository ( VCS : Git) https://salsa.debian.org/debian/intel-mediasdk.git Debian Package Source Repository (Browsable) https://salsa.debian.org/debian/intel-mediasdk
This page is also available in the following languages:
Content Copyright © 2023 Canonical Ltd.; See license terms. Ubuntu is a trademark of Canonical Ltd. Learn more about this site.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Intel-Media-SDK / MediaSDK Public archive
Build Media SDK on CentOS
- Media SDK for Linux
- Media SDK in Linux Distributions
- Intel Graphics Support in Linux Kernels
- Media SDK dispatcher for Windows
- Media SDK for UWP applications
- Build FFmpeg QSV
- RTMP streaming with FFmpeg QSV
- FFmpeg QSV Multi GPU Selection on Linux
- Build GStreamer MSDK
- Running on GPU under docker
- Intel media stack on Ubuntu
- Performance monitoring and debug
- Build Media SDK on Ubuntu
- Build Media SDK on CentOS
- Build Media SDK on Windows
- Media SDK CI build configurations
- Run CI smoke tests
- Media SDK Shaders (EU Kernels)
- Previous Media SDK products
- MFE Overview
- Media SDK MFE Architecture
- MFE API
Clone this wiki locally
This build documentation was tested under clear CentOS 7.4 (with gcc-6.3.1 compiler) but it should work on another OS distributions with various versions of gcc and clang.
Prepare environment and dependencies
Install all required common packages:
sudo yum install git cmake3 pkgconfig
Build and install LibVA and its dependencies:
sudo yum install libdrm libdrm-devel automake autoconf libtool yum install centos-release-scl yum install devtoolset-6 #Take the recommended working version libva: https://github.com/intel/libva/releases/tag/2.3.0 #For that do the following: git clone https://github.com/intel/libva.git cd libva git checkout tag/2.6.0.pre1 scl enable devtoolset-6 bash ./autogen.sh make #To install it on your system: sudo make install
[Optional] In addition you can build and install some optional dependencies:
sudo yum install epel-release
Packages needed for test_monitor :
sudo yum install libpciaccess libpciaccess-devel
Packages needed for rotate_opencl plugin :
sudo yum install ocl-icd ocl-icd-devel #Compile OpenCL from these cources: https://github.com/intel/compute-runtime/releases/tag/18.24.10921 #By using these instructions: https://github.com/intel/compute-runtime/blob/master/documentation/BUILD_Centos.md sudo rpm -ihv intel-opencl-1.0-0.x86_64-igdrcl.rpm
Packages needed for wayland :
yum install libffi libffi-devel expat expat-devel #Install package: wget https://wayland.freedesktop.org/releases/wayland-1.8.93.tar.xz tar xf wayland-1.8.93.tar.xz cd wayland-1.8.93 ./configure --disable-documentation # If wayland-client can't be found while cmake try this: ./configure --disable-documentation --prefix=/usr --libdir=/usr/lib64 make make install
yum install libX11 libXext libXfixes libGL libGL-devel libX11-devel #After that rebuild libva
Packages needed for Googletest :
#Version of googletest must be at least 1.7 git clone https://github.com/google/googletest cd googletest mkdir build cd ./builld cmake3 -DCMAKE_CXX_FLAGS="-fPIC -pthread" .. make make install
Use the following Git* command (pay attention that to get full Media SDK sources bundle it is required to have Git* with LFS support):
git clone https://github.com/Intel-Media-SDK/MediaSDK msdk cd msdk
Configure and build Media SDK install
Use cmake version 3.6.1 or later
scl enable devtoolset-6 bash export PKG_CONFIG_PATH=$ :/usr/local/lib/pkgconfig mkdir build && cd build cmake3 .. make
ProTip: Output of cmake3 will have full information about the configuration in which Media SDK will be built. Read it carefully.
ProTip: Use following command to speed up the build: make -j12 where 12 — is number of cores on your host
After that you will have all Media SDK binaries in the folder build .
In case of clang building
In addition to all previous steps install clang and configure cmake to use clang during the build:
yum install clang-6.0 mkdir build && cd build cmake3 .. -DCMAKE_C_COMPILER=clang-6.0 -DCMAKE_CXX_COMPILER=clang++-6.0 make
If you want to install Media SDK on your host run: