Your browser is not supported. Please update it.

17 December 2020

Ateme reveals stance on LCEVC, plus potential for encoder-statmux overlap

It was apt that Faultline should finish 2020 somewhere we started out – knocking at the front door of Ateme for the French vendor’s final compression masterclass of the year in what has been a relentless roster of virtual events.

Ateme’s CTO Mickael Raulet took a backseat role this time around, handing over the final webinar reins to Fellow Research Engineer Thomas Guionnet, who covered everything from Ateme’s progress on next-gen codecs, including where the company stands on LCEVC, to whether he envisages a future where encoders and statistical multiplexers from different vendors interoperate.

We started out looking at Ateme’s flagship Titan product suite, which Guionnet was eager to paint as not just a core codec, but technology with tricks and algorithms up its sleeve to develop many steps in a stream architecture. These steps are pre-processing (i.e. source cleaning algorithms and change of resolution), pre-analysis (of paramount importance to pilot control and complexity analysis), rate control (hugely important for things like psychovisual tunings) and, finally, core coding. For the latter, Ateme boasts over 30 tools dedicated to perceptual quality optimization, with 12 variants of decision algorithms in core encoding alone. For both pre-processing and pre-analysis there are over 15 tools for each stage.

To demonstrate some of Ateme’s recent developments in the pre-analysis stage, a new skin tone detection tool was presented, for improving the visual quality of human faces, which Guionnet described as the single most important visual component of content for end users. Well, that depends entirely on the type of content being viewed. Ateme uses pixel-based skin detection based on color, with skin detected areas considered important and improved accordingly.

Another completely different kind of pre-analysis is flash detection. This is particularly useful for a scenario such as a live concert stream, but also can be applied to a short event in one frame. Flashes confuse the encoder because of the lack of temporal redundancies which may cause quality issues – breaking temporal continuity.

Another relatively new special feature from Ateme, although one that is not a new technology, is film grain synthesis. This technique solves a common problem when capturing movies in the old fashioned, analog method, which produces a grainy picture. Some viewers genuinely prefer this effect, but the problem with these grains is that it creates a kind of noise that inhibits compression, making it very difficult to render in a video encoder. With film grain synthesis, you can analyze grain, remove it, then encode it without any grain – in a process Guionnet described as “quite challenging”.

The reason for Ateme’s interest in film grain synthesis now, despite the technique being present in the H.264 video codec in optional form, is that film grain synthesis is a mandatory feature in AV1, and Ateme is an active member of the Alliance for Open Media (AOMedia).

Rate control was next on the agenda, a technique for managing video complexity variability by controlling rate/quality trade-off. “Fast motion sports costs lots of bits due to difficult temporal prediction. Slow motion content like talking heads costs fewer bits as temporal prediction is very efficient,” said Guionnet. If a customer wants to apply this principal of rate control across multiple encoders, then this is where statmux technology comes into play for managing video complexity variability across several channels.

However, Guionnet warned that you cannot plug a statmux of one vendor into an encoder from another vendor, because you need a common API and algorithms that understand each other. Sensing scope for disruption, Faultline asked if this would always be the case, or if there is scope for vendor interoperability between statmux and encoder. “We are not looking at statmux and encoders from different vendors interoperating. It will be very difficult. Nothing is impossible, of course, but I think it would be less efficient,” he explained.

That said, there are similarities between how a statmux works and content adaptive encoding, with both techniques involving predictive rate allocation. Behind the statmux, Ateme has its quality index which we were informed is the same for both technologies. Although, this is trickier for content adaptive encoding as you have to deal with resolution and frame rate changes, meaning more parameters to predict, but the principle is the same.

This segued us nicely onto the topic of next-gen codecs, where VVC, EVC and AV1 were all outlined – leaving a gaping hole in the presentation where LCEVC should have stood. Going straight for the jugular, our LCEVC queries were answered with uncertainty from Guionnet, stating that Ateme currently sees no use cases for the software-based enhancement codec today. However, he suggested that if one day Ateme has to support it, then the company will be ready considering that much of the performance of LCEVC is dependent on the base layer, using any video codec.

“We are ready, but we are implementing what we think are the most promising codecs for now,” was the message.

“Let’s think about HEVC. You have video content, you downscale it by a factor of two, and you encode the downscaled version in HEVC. So far, you are using existing standards. Then LCEVC provides a means of upscaling and the residual information to go back to full resolution,” he said, in a simplistic summary of the technology that glazed over the performance improvements and computational complexity reductions. It could be a while, but we would bet that Ateme will eventually be working with LCEVC.

In the meantime, Ateme is more focused on the development of its AV1 implementation which is currently on par with HEVC for performance. Ateme also has a “very early” development of VVC, which is already showing better than HEVC for live, with demos ready to rock and roll.

Looking ahead to post-VVC with development around AV2, Ateme’s people are working on deep learning-based codecs – improving quadtree decisions and improving intra-coding efficiency in the coding core. Ateme is also exploring reducing the flow and cost evaluation in the processing core, as well as investigating deep learning in the cloud. All trends for well beyond 2021.