Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

UYVY to NV12 using VPP returns MFX_ERR_INVALID_VIDEO_PARAM

Mark_S_1
Beginner
634 Views

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
4 Replies
Mark_L_Intel1
Moderator
634 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/mfx_lib/vpp/src/mfx_vpp_utils.cpp#L1337

Mark Liu

Mark_S_1
Beginner
634 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.

Mark_L_Intel1
Moderator
634 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

Vladimir_D
Beginner
385 Views

Hello Intel,

 

I am also has the same issue. Do you plan to add UYVY support to Windows VPP? We use SDI video card for video capturing and need to convert each frame from UYVY to YUY2 to use VPP scaler

Regards,

Vladimir 

Reply