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.

encoding efficiency in decoding order

OTorg
New Contributor III
476 Views

HI!

How coding efficiency degrades when using the decoding order?

Can encoder convert to I frame specified as P by client (scene change detection) in this mode, etc?

 

 

0 Kudos
1 Solution
Surbhi_M_Intel
Employee
476 Views

Hi dj_alek,

As far as I am understanding this is that the difference btw both order is that how we feed the data to our encoder. With display order, encoder reorganizes the data and process it in encoding order where as when we send the data in encoder order data can be directly fed.
To answer your question direct there is no intelligent algorithm which can be applied to display order but not to encode order. The only way I could think of increasing the quality is using Look Ahead BRC mode, if you don't want to set QP per frame. 
Just checked with the experts regarding AdaptiveI and AdaptiveB, currently this mode is not supported. 

Thanks,
-Surbhi

 

View solution in original post

0 Kudos
4 Replies
Surbhi_M_Intel
Employee
476 Views

Hi there, 

Thank you for your question. I was wondering if you have any analysis done to show that the encoding performance decreases when using encoding order?
For scene change detection there are few options -

  • Please check Pg 4 of MediaSDK manual, where it is mentioned that display order changes the GOP sequence.
  • Look Ahead Rate control method can also help us to get better results for scene change detection. More details can be found at  Pg 38 in MediaSDK manual.
  • Another thing you can look at is AdaptiveI and adaptiveB, flag controls insertion of I and B frames, details can be found at Pg 85 of Media SDK Manual.

Let us know if these options help or if your need is different. 

Thanks,
-Surbhi

0 Kudos
OTorg
New Contributor III
476 Views

Sorry for being unclear in terms. I asked about the encoding quality, not performance degrade in decoding order.

So, paraphrase: is AdaptiveI/AdaptiveB algo applied by encoder in decoding order mode? Can it encode as MFX_FRAMETYPE_I frame pushed to EncodeFrameAsync() with MFX_FRAMETYPE_P sign, eg? Are there any intelligent algorithms applied by encoder in presentation order, but not available in decoding order?

0 Kudos
Surbhi_M_Intel
Employee
477 Views

Hi dj_alek,

As far as I am understanding this is that the difference btw both order is that how we feed the data to our encoder. With display order, encoder reorganizes the data and process it in encoding order where as when we send the data in encoder order data can be directly fed.
To answer your question direct there is no intelligent algorithm which can be applied to display order but not to encode order. The only way I could think of increasing the quality is using Look Ahead BRC mode, if you don't want to set QP per frame. 
Just checked with the experts regarding AdaptiveI and AdaptiveB, currently this mode is not supported. 

Thanks,
-Surbhi

 

0 Kudos
OTorg
New Contributor III
476 Views

Thanks!

0 Kudos
Reply