Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

H264 IDR frequency

The_T_
Beginner
124 Views

Hi,

I am using the 2016 SDK under linux.

What is the best way to select the IDR frames interval (keyint under ffmpeg/libx264). By default it is set to 10s (250frames for 25 fps), is it possible to change this parameter ?

Thanks

0 Kudos
1 Reply
The_T_
Beginner
124 Views

Ok found it:

enc_ctrl->FrameType = MFX_FRAMETYPE_I | MFX_FRAMETYPE_IDR | MFX_FRAMETYPE_REF;

Sorry for the stupid question :)

Reply