Skip to content

Xiaogang-Li/MediaSDK

 
 

Repository files navigation

Intel® Media SDK

Intel® Media SDK provides an API to access hardware-accelerated video decode, encode and filtering on Intel® platforms with integrated graphics.

Supported video encoders: HEVC, AVC, MPEG-2, JPEG
Supported Video decoders: HEVC, AVC, VP8, MPEG-2, VC1, JPEG
Supported video pre-processing filters: Color Conversion, Deinterlace, Denoise, Resize, Rotate, Composition

Important note

The current version of Intel Media SDK is compatible with the open source Intel Media Driver for VAAPI. Intel Media SDK depends on LibVA.

FAQ

You can find answers for the most frequently asked questions here.

Table of contents

License

Intel Media SDK is licensed under MIT license. See LICENSE for details.

How to contribute

See CONTRIBUTING for details. Thank you!

Documentation

Please find full documentation under the doc/ folder. Key documents:

You may also wish to visit Intel Media Server Studio support page for additional documentation.

Products which use Media SDK

System requirements

Operating System: Linux

Software:

Hardware: Intel platforms supported by the Intel Media Driver for VAAPI

Media SDK test and sample applications may require additional software packages (for example, X Server, Wayland, LibDRM, etc.) to be functional.

How to build

Requirements

  • Git* (with LFS support)
  • Perl* v5.16+
  • Cmake* v2.8+
  • GCC* v4.8+
  • LibVA

Build steps

Get sources

git clone https://github.com/Intel-Media-SDK/MediaSDK msdk
cd msdk

Configure build with GCC (default) compiler:

perl tools/builder/build_mfx.pl --cmake=intel64.make.release

This will build MSDK binaries and MSDK samples.

If you want to configure build with CLang compiler use the following command:

perl tools/builder/build_mfx.pl --cmake=intel64.make.release.clang

Run build:

make -j8 -C __cmake/intel64.make.release

Enabling Instrumentation and Tracing Technology

To enable the Instrumentation and Tracing Technology API you need either Intel® VTune™ Amplifier installed or to manually build an open source version. You can get ITT source files from GitHub and build it on your own.

Please note that auto detection of the Intel VTune Amplifier configuration is not supported. The next step is mandatory if you want to use this feature: set $ITT_PATH so $ITT_PATH/include/ittnotify.h and $ITT_PATH/libittnotify64.a will be valid paths. MSDK build system will automatically detect it.

See also

Intel Media SDK: https://software.intel.com/en-us/media-sdk

Packages

No packages published

Languages

  • C++ 96.5%
  • C 2.9%
  • CMake 0.3%
  • Objective-C 0.2%
  • Python 0.1%
  • Makefile 0.0%