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.

Is iterative encoding possible ?

Jack_Chimasera
Beginner
346 Views

Hello

I am currently working on a solution that will require me to encode a stream of H.264, but have very low latency. The problem I'm facing is that with "normal" quantizer control, if a perfectly static scene abruptly changes, there may be a bandwidth spike, and even if this is later compensated for by using a higher quantizer for a time, The time it will take to transmit the spike over my limited bandwidth may cause a noticeable increase in latency.

The solution for that in my view may involve iterative encoding, namely, if I encode a frame and its encoded size is above some threshold, I will reset the encoder to its state before the last frame was encoded, and try encoding it again with a higher quantizer. Is it possible to perform this feat with Intel's Media SDK ?

I know it is possible in the limited sense of ignoring the oversized encoded frame, and that same frame again as an I-Frame instead, but I was wondering if this is possible even without such a drastic measure.

regards

Jack Chimasera

0 Kudos
1 Solution
Petter_L_Intel
Employee
346 Views
Hi Jack, Unfortunately the usage you describe is not supported by Media SDK. As you stated, you may resort to encoding an I-frame instead, but I do understand the drawbacks of this. We will consider your suggested use case for future releases of Media SDK. As a side note, Media SDK has a feature called VPP "Scene Change Detection", which would potentially be useful for the above case. But the fact is that this feature only works in SW (not in HW), and therefore the feature will likely be deprecated quite soon. Regards, Petter

View solution in original post

0 Kudos
1 Reply
Petter_L_Intel
Employee
347 Views
Hi Jack, Unfortunately the usage you describe is not supported by Media SDK. As you stated, you may resort to encoding an I-frame instead, but I do understand the drawbacks of this. We will consider your suggested use case for future releases of Media SDK. As a side note, Media SDK has a feature called VPP "Scene Change Detection", which would potentially be useful for the above case. But the fact is that this feature only works in SW (not in HW), and therefore the feature will likely be deprecated quite soon. Regards, Petter
0 Kudos
Reply