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.
3073 Discussions

H264 Directshow filter - add fps conversion support

koby_s_
Beginner
361 Views

Hi,

I'm trying to add fps conversion to the directshow H264 encoder filter.

To my understand, I need to set the struct members CEncVideoFilter::m_mfxParamsVPP.vpp.Out.FrameRateExtN and FrameRateExtD to the correct values.

Am I correct? Is there something else I need to do?

Also, how do I change the mediatype of the output pin? where is it implemented?

Thank you

Koby

0 Kudos
2 Replies
Petter_L_Intel
Employee
361 Views
Hi Koby, That is correct. vpp.In.FrameRateExtN/D and vpp.Out.FrameRateExtN/D will control frame rate conversion operation. For details and example on how to use frame rate conversion refer to the "sample_vpp" console sample part of the SDK. For mediatype control check out "filter_def.h" and "mfx_filter_register.h". Regards, Petter
0 Kudos
koby_s_
Beginner
361 Views
Thank you Peter, I will check sample_cpp asap . Koby
0 Kudos
Reply