Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Installing Intel Media SDK under Linux Ubuntu

DVrta
Novice
2,103 Views

Dear *,

we are trying to install nad run Intel MSDK under Ubuntu on Intel Apollo Lake N4200.

Please can you tell us the right way to build and install https://github.com/Intel-Media-SDK/MediaSDK on our product ?

What are the necessary  steps to build, install nad check if the MSDK if working ok?

Operating system: Linux Ubuntu 16.04 ( kernel 4.4)

Processor : Intel Apollo Lake N4200

Graphic driver: i915_bpo

Best Regards,

David.

0 Kudos
3 Replies
Michael_C_Intel1
Moderator
2,103 Views

Hi DavidV,

EDIT:

I was told that N4200 was should function with the Open Source Media SDK per the driver page here: https://github.com/intel/media-driver/.

BXT/APL: Limited validation was performed; product quality expected in Q1’2018.

Please give MarkL's instructions a shot... https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack... in the case you already have and you see something unclear, please consider adding to this thread. Thanks...

PREVIOUS:

That processor SKU isn't supported by the current version of Open Source Intel Media SDK for Linux.

Currently, Apollo Lake and the SKU you mention is aligned with the Intel Media SDK for Embedded Linux available here: https://software.intel.com/en-us/media-sdk/choose-download/embedded-iot.

  • In the most recent package IntelMediaSDK2017R2_1forEmbeddedLinux , you'll see instructions in the pdf file mediasdk_getting_started_guide.pdf . It calls out instructions for new and returning users respectively.

For Open Source Intel Media SDK for LInux Users can find  matching the newest OS and processor support here: 

-MichaelC

0 Kudos
Mark_L_Intel1
Moderator
2,103 Views

Hi David,

Since you mentioned https://github.com/Intel-Media-SDK, we are assuming you tried to install it by build yourself. 

If you just want to use the Media SDK, there are 2 ways:

1. As Michael said in his first post, download the Media SDK for Embedded and go through the installation process by this document:

https://software.intel.com/en-us/articles/how-to-setup-media-server-studio-on-secondary-os-of-linux

this method replaces the default kernel with kernel 4.4

2. As Michael said in his modified post, you can following the build guide to build the whole set of the media software components. The guide has included all you expected: the manual steps, the script and the validation methods. Noted the default script doesn't apply to Apllo Lake, you have to check the instruction for manual build to change the default script when build the Media SDK library.

Let me know if you have further questions.

Mark

0 Kudos
Jia__Wenhui
Beginner
2,103 Views

I'm facing the same issue. Fresh install Ubuntu 16.04 on NUC6i7KYK. Updated kernel to 4.14.16 and followed the following link to build and install Media SDK: https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack

Compile works, but sample code failed to run with error MFX_ERR_UNSUPPORTED when calling MFXInit.

vainfo output:

libva info: VA-API version 1.0.0

libva info: va_getDriverName() returns 0

libva info: User requested driver 'iHD'

libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

libva info: Found init function __vaDriverInit_1_0

libva info: va_openDriver() returns 0

vainfo: VA-API version: 1.0 (libva 2.0.1.pre1)

vainfo: Driver version: Intel iHD driver - 2.0.0

vainfo: Supported profile and entrypoints

      VAProfileNone                   :       VAEntrypointVideoProc

      VAProfileNone                   :       VAEntrypointStats

      VAProfileMPEG2Simple            :             VAEntrypointVLD

      VAProfileMPEG2Simple            :             VAEntrypointEncSlice

      VAProfileMPEG2Main              :              VAEntrypointVLD

      VAProfileMPEG2Main              :              VAEntrypointEncSlice

      VAProfileH264Main               :  VAEntrypointVLD

      VAProfileH264Main               :  VAEntrypointEncSlice

      VAProfileH264Main               :  VAEntrypointFEI

      VAProfileH264Main               :  VAEntrypointEncSliceLP

      VAProfileH264High               :   VAEntrypointVLD

      VAProfileH264High               :   VAEntrypointEncSlice

      VAProfileH264High               :   VAEntrypointFEI

      VAProfileH264High               :   VAEntrypointEncSliceLP

      VAProfileVC1Simple              :  VAEntrypointVLD

      VAProfileVC1Main                :   VAEntrypointVLD

      VAProfileVC1Advanced            :             VAEntrypointVLD

      VAProfileJPEGBaseline           :               VAEntrypointVLD

      VAProfileJPEGBaseline           :               VAEntrypointEncPicture

      VAProfileH264ConstrainedBaseline:  VAEntrypointVLD

      VAProfileH264ConstrainedBaseline:  VAEntrypointEncSlice

      VAProfileH264ConstrainedBaseline:  VAEntrypointFEI

      VAProfileH264ConstrainedBaseline:  VAEntrypointEncSliceLP

      VAProfileVP8Version0_3          :            VAEntrypointVLD

      VAProfileHEVCMain               : VAEntrypointVLD

      VAProfileHEVCMain               : VAEntrypointEncSlice

      VAProfileHEVCMain               : VAEntrypointFEI

Help, please.

Best regards,

Wenhui

0 Kudos
Reply