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

Building Reference List if the GOP pattern contains B-frames

Luda_N_Intel
Employee
360 Views

Hello,  

I'm trying to configure the Media SDK encoder dynamically, in other words I'd like to generate key frames, to make decision about a type of the next frame, its reference list, QP, etc.

I saw some bad news for me here https://software.intel.com/en-us/articles/video-conferencing-features-of-intel-media-software-development-kit such "If the GOP pattern contains B-frames, the SDK encoder will not be able to follow the mfxExtAVCRefListCtrl instructions (the instructions will be ignored)."

Is that true? There is a way to set mfxExtAVCRefListCtrl parameters per frame "on the fly" if the GOP yes contains B-frames?

Thanks,

Luda

 

0 Kudos
4 Replies
Harshdeep_B_Intel
360 Views

Hi Luda, 

Yes, the above statement holds true. Let me discuss with Codec experts on viable option and get back to you soon.

Thanks,  

0 Kudos
Harshdeep_B_Intel
360 Views

Hi Luda, 

1) “mfxExtAVCRefListCtrl” isn’t good way to control reference lists for B-frames.To handle ref lists in case of B-frames newer control “mfxExtAVCRefLists” should be used. It suits for any frame Inter type (P or B), and for both progressive and interlace cases.

2) But, for control over DBP (e.g. LTR insertion), application should keep using mfxExtAVCRefListCtrl. But it works for progressive only.

Thanks, 

0 Kudos
Luda_N_Intel
Employee
360 Views

Thank you for your response,

Could I see an example of the implementation somewhere?

Luda

0 Kudos
Harshdeep_B_Intel
360 Views

Hi Luda,

We do not an example showing this specific implementation. But, you can try and enable this feature on your own by making a function call to  mfxExtAVCRefLists structure using sample_encode (https://software.intel.com/sites/default/files/managed/b7/7e/MediaSamples_Windows_2016.msi). Also, complete details about this structure members is available in mediaSDK manual Page No. 87 (https://software.intel.com/sites/default/files/managed/47/49/mediasdk-man.pdf). Let me know any questions. 

Thanks, 

0 Kudos
Reply