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

The Reality of Codec Adoption in Six Pictures

Most people reading this post want new codecs to succeed as soon as possible, and …

New Lessons on Streaming Monetization Added to Streaming Media 101

The Streaming Learning Center is pleased to announce the addition of four new lessons on …

Streaming Summer Bootcamp Session 2: Producing H.264

Announcing session 2 of Streaming Summer Bootcamp: Learn to Produce H.264 Video. Thu, Jul 11, …

Leave a Reply

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