AV1 Encoding and 4K

A couple of additional data points on AV1 encoding as follow-ups to my Streaming Media article here. First, a colleague asked about 4K encoding times on Twitter. Second, a reader recommended using the row-mt switch for VP9.

So, I encoded a ten-second 4K test file on the same single-CPU ZBook as the Streaming Media article. I used the same basic command strings as shown in the Streaming Media article (and the previous first look), but added -row-mt 1 to enable row-based multithreading to both the VP9 and AV1 command strings as discussed here for VP9 (-row-mt is now documented in the AV1 help file available in FFmpeg – ffmpeg -h encoder=libaom-av1).

As you can see in the table, -row-mt cut encoding time by about 20% for both codecs with no quality loss for VP9 and slightly improved quality for AV1. I saw about a 20% encoding time reduction with VP9 when I went back and retested the 1080p file encoded for the latest Streaming Media article, again with no quality loss. At this point, I will be adding -row-mt 1 to enable row-based multithreading for AV1 and VP9 encodes.

With row-mt enabled, AV1 is about 32 times slower than HEVC and about 40 times slower than VP9 (with row-mt enabled), as compared to about 20 times slower with the 1080p file.

Note that the AV1 help in FFmpeg now includes the tile-columns and tile-rows commands discussed in the Streaming Media article. These were not included in help files I checked while researching that article, but they are now.

Just to show I’ve mastered charting in Google Sheets (and for readers who process visuals better than numbers), here’s an encoding time chart.

About Jan Ozer

Avatar photo
I help companies train new technical hires in streaming media-related positions; I also help companies optimize their codec selections and encoding stacks and evaluate new encoders and codecs. I am a contributing editor to Streaming Media Magazine, writing about codecs and encoding tools. I have written multiple authoritative books on video encoding, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (https://amzn.to/3kV6R1j) and Learn to Produce Video with FFmpeg: In Thirty Minutes or Less (https://amzn.to/3ZJih7e). I have multiple courses relating to streaming media production, all available at https://bit.ly/slc_courses. I currently work as www.netint.com as a Senior Director in Marketing.

Check Also

NAB Session on AI in Video Streaming

Like most encoding professionals, I’ve followed AI-related streaming advancements for the last few years. I’m …

Automated quality testing should include low-frame scoring.

Common Errors Obscured by Automated Video Quality Assessment

This article discusses five common errors that can be obscured by automated video quality assessment …

Rating techniques that cut bandwidth costs.

Five Codec-Related Techniques to Cut Bandwidth Costs

The mandate for streaming producers hasn’t changed since we delivered RealVideo streams targeted at 28.8 …

Leave a Reply

Your email address will not be published. Required fields are marked *