DISCONTINUATION OF PROJECT.
This project will no longer be maintained by Intel.
This project has been identified as having known security escapes.
Intel has ceased development and contributions including, but not limited to, maintenance, bug and security fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.
For continued support and access to new features, Intel® Media SDK users are encouraged to read the transition guide on Media SDK Support Matrix for more information.
Contents
Intel® Media SDK provides a plain C API to access hardware-accelerated video decode, encode and filtering on Intel® Gen graphics hardware platforms. Implementation written in C++ 11 with parts in C-for-Media (CM).
Supported video encoders: HEVC, AVC, MPEG-2, JPEG, VP9
Supported video decoders: HEVC, AVC, VP8, VP9, MPEG-2, VC1, JPEG, AV1
Supported video pre-processing filters: Color Conversion, Deinterlace, Denoise, Resize, Rotate, Composition
Media SDK is a part of Intel software stack for graphics:
Pay attention that Intel® Media SDK lifetime comes to an end in a form it exists right now. In particular,
All future development is planned to happen within
features got dropped).
New
Notes: [1] KBLx is one of: KBL (Kaby Lake), CFL (Coffe Lake), WHL (Whiskey Lake), CML (Comet Lake), AML (Amber Lake) [2] On the multi GPU system which has both "Legacy" and "VPL" GPUs Media SDK Dispatcher loads Media SDK Legacy
Runtime (libmfxhw64.so.1) by default. VPL Runtime (libmfx-gen.so.1.2) or Media SDK Runtime (libmfxhw64.so.1)
can be explicitly selected via the following environment variable: Intel Media SDK depends on Intel Media Driver for VAAPI. Intel Media SDK is licensed under MIT license. See LICENSE for details. See CONTRIBUTING for details. Thank you! To get copy of Media SDK documentation use Git* with ./doc folder. Key documents: Generic samples information is available in Media Samples Guide Linux Samples Readme Documents: Visit our Tutorials
Use Media SDK via popular frameworks: Learn best practises and borrow fragments for final solutions: Operating System: Software:
GPU supported by
Runtime loaded by libmfx.so.1
GPU
Type
libmfxhw64.so.1
libmfx-gen.so.1.2
libmfxhw64.so.1
libmfx-gen.so.1.2
BDW (Broadwell)
Legacy
✔
✔
SKL (Skylake)
Legacy
✔
✔
BXT (Broxton)
Legacy
✔
✔
APL (Apollo Lake)
Legacy
✔
✔
KBLx [1]
Legacy
✔
✔
ICL (Ice Lake)
Legacy
✔
✔
JSL (Jasper Lake)
Legacy
✔
✔
EHL (Elkhart Lake)
Legacy
✔
✔
TGL (Tiger Lake)
Legacy
✔
✔
✔
DG1 (Xe MAX)
Legacy
✔
✔
✔
SG1
Legacy
✔
✔
RKL (Rocket Lake)
Legacy
✔
✔
✔
ADL-S (Alder Lake S)
VPL
✔
✔
ADL-P (Alder Lake P)
VPL
✔
✔
Future platforms...
VPL
✔
✔
Multi GPU
Legacy + VPL
See above
✔
via env var [2]
export INTEL_MEDIA_RUNTIME=ONEVPL # for VPL Runtime: libmfx-gen.so.1.2
or
export INTEL_MEDIA_RUNTIME=MSDK # for Media SDK Runtime: libmfxhw64.so.1
Dependencies
License
How to contribute
Documentation
Products which use Media SDK
Media SDK test and sample applications may require additional software packages (for example, X Server, Wayland, LibDRM, etc.) to be functional.
Operating System: Windows (experimental)
Requires Microsoft Visual Studio 2017 for building.
Get sources with the following Git* command (pay attention that to get full Media SDK sources bundle it is required to have Git* with
Visit our [Github Wiki]( Enabling Instrumentation and Tracing Technology (ITT)
To enable the Instrumentation and Tracing Technology (ITT) API you need to: and configure Media SDK with the -DENABLE_ITT=ON. In case of VTune it will be searched in the default location (/opt/intel/vtune_amplifier). You can adjust ITT search path with either CMAKE_ITT_HOME or CMAKE_VTUNE_HOME. Once Media SDK was built with ITT support, enable it in a runtime creating per-user configuration file ($HOME/.mfx_trace) or a system wide configuration file (/etc/mfx_trace) with the following
content: Windows build contains only samples and dispatcher library. MediaSDK library DLL is provided with Windows GFX driver. Intel Media SDK: /git_opensource/MediaSDK
Option
Values
Description
API
master, latest, major.minor
Build mediasdk library with specified API. 'latest'
will enable experimental features. 'master' will
configure the most recent available published API
(default: master).
ENABLE_OPENCL
ON|OFFEnable OpenCL dependent code to be built (default: ON)
ENABLE_X11_DRI3
ON|OFFEnable X11 DRI3 dependent code to be built (default: OFF)
ENABLE_WAYLAND
ON|OFFEnable Wayland dependent code to be built (default: OFF)
ENABLE_ITT
ON|OFFEnable ITT (VTune) instrumentation support (default: OFF)
ENABLE_TEXTLOG
ON|OFFEnable textlog trace support (default: OFF)
ENABLE_STAT
ON|OFFEnable stat trace support (default: OFF)
BUILD_ALL
ON|OFFBuild all the BUILD_* targets below (default: OFF)
BUILD_RUNTIME
ON|OFFBuild mediasdk runtime, library and plugins (default: ON)
BUILD_SAMPLES
ON|OFFBuild samples (default: ON)
BUILD_TESTS
ON|OFFBuild unit tests (default: OFF)
USE_SYSTEM_GTEST
ON|OFFUse system gtest version instead of bundled (default: OFF)
BUILD_TOOLS
ON|OFFBuild tools (default: OFF)
MFX_ENABLE_KERNELS
ON|OFFBuild mediasdk with
Setting
Values
Description
CMAKE_ITT_HOME
Valid system path
Location of ITT installation,
takes precendence over
CMAKE_VTUNE_HOME
(by default not defined)
CMAKE_VTUNE_HOME
Valid system path
Location of VTune installation
(default: /opt/intel/vtune_amplifier)
Output=0x10
Known limitations
Recommendations
See also
发行版
贡献者
全部
近期动态
搜索帮助