Intel Media SDK Tutorial - simple_5_transcode_opaque

In the Intel® Media SDK tutorial sections covering encode, decode and VPP the performance issues caused by relying on system memory were removed by using video memory surfaces.  "Opaque memory" surfaces offer a simplified path to video memory optimization when working with transcode pipelines implemented entirely with Media SDK.  With opaque memory surfaces are managed entirely by Media SDK so it can automatically optimize for the type of session requested.  Video memory will be used for hardware sessions, system memory for software sessions. 

The use of opaque memory eliminates two surface copies per frame which leads to lower CPU utilization and higher GPU utilization. As with  encode,  synchronous implementation is insufficient to keep the hardware pipeline busy and introduces many gaps.  These gaps can be filled with work from the same video sequence with asynchronous implementation.  Further efficiency can be gained by working with multiple transcodes simultaneously.  For best results, individual pipelines should be asynchronous with multiple sessions running simultaneously.

This tutorial sample is found in the tutorial samples package under the name "simple_5_transcode_opaque". The code is extensively documented with inline comments detailing each step required to setup and execute the use case.

[ Previous Tutorial ]    [ Next Tutorial ]    [ Back to Tutorial samples index ]