Hi All,
I'm trying to play with MSDK 2013. I've built sample_vpp video processing sample and try to execute it with following command line
<-i "vpp\test_720x576.rgb24" -o "vpp\result.nv12" -lib hw -n 10 -sw 720 -sh 576 -scc rgb3 -dw 320 -dh 240 -dcc nv12>
but I have status code MFX_ERR_INVALID_VIDEO_PARAM at line 436 of <sample_vpp\src\sample_vpp_utils.cpp>
sts = pProcessor->pmfxVPP->QueryIOSurf(pParams, request);
I've tried to use software (-lib sw), different CC combination (yuy2,yv12,rgb3,rgb4) including In==Out, but I have only the same error.

Could you help me with this error?
System info and Media SDK tracer logs are attached in archive.

Downloadapplication/zip vpp.zip6.85 KB
6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Amendment -

QueryIOSurf works in h264_enc_filter sample (CEncVideoFilter class), but failed with MFX_ERR_INVALID_VIDEO_PARAM in sample_vpp even if exactly the same (bit-to-bit) mfxVideoParam is used. Soft or hard - doesn't matter.

Hi Dmitry,

Using your sample_vpp command line and replicating it here on my side it looks like the issue your encountering is due to using input surface type RGB3. This surface type is deprecated and not supported anymore (the sample usage description unfortunately still lists RGB3, this is a documentation error).

If you change your command to use for instance RGB4 (-scc rgb4) it should work fine.


Hi Peter,

As I see, Intel VPP supports nothing CC conversion except target is NV12 and source is YV12\YUY2. Where can I find the list of supported modes?

PS. What <mfxInfoVPP::ChromaFormat> is intended for? It seems to me VPP just ignore this field.

OK, I found list at mediasdk-man - Table 2: Color Conversion Support in VPP, page 6

Correct,  ChromaFormat is ignored for the vast majority of use cases.

Leave a Comment

Please sign in to add a comment. Not a member? Join today