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

Questions about temporal scalability



I've met some problem in utilizing the temporal scalability. The 1st question was also asked in

1) It's written in that "Two consecutive temporal layers must have integer ratio of frame rates". Since 3 is an integer, I suppose the ratio can be 3. So I configured the initializing parameter in the video conferencing conference sample like this:

else if ( 0== msdk_strcmp(strInput, MSDK_STRING("-ts")))
            params.nTemporalScalabilityBase = 3; // ratio of 3
            lexical_cast(strInput[++i], params.nTemporalScalabilityLayers);

By debugging, the m_temporalScale looked like the follow:

m_temporalScale.Layer[0].Scale == 1;
m_temporalScale.Layer[1].Scale == 3;
m_temporalScale.Layer[2].Scale == 9;
m_temporalScale.Layer[3].Scale == 0;

But the m_encoder->Init(&m_mfxEncParams) returns MFX_ERR_INVALID_VIDEO_PARAM. Is the ratio other than 2 not supported?


2) If the ratio other than 2 is not supported, can I use the mfxExtAVCRefListCtrl at encoding time to simulate the fame dependencies hierarchies like the temporal scalability do?


0 Kudos
0 Replies