Playing AV1 in Firefox Nightly

I recently wrote an article for Streaming Media where I tested AV1 playback from YouTube in Chrome. I mentioned that I couldn’t make Firefox Nightly work, though it also should play the YouTube content. Some folks from Mozilla got in touch and detailed the steps to make it work.

1.  Download Firefox Nightly here.

2.  Go to about:config and click “I accept the risk!”

3.  Type “av1” into the search bar and enable the preference: media.av1.enabled = true

4.  Toggle “Always Prefer AV1” in https://www.youtube.com/testtube.

I was rewarded with gorgeous, efficient AV1 playback at up to 1080p. The image below shows Firefox playing 1080p video on my 4-core Zbook notebook at under 20% utilization.

In the Streaming Media article, I mentioned that I suffered severe dropped frames with a couple of clips, most notably the Halo trailer. I checked with Firefox and experienced the same problem. I checked several other clips in Firefox and they played fine, just as they did in Chrome. The Halo problems feel like an encoding issue, but that’s just a guess.

The bottom line is that AV1 playback is much more efficient than I originally measured. As I mentioned in the Streaming Media article, AV1 encoding has apparently gotten a lot faster as well, now down to 40x VP9 (from over 1,000). Still waiting to see how AV1quality compares to HEVC when deployed at scale; hopefully, that will be soon now that we know playback requirements are reasonable.


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 *