Installation of Intel Media SDK¶
The Intel Media SDK is cross-platform API that consists of a 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 acceleration. The latter speeds up the process considerably, but has very specific hardware requirements. Therefore, if you want to use hardware acceleration, we recommend you to use an off-the-shelf product like Artesyn’s SharpStreamer. The documentation provided here is only aimed at using the Media SDK in software mode. Do note that this still requires specific hardware, as detailed in the documentation that is linked to in the Intel Media SDK release notes.
When referring to Intel Media Server Studio SDK names and terms, the version numbers and asset links are subject to change.
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.
When installing, only the SDK (Software Development Kit) component is necessary. Please uncheck any other options, like shown below:
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 successful, using the
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/tears-of-steel/tears-of-steel.ism/Manifest?t=00:00:00.000-00:04:00.000"
Below you will find instructions for installing the Intel Media SDK on CentOS, as well as a simple way to check whether your installation was successful. The guide is specifically targeted at release 7.2.1511 and presupposes a clean installation of CentOS.
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):
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
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
Testing your installation¶
Having installed the necessary packages, you need to install
add your license key. The mp4split version that you should 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/tears-of-steel/tears-of-steel.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 successful, 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