Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
65 Views

UYVY to NV12 using VPP returns MFX_ERR_INVALID_VIDEO_PARAM

I am trying to use the VPP component to just do a color space conversion from UYVY to NV12, no de-interlacing or scaling, or other filters.  When I use the exact same input parameters with MFX_FOURCC_YUY2 everything works.  When I change mfxVideoParam.vpp.In.FourCC to MFX_FOURCC_UYVY, MFXVideoVPP::QueryIOSurf returns MFX_ERR_INVALID_VIDEO_PARAM.  I am using API level 1.25.

Are there any additional restrictions on converting from UYVY to NV12 that I am missing and may be causing this?

0 Kudos
3 Replies
Highlighted
Moderator
65 Views

Hi Mark,

Are you running on Windows?

From the following line, MFX_FOURCC_UYVY is only supported in Linux:

https://github.com/Intel-Media-SDK/MediaSDK/blob/6941f032b754f7ee85fae36bbca5efe9669b9fcf/_studio/mf...

Mark Liu

0 Kudos
Highlighted
Beginner
65 Views

I am using windows, that explains the issue.  Any chance of getting UYVY support in the windows SDK?  The color conversion from UYVY to YUV2 is pretty simple, but CPU intensive and so it would be much more efficient to be able to just send UYVY to the Intel Media SDK.

0 Kudos
Highlighted
Moderator
65 Views

Hi Mark,

I could ask for the change, could you specify the reason in the application why you want to add UYVY to YUV2 HW accelerated conversion? Is it critical to your project?

Mark Liu

0 Kudos