- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
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,
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page