Does Intel Media SDK support Set Encoder Framerate(FPS) ?

Does Intel Media SDK support Set Encoder Framerate(FPS) ?

Hi All,

Does Intel Media SDK support H.264 encoder framerate(FPS) setting ?

We can found that set GOP (I frame interval), B frame number, frame size(resolution), and multi-slice(NALU) in property page.

But there is no framerate setting in property page,
no framerate field in H264Params.

How could we set the Intel H.264 encoder framerate (FPS) ?

Thank you
Icecream

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

Are you referring to the property page available on the sample dshow filters? If so, those filters are only samples and

do not expose all the features of the Media SDK. The encoder does have the ability to set a particular frame rates and the setting is found in the mfxFrameInfo structure.

Set the encoders frame rate by setting mfxFrameInfo->FrameRateExtN / mfxFrameInfo->FrameRateExtD.

So, to set 30fps: mfxFrameInfo->FrameRateExtN = 30 and mfxFrameInfo->FrameRateExtD = 1

Perhaps you can enhance the samples to add this functionality.

Eric

Hi Eric,

Yes, we found the FrameRateExtN and FrameRateExtD setting very insight the Intel SDK source code.
As below fragment:

mfxU32 fcExtN(0), fcExtD(0);

ConvertFrameRate( (mfxF64)statistics.frame_rate / 100.0
, &fcExtN
, &fcExtD);

vParam.mfx.FrameInfo.FrameRateExtN = fcExtN;
vParam.mfx.FrameInfo.FrameRateExtD = fcExtD;

In real world, the FPS setting is stable, about 30 fps.
But In Intel Decoder, FPS the not very smooth,
I think that is because of Intel implement the FPS controlled with statistics.

Do you have any idea to OPEN the FPS setting with CH264EncPropPage and IConfigureH264Encoder ?
I think that FPS controlled by user directly is a good conceptation.

Thanks

Best Regards
Icecream

Hi ,

I have try to set 30 fps:

mfxFrameInfo->FrameRateExtN = 30 and
mfxFrameInfo->FrameRateExtD = 1

But I can't fix Encoder FPS as 30.

Do you have any idea ?

Thanks
Best Regards,

Leave a Comment

Please sign in to add a comment. Not a member? Join today