Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

H264 RGB32 VPP not support?

andya
Beginner
94 Views

Webcast:

src :ffmpeg encode h264 stream

Frame:decoder-》N12-》vpp-》rgb32

case:vpp init failed -15

code:

       mfxVideoParams.mfx.CodecId = MFX_CODEC_AVC;

        // Input data
        VPPParams.vpp.In.FourCC         = MFX_FOURCC_NV12;
        VPPParams.vpp.In.ChromaFormat   = MFX_CHROMAFORMAT_YUV420;

        // Output data
        VPPParams.vpp.Out.FourCC        = MFX_FOURCC_RGB4;      
        VPPParams.vpp.Out.ChromaFormat  = MFX_CHROMAFORMAT_YUV420;              
        VPPParams.vpp.Out.CropX         = 0;

        // Initialize Media SDK VPP
        sts = pmfxVPP->Init(&VPPParams); ==》》》》failed -15

if codecid set MFX_CODEC_JPEG is not error 

 

 

 

 

0 Kudos
1 Reply
Anthony_P_Intel
Employee
94 Views

Hi,

The VPP component should not be affected by the decode codec type....however....

The resolution of the frame used in both cases may be different and there are some limitations. For example:

// width must be a multiple of 16
// height must be a multiple of 16 in case of frame picture and a multiple of 32 in case of field picture

There are a few other reasons you may see VPP error.  Please look at implementations of NV12->RGB32 performed by others.  For example:

http://software.intel.com/en-us/forums/topic/385015

 

Reply