Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

H264 RGB32 VPP not support?

andya
Beginner
270 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
270 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

 

0 Kudos
Reply