Code Samples
Simplify development and propel your projects with these code samples.
Installation Packages
The Intel® Media SDK samples are packaged separately and require a separate download. They are built with a recent version of CMake*, which can be downloaded from its website or installed via standard package management.
Download Samples
GitHub*: Version 6.0.0.142
Latest Code Sample Packages
Windows Media* (.msi) | GitHub
Embedded Linux* (.zip)
Previous Code Sample Packages
Install on Windows*
Note These instructions are unnecessary for Linux. The files automatically install in the correct directory.
- Browse to [install-dir]\media_sdk\samples\download.html.
- To download the package, select download.html.
- Run the package, and then follow the instructions from the installation wizard.
What's Included
Sample Name |
Description |
---|---|
Transcoding |
sample_multi_transcode Transforms an elementary video stream from one compressed format to another. |
Encoding |
sample_encode Converts raw video frames into an elementary compressed stream. |
Decoding |
sample_decode Transforms a compressed video stream into raw frames using HEVC decode and VP8 decode. The plug-in and the included sample_decvpp demonstrate decode functions with color conversion of raw video sequences. |
Video Processing |
sample_vpp Demonstrates how to use algorithms that process raw frames using denoising, deinterlacing, inverse telecine, and color conversion techniques. |
OpenCL™ Standard Video Motion Estimation (VME) |
Provides step-by-step guidelines on using Intel’s motion estimation extension for the OpenCL standard. The motion estimation extension includes a set of host-callable functions for frame-based VME. |
OpenCL™ Application Interoperability |
ocl_media_sdk_interop Shows how to use Intel Media SDK and Intel® SDK for OpenCL™ applications together for efficient video decoding and fast post-processing. |
HEVC GPU Assist APIs |
sample_h265_gaa Supplies examples of the typical data and control flow for using HEVC GPU Assist APIs effectively. |
Deprecated Samples
Sample Name |
Description |
---|---|
Full Transcoding |
sample_full_transcode
|
Video Conferencing |
sample_videoconf
|
Transcoding Sample Using Microsoft DirectShow* |
sample_dshow_plugins Demonstrates how to use the Intel Media SDK with DirectShow filters to compress and decompress video files
Shows how to use the Intel Media SDK and sample DirectShow filters to play and transcode media files (streams) |
Transcoding Sample Using Microsoft Media Foundation |
sample_mfoundation_transcode Demonstrates how to use this framework to transcode media files (streams) in a Windows Presentation Foundation (WPF) application |
Transcoding Sample Using Windows 8 |
sample_win8ui_transcode Shows how to use the API of an H.264 video encoder (a Media Foundation transform) to transcode a video file to a configurable format |
Product and Performance Information
Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.