With a reputation as one of the world’s wise founding fathers of OTT video, it’s no wonder the BBC took the brunt of criticism following certain World Cup streaming mishaps – yet mention of any specific technical faults have been missing among the backlash of coverage, until now.
The BBC UHD encoder is thought to have been optimizing for PSNR (peak signal to noise ratio) rather than for visual quality – with an analysis concluding the encoder is using a very limited subset of features available in HEVC due to performance limitations onboard, in order to hit real-time UHD, according to Open Broadcast Systems.
The encoding and contribution vendor has conveniently translated an HEVC bitstream analysis report by Parabola Explorer into an easy to understand blog post, following an assessment of 199 frames of the bbc.hevc encoder.
“It would be interesting to see UHD at a lower bitrate to see if the encoder would end up using more HEVC features. It’s quite surprising in 2018 to see such a limited set of features being used and it’s likely that there are better examples of state of the art real-time encoding out there,” said Open Broadcast Systems.
It’s important to note that this is merely an objective analysis of the coding features the encoder uses and not an analysis of the subjective or objective picture quality of the encoder. Open Broadcast Systems also highlights that the data is from a small clip, although the main short clips can provide a good indication of the coding decisions an encoder is making.
Another finding was that the GOP (group of pictures) structure, which specifies the arrangement of intra and inter-frames in video coding, appears not to adapt. The analysis found it to be quite similar to MPEG-2 in that it only keeps a maximum of one I-frame to build L1 and L0, which are used on B-Frames – also known as the bi-directional predictive frame compression method.
From this, we drew an initial conclusion that the BBC was using unchanged broadcast compression instead of the ABR you would expect in iPlayer, which would look a bit like the GOP structure described, until Open Broadcast Systems explained to us, “The BBC was using ABR but a very basic set of features from HEVC. The GOP could adapt in all sorts of interesting ways just so long as the lengths were the same in order for ABR segments to align.”
Open Broadcast Systems carried out a similar analysis of the coding tools being used by the BBC in trialing UHD on DTT during the 2014 World Cup in Brazil. This year was different in that the BBC used UHD on its iPlayer streaming portal, and some reverse engineering carried out by Open Broadcast Systems of the MPEG-DASH stream allowed it to dump a copy of the raw stream at 35 Mbps.
The BBC encoder has progressed in four years, when Open Broadcast Systems reeled off a whole list of missing features from the analysis, but still a handful of negative similarities remain. The 2014 report found intra-prediction modes were very limited – always using DC, horizontal or vertical and very rarely using the other 32 modes. There was also no use of Asymmetric Prediction Units in the 2014 encoder, no use of variance-based adaptive quantization to improve visual quality, no use of Sample Adaptive Offset, no use of Weighted Prediction, and finally no use of BI prediction whatsoever.
The 2018 encoder was also found to have no use of adaptive quantization, a form of video encoding algorithm, and no use of Sample Adaptive Offset, an in-loop filtering technique used to reduce sample distortion.
A key comparison is how Open Broadcast Systems voiced no real surprise at the BBC HEVC results from 2014, saying at the time, “At this early stage it’s no real surprise that people like Netflix are saying ‘we’re not seeing efficiency gains being claimed by HEVC encoding vendors’ and such a limited use of the toolkit is the main reason why.”
Fast forward four years and the analysis is certainly one of surprise, representing how far demand has come but how slow progress is comparatively – with even major broadcasters not yet harnessing the full potential of HEVC due to limitations in technologies at its disposal.
The BBC has substantial R&D resources and has been one of the most active broadcasters in the video codec space, joining the Alliance for Open Media in 2016 and regularly evaluating the performances of emerging video coding technologies and tools.
Open Broadcast Systems told us the BBC used an AWS Elemental encoder but the analysis suggests laziness on behalf of the BBC rather than any underlying issues with the Elemental technology.
For the engineers among us, the full Parabola Explorer 4.2 HEVC bitstream analysis can be found here.