Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

VPP - frame rate

Dmitry_Gurulev
Beginner
170 Views

Hi All,

Please, help me with VPP FrameRateExtN/FrameRateExtD parameters.I'll try to fill VPP struct from VIDEOINFOHEADER::AvgTimePerFrame with code like the -

vp.vpp.In.FrameRateExtN = 1000;
vp.vpp.In.FrameRateExtD = CRefTime(time_per_frame).Millisecs();

but this fails for some rates. Eg.: try 25/1 - OK, 1000/40 - OK, 30/1 - OK, 1000/33 - FAIL with MFX_ERR_INVALID_VIDEO_PARAM.

0 Kudos
2 Replies
Anthony_P_Intel
Employee
170 Views
Hi Dmitry, I'm not seeing any issue with VPP input frame rate of 1000/33. (I'm simply modifying the hard-coded values in the simple projects of tutorial available here: http://software.intel.com/en-us/articles/intel-media-sdk-tutorial) If you can provide a log file form the tracer tool (tools\mediasdk_tracer\tracer.exe), we might be able to see why you are seeing MFX_ERR_INVALID_VIDEO_PARAM. -Tony
Dmitry_Gurulev
Beginner
170 Views

Hi Tony,

You are right, the problem is not VPP issue, the cause was sometimes I've got wrong AvgTimePerFrame value. Thanks you drove me to re-test the problem.

Reply