Installation of Intel Media SDK

Intel Media SDK

The Intel Media SDK is cross-platform API that consists ofa set of libraries and tools to to get fast video playback, encoding and processing to applications. Our software uses several libraries from the SDK to enable transcoding.

Using the Media SDK, videos and audio can be software transcoded or with hardware accelaration. Needless to say, the latter speeds up the process considerably. However, the requirements to use hardware accelaration with the Media SDK are rather specific. Therefore, we currently only provide documentation on how to use the Media SDK in software mode.

If you would like to enable hardware accelaration with the Media SDK running on Windows, please see the Intel Media Server Studio website for a list of prerequisites. Hardware accelaration on Linux is possible as well, but it not only requires specific hardware, but also a different installation process than the one detailed below. Contact us if you are interested in using such a setup with our software.

Note

When referring to Intel Media Server Studio SDK names and terms, the version numbers and asset links are subject to change.

Windows

The prerequisites for installing the Intel Media SDK on Windows are:

  • A computer or VM running Windows version 8, 10 or Server 2012. It must be 64-bit.
  • The Intel Media Server Studio SDK (Software Development Kit).

To start, download the free community edition of the Intel Media Server Studio SDK. Install it on a 64-bit version of either Windows 8, 10, or Server 2012.

../../_images/intel.png

When installing, only the SDK (Software Development Kit) component is necessary. Please uncheck any other options, like shown below:

../../_images/intel-install.png

When the installer prompts you to reboot, please do so. Once up and running again you may install the 64-bit Windows version of Unified Capture. If both the installation of the Media SDK and Capture were succesful, using the --frame_accurate parameter on your command line will produce frame accurate clips when specifying the begin and ending times using the t=-parameter. For example:

#!/bin/bash

unified_capture -o clip1.ismv --frame_accurate \
  "http://demo.unified-streaming.com/video/oceans/oceans.ism/Manifest?t=00:00:00.000-00:04:00.000"

CentOS (7.2.1511)

Note

Enabling hardware decoding with the Intel Media SDK on Linux brings along much more requirements and calls for a different setup procedure. Contact us if you are interested in using such a setup with our software.

Intel defines release 7.2.1511 of CentOS as their Gold standard for Linux installations of their Media SDK. Because of this, we recommend using this specific release, despite that it has been deprecated. The steps below assume a fresh installation of this release. Also, a minimum of two available CPU cores is a prerequisite.

If you need to install CentOS version 7.2.1511, it can be found here (please keep the installation as is and don't run any yum updates after installing it):

http://vault.centos.org/7.2.1511/

Then, the following steps will install only the packages from the Intel Media SDK that are required for software transcoding. Please note that when installing the libva-1.67.0.pre1-59511.el7.x86_64.rpm-package, you should include the --nodeps option, as specified below.

#!/bin/bash

sudo yum install wget
wget http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/11167/MediaServerStudioEssentials2017R2.tar.gz
tar -zxvf MediaServerStudioEssentials2017R2.tar.gz
tar -zxvf MediaServerStudioEssentials2017R2/SDK2017Production16.5.1.tar.gz
cd MediaServerStudioEssentials2017R2/SDK2017Production16.5.1/CentOS
sudo rpm -Uvh --nodeps libva-1.67.0.pre1-59511.el7.x86_64.rpm
sudo rpm -Uvh libdrm-2.4.66-59511.el7.x86_64.rpm
sudo rpm -Uvh intel-linux-media-16.5.1-59511.el7.x86_64.rpm
sudo reboot

Having installed the necessary packages, you will have to install mp4split and add your license key. The mp4split version that you need to install is a specific version that includes transcoding capabilities that are necessary for frame accurate capturing. This version is not generally available yet, so please contact us so that we can provide it to you.

#!/bin/bash

sudo rpm -Uvh mp4split-1.7.28-1.x86_64.rpm
echo "<your-usp-license-key>" > ./usp-license.key
unified_capture --license-key=~/usp-license.key -o testrun.ismv --frame_accurate \
  "http://demo.unified-streaming.com/video/oceans/oceans.ism/Manifest?t=00:01:00.000-00:01:04.000"

If the installation of the Intel Media SDK and the mp4split version with transcoding capabilities was succesful, the last command above creates a new clip from one of the videos that is part of our demo, and will use frame accurate capturing to do so. This can be checked by looking at the last part of the standard output of the Unified Capture command, which should like something like this:

Starting transcode
Finished transcode
100%[==========================================================>] 1199 KB/s
Finished writing: file:///<path>/testrun.ismv (2873009 bytes)
total running time is 4.458865 seconds
Status: 200 FMP4_OK