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.
3075 Discussions

Getting MFX_ERR_INVALID_VIDEO_PARAM in pProcessor->pmfxVPP->Init(pParams) in sample_vpp_util.cpp

Michael_H_1
Beginner
477 Views

Hello,

I am a Software Engineer and I make some changes to the sample program sample_vpp_util.cpp. When I compile and run it, I get an error MFX_ERR_INVALID_VIDEO_PARAM in line sts = pProcessor->pmfxVPP->Init(pParams) and in function InitFrameProcessor().

I have print out the variables in pParams and compared against the worked one, but the variables seem to be identical. Therefore, I would like to post to the forum to see any help from it. The variables are listed below:

allocId 0
asynDep 0
IOPattern 34
NumExtParam 1
Protected 0
mfx.Accuracy 0
mfx.BRCParamMultiplier 0
mfx.BufferSizeInKB 0
mfx.CodecId 0
mfx.CodecLevel 0
mfx.CodecProfile 0
mfx.Convergence 0
mfx.DecodedOrder 0
mfx.EnableReallocRequest 0
mfx.EncodedOrder 12849
mfx.ExtendedPicStruct 0
mfx.GopOptFlag 0
mfx.GopPicSize 0
mfx.GopRefDist 0
mfx.ICQQuality 0
mfx.IdrInterval 0
mfx.InitialDelayInKB 0
mfx.Interleaved 0
mfx.InterleavedDec 0
mfx.JPEGChromaFormat 0
mfx.JPEGColorFormat 0
mfx.LowPower 0
mfx.MaxDecFrameBuffering 0
mfx.MaxKbps 0
mfx.NumRefFrame 22094
mfx.NumSlice 0
mfx.NumThread 0
mfx.QPB 0
mfx.QPI 0
mfx.QPP 0
mfx.Quality 0
mfx.RateControlMethod 0
mfx.RestartInterval 0
mfx.Rotation 0
mfx.SamplingFactorH 0 0 0 0
mfx.SamplingFactorV 0 0 0 0
mfx.SliceGroupsPresent 0
mfx.TargetKbps 0
mfx.TargetUsage 0
mfx.TimeStampCalc 0
Height: 1088
Width: 1920
FourCC: 842094169
mfx.FrameInfo FrameRateExtD 1 FrameRateExtN 30
mfx.FrameInfo Pic 1
mfx.FrameInfo CropX 0 CropY 0 CropH 1080 CropW 1920
mfx.FrameInfo AspectRatioH 0
mfx.FrameInfo AspectRatioW 0
mfx.FrameInfo BitDepthChroma 0
mfx.FrameInfo BitDepthLuma 0
mfx.FrameInfo ChromaFormat 1
mfx.FrameInfo DId 0 PId 0 QId 0 TId 0 Vid 0
mfx.FrameInfo Shift 0
mfx.FrameInfo buffersize 71305088
Height: 1088
Width: 1920
FourCC: 842094169
In FrameRateExtD 1 FrameRateExtN 30
In Pic 1
In CropX 0 CropY 0 CropH 1080 CropW 1920
In AspectRatioH 0
In AspectRatioW 0
In BitDepthChroma 0
In BitDepthLuma 0
In ChromaFormat 1
In DId 0 PId 0 QId 0 TId 0 Vid 0
In Shift 0
In buffersize 71305088
Height: 1088
Width: 1920
FourCC: 842094158
Out FrameRateExtD 1 FrameRateExtN 30
Out Pic 1
Out CropX 0 CropY 0 CropH 1080 CropW 1920
Out AspectRatioH 0
Out AspectRatioW 0
Out BitDepthChroma 0
Out BitDepthLuma 0
Out ChromaFormat 1
Out DId 0 PId 0 QId 0 TId 0 Vid 0
Out Shift 0
Out buffersize 71305088

 

Michael Hui

0 Kudos
0 Replies
Reply