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.

VPP - frame rate

Dmitry_Gurulev
Beginner
323 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
323 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
0 Kudos
Dmitry_Gurulev
Beginner
323 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.

0 Kudos
Reply