H264 Directshow filter - add fps conversion support

H264 Directshow filter - add fps conversion support


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


3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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".


Thank you Peter,
I will check sample_cpp asap .


Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui