Simplify development and propel your projects with these code samples.
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.
GitHub*: Version 220.127.116.11
Latest Code Sample Packages
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.
Code samples help you understand functions and controls. Use them with the relevant tutorials for a complete training experience.
Transforms an elementary video stream from one compressed format to another.
Converts raw video frames into an elementary compressed stream.
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.
Demonstrates how to use algorithms that process raw frames using denoising, deinterlacing, inverse telecine, and color conversion techniques.
|OpenCL™ Standard Video Motion Estimation (VME)||ocl_motion_estimation
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.
|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
sample_dshow_player 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