Community
cancel
Showing results for 
Search instead for 
Did you mean: 
jigong
Beginner
73 Views

MFXVideoSession cannot be initialized in MFX_IMPL_HARDWARE

Hi,
I used to decode H264 stream inMFX_IMPL_HARDWARE mode on Intel Core i-7 2700K. Today I replaced CPU with Intel Core i5-2500K and i3-2125, I met the same problems: MFXVideoSession.init(MFX_IMPL_HARDWARE, ver) return -3, which mean I cannot decode in hw. I tried software implementation. They worked.
Thank for any advice?
Jiuxiang
0 Kudos
5 Replies
Nina_K_Intel
Employee
73 Views

Hi Jiuxuang,
what value is "ver" assigned to? The platforms you mention have MSDK libraries with API 1.1, so they will support ver equal or less than 1.1.
Regards,
Nina
jigong
Beginner
73 Views

Hi Nina,
ver = {0,1}.
Thanks.
Jiuxiang
jigong
Beginner
73 Views

I replaced I7-2700k again. MFXVideoSession can be initialized in HW implementation.
Eric_S_Intel
Employee
73 Views

The Media SDK hardware loading mechanism uses the DeviceID key of HKLM\Software\Intel\MediaSDK\Dispatch.

When you switch the CPU, you switch the device ID and cause a mismatch. Try switching the CPU back to the Core i3 or Core I5, and then re-installing the graphics driver. This will cause the DeviceID key to be updated.

Let me know if this helps

-Eric

jigong
Beginner
73 Views

Fixed the problem once reinstall graphics driver (Intel graphics driver center).
Thanks
Reply