Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

SetSkipMode function

alamillo__adrian
Beginner
307 Views

We are implementing DVR functionality, fast playback, for example 2x or 4x speed; 

 How MFXVideoDECODE_SetSkipMode should be used  to achieve DVR-like fast forward behavior? 

0 Kudos
1 Reply
Petter_L_Intel
Employee
306 Views

Hi Alex,

The purpose of the SkipMode call is to tell the decoder to skip decoding of more or less frames (in essence this means skipping B frames, then P frames and eventually only decode I frames if skip distance is large).

SkipMode can be called at anytime after initializing the decoder. SkipMode can also be called several times to gradually increase or decrease the # of skipped frames.

We do not provide sample code for this specific feature. But as described above, using it is a matter of just calling the function (one line of code). The Media SDK reference manual have some additional details.

    Example: SetSkipMode(MFX_SKIPMODE_MORE);

Regards,
Petter 

0 Kudos
Reply