Code Samples

Simplify development and propel your projects with these code samples.

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.

Sample Name
Description
Full Transcoding

sample_full_transcode

  • Performs full-scale transcoding of media files
  • Allows changing video and audio compression formats, and container formats
  • Shows new splitters use, a muxers sample (using FFmpeg), and the audio library
Video Conferencing

sample_videoconf

  • Performs encoding of raw frames into an elementary compressed stream
  • Shows various encoding features specific to a video conferencing use case
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

Ready to Get Started?


Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804