- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page