Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

How to force IVOP frame in H264 video encoder

mazhurin1
Beginner
351 Views
Hello,
I am encoding video using h264 encoder.
Sometimes I need to force encoder to generate an IVOP frame.
All I found so far is some comments inumc_h264_pub.h:
typedef Ipp32s H264_Key_Frame_Control_Method;
// These methods control how often key frames are generated.
// Note that, regardless which of these methods is used, additional
// interfaces exist that allow a key frame to be requested on demand.
Am I missing something?
Thanks,
Anton

0 Kudos
2 Replies
Chao_Y_Intel
Moderator
351 Views

Hi,

There is no direct support in the encoder part. You can look at the code of the following function:

EnumPicCodType H264ENC_MAKE_NAME(H264CoreEncoder_DetermineFrameType)(

void* state,

Ipp32s)

and change the code to the application needs.

Thanks,

Chao

0 Kudos
mazhurin1
Beginner
351 Views
Thanks a lot!
Anton
0 Kudos
Reply