复制自网址:https://software.intel.com/en-us/intel-media-server-studio-support/code-samples

Code Samples

Media Server Studio offers many code examples through two different packages i.e. “samples” and “tutorials” to get you started.

  • The sample package is a collection of code examples that showcase new and important media features of the latest APIs, and are optimized to measure performance on the underlying hardware. Here is the samples guide – Linux* | Windows* for more details.
  • The tutorial package provides step-by-step guides to learn basic media features, understand the pipeline, and are geared toward beginning users.
  • Case Studies – See customer examples and use cases with Intel Media Server Studio

Download Samples packages

Download Tutorial packages

Tool Code Samples

Intel® SDK for OpenCL™ Applications


Intel Media Server Studio Samples 

Sample applications demonstrate how to incorporate the Intel Media Server Studio API into various applications. These examples showcase many new and important features available in new releases.

Transcoding Sample
sample_multi_transcode performs transcoding of single to multiple elementary video stream from one compressed format to another.

Encoding Sample
sample_encode performs
encoding of raw video frames into elementary compressed stream
(including HEVC encode Plug-in from Intel Media Server HEVC Pack).

Decoding Sample
sample_decode performs
decoding of elementary compressed video stream to raw frames (including
HEVC decode and VP8 decode Plug-in from Intel Media Server Plugin Pack)
and sample_decvpp performs decoding with video processing (color
conversion) of raw video sequences.

Video Processing Sample
sample_vpp
performs various video processing algorithms on raw frames such as
Denoising, Deinterlace/Inverse Telecine and Color conversion.

OpenCL Video Motion Estimation Sample
ocl_motion_estimation
provides step-by-step guidelines on using Intel’s motion estimation
extension for OpenCL standard. The motion estimation extension includes a
set of host-callable functions for frame-based VME.

OpenCL Interoperability Sample
ocl_media_sdk_interop demonstrates how to use Intel Media SDK and Intel® OpenCL SDK together for efficient video decoding and fast post-processing.

Deprecated Samples

Full Transcoding
Sample_full_transcode
performs full scale transcoding of media files: allows changing
container format and video/audio compression formats. It also shows
usage of new Splitters and Muxers Sample using FFmpeg, and the Audio
Library

Video Conferencing
sample_videoconf
performs encoding of raw video frames into elementary compressed stream.
Shows various encoding features specific to 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 demonstrates how to use the SDK and sample DShow filters to play and transcode media files (streams).

Transcoding Sample using Microsoft Media Foundation*
sample_mfoundation_transcode
demonstrates how to use the Media Foundation framework to transcode
media files (streams) in a Windows Presentation Foundation (WPF)
application.

Transcoding Sample using Microsoft Windows 8 User Interface
sample_win8ui_transcode
demonstrates how to use the API of H.264 video encoder (a Microsoft
Media Foundation* Transform) to transcode a video file to a configurable
format in a Windows 8 UI

 

Intel Media Server Studio Tutorials

Tutorials are geared towards beginners by providing simple code
examples for basic media features and excellent code examples to start
working with the Intel Media SDK. All code examples come with Microsoft
Visual Studio* solution files (Windows) and Makefile (Linux) to get you started.

Set-up
simple_1_session
Sets up Intel Media SDK session and perform queries to determine selected implementation and which API version is used

Decode
simple_2_decode
Decodes AVC stream into YUV file using system memory surfaces, showcasing simple synchronous decode pipeline flow

simple_2_decode_vmem
Adds use of video memory surfaces for improved decode performance

Encode
simple_3_encode
Encodes YUV frames from file into AVC stream using surfaces in system
memory, showcasing simple synchronous encode pipeline flow.

simple_3_encode_vmem
Adds use of video memory surfaces for improved encode performance.

simple_3_encode_vmem_async
Adds asynchronous operation to previous example, resulting in further improved performance.

Transcode
simple_5_transcode
Transcodes (decode+encode) AVC stream to another AVC stream using system memory surfaces.

simple_5_transcode_opaque
Same as previous sample but uses the Intel Media SDK opaque memory
feature. The opaque memory type hides surface allocation specifics and
allows the Intel Media SDK to select the best type for the execution in
hardware or software.

simple_5_transcode_opaque_async
Adds asynchronous operation to the transcode pipeline implementation, resulting in further improved performance.

simple_5_transcode_vmem
Same as "simple_5_transcode" sample but uses video memory surfaces
instead. While opaque surfaces use video memory internally,
application-level video memory allocation is required to integrate
components not in Intel Media SDK.

simple_5_transcode_opaque_async_vppresize
Same as "simple_5_transcode_opaque - async" sample but pipeline includes video frame processing (VPP) resize.

Video Processing and more
simple_4_vpp_resize_denoise
Showcases VPP using system memory surfaces. Highlights frame resize and denoise filter processing.

simple_4_vpp_resize_denoise_vmem
Adds use of video memory surfaces for improved VPP performance.

simple_6_decode_vpp_postproc
Similar to the “simple_2_decode” sample but adds VPP post-processing capabilities to showcase resize and ProcAmp

simple_6_encode_vmem_lowlatency
Similar to the “simple_3_encode_vmem” sample with additional code to
illustrate how to configure an encode pipeline for low latency and how
to measure latency.

simple_6_transcode_opaque_lowlatency
Similar to the “simple_5_transcode_opaque” sample with additional code
to illustrate how to configure a transcode pipeline for low latency and
how to measure latency.

simple_6_encode_vmem_vpp_preproc
Similar to the “simple_3_encode_vmem” sample but adds VPP
pre-processing capabilities to show frame color conversion from RGB32(4)
to NV12.

Intel® Media Server Studio Support的更多相关文章

  1. Intel Media SDK安装步骤

    !!!(gcc/g++版本要在4.8以上,本人使用的是5.4版本) 要先安装依赖,按以下步骤依次执行 1.LIBVA git clone https://github.com/intel/libva. ...

  2. Intel® Media SDK(一)

    A cross-platform API for developing media applications on Windows* Fast video playback, encode, proc ...

  3. (转)Integrating Intel® Media SDK with FFmpeg for mux/demuxing and audio encode/decode usages 1

    Download Article and Source Code Download Integrating Intel® Media SDK with FFmpeg for mux/demuxing ...

  4. Getting Started with the Intel Media SDK

    By Gael Hofemeier on March 19, 2015 Follow Gael on Twitter: @GaelHof Media SDK Developer’s Guide Med ...

  5. Intel Media SDK H264 encoder GOP setting

    1 I帧,P帧,B帧,IDR帧,NAL单元 I frame:帧内编码帧,又称intra picture,I 帧通常是每个 GOP(MPEG 所使用的一种视频压缩技术)的第一个帧,经过适度地压缩,做为随 ...

  6. Adobe Flash Media Server安装

    Flash Media Server(FMS)是一个流媒体服务器 使用 实时消息传送协议(RTMP),RTMP是一种未加密的TCP/IP协议,专门设计用来高速传送音频.视频和数据信息. 3.5版32位 ...

  7. Windows Server 2003从入门到精通之Windows Media Server流媒体服务器架建[转]

    今天我们来做一个windows media server流媒体格式文件的流媒体服务器. 现在市面上能够买到的一些电影文件有 rm格式和wmv格式.还有一些是DivX技术的avi格式,要想让你的服务器对 ...

  8. android media server 解析1-media player service 结构部分

    下面为media server注册的四个服务之一:MediaPlayerService的结构图 1.图中没有MediaPlayerService的代理对象BpMediaPlayerService部分, ...

  9. mac media server

    近日在mac osx基于开源组件nginx-rtmp-module架设了一台默认的media server,以下是过程笔记 下载https://github.com/arut/nginx-rtmp-m ...

随机推荐

  1. PHP html_entity_decode() 函数

    html_entity_decode(string,flags,character-set) 把 HTML 实体转换为字符. html_entity_decode() 函数是 htmlentities ...

  2. android获取手机号

    private String getPhoneNum(){ //与手机建立连接 TelephonyManager tm = (TelephonyManager)getSystemService(Con ...

  3. 关于RPi.GPIO、BCM2835 c library、WiringPi、Gertboard

    1.RPi.GPIO//RPi.GPIO-0.5.5.tar.gz 开发者:python官网:https://www.python.org/ 官网:https://pypi.python.org/py ...

  4. 自主学习Flappy Bird游戏

    背景 强化学习 MDP基本元素 这部分比较难懂,没有详细看:最优函数值,最优控制等 Q-learning 神经网络 环境搭建 windows下通过pip安装TensorFlow,opencv-pyth ...

  5. Python 一行命令ftp服务器

    Obligatory Twisted example: twistd -n ftp And probably useful: twistd ftp --help Usage: twistd [opti ...

  6. 高仿微信实现左滑显示删除button功能

    在实际项目中删除列表中的某一项是很常见的功能.传统的做法能够使用长按监听器等,而如今流行的做法是左滑弹出删除button,微信,QQ等都是这么做的,以下做一个演示样例,代码例如以下: 主页面MainA ...

  7. c++ struct与class的差别

    从语法上,在C++中(仅仅讨论C++中).class和struct做类型定义时仅仅有两点差别: (一)默认继承权限. 假设不明白指定,来自class的继承依照private继承处理.来自struct的 ...

  8. Mac 下解决虚拟机virtualbox 4.3和windows共享问题

    mac上面安装了最新的virtualbox,有些软件还是须要windows的. 1,在设置了共享之后,仍然不能使用 watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZ ...

  9. Android 最新控件 Toolbar

    之前Android的ActionBar好像做项目从没用过.除了google自己,并没有多少人用,究其原因,主要是由于ActionBar不够灵活,不可以随心所欲的定制,后来Goole也发现了这一点,然后 ...

  10. 不能选择sublime作为默认打开方式的解决办法

    Sublime Text 绿色版删除后无法设置为默认打开方式…而且网上也没有给出明确的解决办法 注册表的解决办法: 删除 HKEY_CURRENT_USER\Software\Classes\Appl ...