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

VPP can't deinterlace RGB32 frames

Maximilian_W_
Beginner
210 Views

Hello there!

When i try to initialize VPP like this, i get the error "invalid video parameters" (MFX_ERR_INVALID_VIDEO_PARAM). This error seems to be caused by VPP output parameter "PicStruct: MFX_PICSTRUCT_PROGRESSIVE". Is it not possible to deinterlace RGB32 frames?

"Intel API Implementation: MFX_IMPL_SOFTWARE Version: 1.13"
"AsyncDepth: 0"
"NumExtParam: 0"
"IOPattern: MFX_IOPATTERN_IN_SYSTEM_MEMORY,MFX_IOPATTERN_OUT_SYSTEM_MEMORY"

"-------VPP INPUT-------"
"BitDepthLuma: 8"
"BitDepthChroma: 8"
"Shift: 0"
"FourCC: RGB4"
"Width: 1920"
"Height: 1088"
"CropX: 0"
"CropY: 0"
"CropW: 1920"
"CropH: 1080"
"FrameRateExtN: 1000000"
"FrameRateExtD: 40000"
"AspectRatioW: 0"
"AspectRatioH: 0"
"PicStruct: MFX_PICSTRUCT_FIELD_TFF"
"ChromaFormat: MFX_CHROMAFORMAT_YUV444"

"-------VPP OUTPUT-------"
"BitDepthLuma: 8"
"BitDepthChroma: 8"
"Shift: 0"
"FourCC: RGB4"
"Width: 1920"
"Height: 1088"
"CropX: 0"
"CropY: 0"
"CropW: 1920"
"CropH: 1080"
"FrameRateExtN: 10000000"
"FrameRateExtD: 400000"
"AspectRatioW: 0"
"AspectRatioH: 0"
"PicStruct: MFX_PICSTRUCT_PROGRESSIVE"
"ChromaFormat: MFX_CHROMAFORMAT_YUV444"

 

Kind regards Max!

 

0 Kudos
1 Reply
Surbhi_M_Intel
Employee
210 Views

Hi Max, 

To de-interlacing RGB32 frames, you need to set another VPP filter to do color conversion in NV12 format. The supported FOURCC format for deinterlacer is NV12 only. 

I hope that answers your query.

Thanks,
Surbhi

0 Kudos
Reply