If you’re experienced with live streaming or recording video, you’ll have used a codec for encoding purposes. A codec is a device or program that allows you to shrink large video files (encoding) and make them available for later viewing or editing (decoding) – the name comes from both “(co)mpressor/(dec)ompressor” and “(co)de/(dec)ode”.
In the context of live streaming (and recording) in professional AV settings, codecs reduce the size (i.e. bitrate) of your data streams, allowing viewers to see your stream. For example, a compressed 1080p30 signal is typically about 4–8 Mb/s, whereas the uncompressed version would be 1.5 Gb/s – a 250x difference! Without the use of codecs, it would be nearly impossible to view such a high bitrate stream with today’s bandwidth limitations.
Why live stream in 4K?
Streaming and recording in 4K resolution is definitely worth it whenever possible. Doing so yields significant benefits to your audience in terms of definition and video quality and offers versatility and convenience for your own post-production purposes. (You can read more about the advantages and limitations of 4K in live streaming in our recent blog post here.)
In terms of video formats and codecs, 4K resolutions (3840×2160 pixels) contain four times more pixels than current popular Full HD resolutions (1920×1080), which means that there is lots more data per frame to transmit to your audience.
Luckily, there are new codecs available that are up to the challenge of tackling 4K resolutions and beyond.
H.265 – the choice 4K codec for video on demand
H.265, also known as HEVC, is the successor to the current generation of H.264 codec (also known as AVC) and is fully capable of encoding/decoding 4K resolutions. HEVC comes with most 4K TVs and computer monitors.
When encoding, H.265 consumes up to 8x–10x more computing power than H.264, making HEVC unsuitable for use in small to medium-sized live streaming events using most currently technology. Video of demand (VOD) services however, such as Netflix, typically encode their video content available ahead of time before making it available for viewer. In this way, VOD services can afford the additional computing power and increase in encoding time associated with HEVC to deliver 4K video to their audience at significantly lower bitrates
Note that while older formats and codecs (AVC/H.264) are still perfectly capable of processing 4K resolution video, newer formats like HEVC are simply more efficient at doing so, doubling the data compression ratio at the same level of video quality for substantially improved video quality at comparable bit rates. HEVC is a “future proof” video format, supporting resolutions up to 8K – 8192×4320!
While there are no costs associated with HEVC/H.265 use for end users, hardware manufacturers, proprietary software vendors and paid streaming services are required to pay royalties for using HEVC technology in their products and/or services. For example, H.265 codecs are included with the latest 4K monitors and 4K smart TVs,
Free streaming services (i.e. YouTube) were traditionally exempt from paying these royalties – but with HEVC this is no longer the case. This change spawned an interesting development of newer, open source video formats and codecs from a collaboration between certain well-known tech companies.
Enter the Alliance for Open Media
Unhappy with the licensing and patent issues associated with HEVC, tech giants Microsoft, Google, Mozilla, Cisco, Intel, Netflix and Amazon launched a new consortium: the Alliance for Open Media (AOMedia). The group works to develop next-generation media formats and deliver these formats as royalty-free and open source, with the main goal to “avoid more patent and licensing battles that have been a big roadblock to innovation.”
Many of the members already have their own work on next-generation 4K codecs; Cisco has Thor, Mozilla has been working on Daala, and Google on VP9. Companies from the chip industry (AMD, ARM, Intel, Nvidia) have recently joined AOMedia, ensuring a hardware-friendly design.
VP9 – the current most popular of 4K codecs for the web
VP9 in particular is one of the more ubiquitous royalty-free codec in use today and has gained popularity in web applications with the gradual shift from Flash to HTML5 technology.
VP9 is currently implemented in the following web browsers:
- Chromium and Google Chrome,
- Mozilla Firefox,
- Microsoft Edge.
Another main user of VP9 is Google’s popular video platform, YouTube, which offers VP9 video at all resolutions.
However, despite the popularity of VP9 in web use, AOMedia has big plans for future 4K codec development.
AV1 – the future of 4K codecs for the web
Members of AOMedia are currently putting their heads together to develop a new royalty-free video format named AOMedia Video (AV) based on VP9 and additional technology from Cisco’s Thor codec and Xiph’s/Mozilla’s Daala. The first version, AV1, will likely be completed by March 2017.
AV1 aims to improve bitrate efficiency over HEVC and VP9 by roughly 50% and is designed for higher resolutions (i.e. 4K) where it is expected to achieve its biggest gains.
With all AOMedia member companies in mind, it’s a fair assumption that AV1 will see rapid adoption by major browsers (Mozilla, Microsoft, Google), content distributors (Netflix, Amazon, YouTube), and device manufacturers.
What do these new 4K codecs mean for live streaming?
As mentioned in the HEVC section above, newer proprietary codecs like H.265 are less suited for live streaming as the video encoding process with a typical computer takes more time to complete (i.e. is not instant) and requires significantly more computing power. Until the technology advances to be less computer-intensive, it is recommended that you stick with H.264/AVC for live streaming. Open source codecs, such as VP9, are currently not included in live encoding hardware/software for the most part – but that may change in the future.
However, no matter which of the 4K codecs or video formats you choose, you’ll have the flexibility to live stream and record your 4K content in an easily consumable format for your audience thanks to adaptive streaming technologies. Even if you encode in one format, such as AVC for example, most streaming services like YouTube automatically transcode your H.264-encoding stream into VP9 (or AV1 in the future).
Users of our capture, streaming and recording products can rest assured that Epiphan’s 4K-ready products will always be capable of encoding 4K resolutions and producing dynamic and captivating live production content for your viewers.