How to use mfxExtVppAuxData

How to use mfxExtVppAuxData

Header.BufferId- Must be MFX_EXTBUFF_VPP_AUXDATASpatialComplexity- Spatial complexity that resulted from scene change detectionTemporalComplexity- Temporal complexity that resulted from scene change detectionSceneChangeRate- Scene change detection rate (0-255) that indicates the likelihood of scene changeRepeatedFrame- If true, indicates that the current frame repeated the previous one

I'm tring to attach this buffer to mfxVideoParam::ExtParam and put it to MFXVideoVPP_Init but I have MFX_ERR_INVALID_VIDEO_PARAM result after call.

Hi Peter,mfxExtVppAuxData contains per-frame information.RunFrameVPPAsync will fill this structure if it is passed as an argument. Then user can additionally attach the structure to mfxEncodeCtrl structure so that encoder makes use of this information.At VPP initialization stage you need to enableMFX_EXTBUFF_VPP_SCENE_ANALYSIS by using DOUSE option, you may also change parameters of scene change alogrithm by attaching anMFX_EXTBUFF_VPP_SCENE_ANALYSIS extended buffer.Sample_vpp under \samples of Media SDK package shows how to perform these steps.I hope this helps to understand the feature.Regards,Nina

One more comment, this aux doesn't work on the Hardware version, but do work on the software version.My laptop is Thinkpad X220 win7 with HD3000 display card.Is anyway I can upgrade the display card driver?

We have confirmed the behavior you describe. It looks like this may be a bug in our HW implementation of this feature. We are currently investigating how to resolve this. I will update this forum thread as soon as I know more about the resolution.

Can you tell me the version of the graphics driver you have installed on your machine?

Thanks for reporting the issue and helping us improve the Media SDK product.

Hi Paul,I have an update on this topic. The Scene Change Detection feature does not work on current or previous generation Intel platforms. We have no plans on resolving the issue. Also, we will likely deprecate the feature on both SW and HW in upcoming Media SDK API release.

So, I'm sorry to say, but I would discourage you from using this feature in your application.