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.

Video Decoder "Trick Play" for High-Speed FF/RW

Wilczynski__Mark
Beginner
302 Views

Is there any way to setup the decoder to perform "trick play" such as you would find on any modern DVR?  For example, I would like to play back 1080p video at 32x speed or play it in reverse.  I think for the high-speed playback, we would need some way to setup the decoder so it skips certain frames without decoding them to speed it up.  For very high speeds, it should just return I-frames.  For slower speeds, it should skip b-frames.  If we're only decoding I-frames, then reverse playback would also be simple since there are no inter-frame dependencies to deal with.

-Mark

0 Kudos
2 Replies
Petter_L_Intel
Employee
302 Views

Hi Mark,

Intel Media SDK does not provide specific controls for "trick play", but the decoder API has a call named "SetSkipMode" which can be used to achieve fast forward behavior as you described.

There are no features in the Media SDK API designed for backwards playback. Such feature would have the be implemented in application layer. For suggestions on how to implement stream repositioning, please refer to the Media SDK Developers Guide document which is part of the SDK package.

Regards,.
Petter

0 Kudos
Wilczynski__Mark
Beginner
302 Views

Somehow I missed that SetSkipMode() function when reading the manual.  That should work fine for what I need.

I'll have to see how well reverse playback works by constantly repositioning the stream manually on i-frames and re-ordering the frames before display.

Thanks for your help.

-Mark

0 Kudos
Reply