Installation of Intel Media SDK / Media Server Studio¶
The Intel Media SDK (Windows) and Intel Media Server Studio (Linux) represent a cross-platform API that consists of a set of libraries and tools to get fast video playback, encoding and processing to applications. The Unified Streaming Platform uses several libraries from the SDK to enable transcoding.
Using the Intel Media SDK or Media Server Studio, 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 Intel Media SDK in software mode. Do note that this still requires specific hardware.
The basic prerequisite for installing the Intel Media SDK on Windows is computer or VM running Windows version 10 or Server 2016. It must be 64-bit. For any additional requirements, please refer to Intel's documentation.
To start, download the free community edition of the Intel Media SDK, version 2018 R2. Then install it:
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 Intel Media SDK and Capture were successful, using the
--frame_accurate parameter on your command line will produce frame accurate
clips when specifying the begin and end times using the
#!/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"
Enabling hardware decoding with the Intel Media Server Studio 2018 R1 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.
Having installed the necessary packages, you need to install
(Installation). After you have done that, you can test your setup
by running the following command:
#!/bin/bash unified_capture -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:05.000"
If the installation of the Intel Media Server Studio and
successful, the above command creates a new clip from one of our demo streams,
using frame accurate capturing. This can be checked by looking at the standard
output of Capture, which should look something like this (notice the info
on samples that are being transcoded):
unified_capture version=1.10.9 (18004) Copyright 2007-2019 CodeShop B.V. I0.000 input: http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/Manifest?t=00:01:00.000-00:01:05.000 I0.000 output: file:///home/test/test.ismv http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/Manifest?vbegin=1970-01-01T00:01:00Z&vend=1970-01-01T00:01:05Z 25%[==============> ] I0.155 Transcoding 96 samples of description: I0.155 vide/avc1 dref=1 bitrate=401000/0 size=224x100 sar=1:1 dar=56:25 I0.155 avc profile=66 compatibility=192 level=20 I0.155 To sample entry: I0.155 avc profile=66 compatibility=192 level=20 I0.208 Transcoding 96 samples of description: I0.208 vide/avc1 dref=1 bitrate=751000/0 size=448x200 sar=1:1 dar=56:25 I0.208 avc profile=66 compatibility=192 level=22 I0.208 To sample entry: I0.208 avc profile=66 compatibility=192 level=22 I0.305 Transcoding 96 samples of description: I0.305 vide/avc1 dref=1 bitrate=1001000/0 size=784x350 sar=1:1 dar=56:25 I0.305 avc profile=77 compatibility=64 level=31 I0.305 To sample entry: I0.305 avc profile=77 compatibility=64 level=31 I0.537 Transcoding 96 samples of description: I0.537 vide/avc1 dref=1 bitrate=1502000/0 size=1680x750 sar=1:1 dar=56:25 I0.537 avc profile=100 compatibility=0 level=40 I0.537 To sample entry: I0.537 avc profile=100 compatibility=0 level=40 I1.204 Transcoding 96 samples of description: I1.204 vide/avc1 dref=1 bitrate=2203000/0 size=1680x750 sar=1:1 dar=56:25 I1.204 avc profile=100 compatibility=0 level=40 I1.204 To sample entry: I1.204 avc profile=100 compatibility=0 level=40 100%[==========================================================>] 919 KB/s I1.888 Finished writing: file:///home/test/test.ismv (1627773 bytes) total running time is 1.911116 seconds Status: 200 FMP4_OK