Playing 4K (Ultra-High Definition) YouTube videos in Firefox

還沒有幫人幫忙翻譯這篇文章。若您已經知道如何翻譯 SUMO 內容,您可以直接開始翻譯。若您想了解如何翻譯 SUMO 文章,請從此處開始

The ability to play 4K (Ultra High Definition) videos on Firefox depends on your hardware, operating system, and YouTube’s decision to limit the 4K option for certain video codecs.

YouTube offers support two video codecs in different resolutions:

  • H264 is available only up to 1080p resolution
  • VP9 is available up to 4K resolution

H264 is the more widely available codec, which is supported on lots of machines in hardware, and VP9 requires a faster machine (typically not laptop or dual core machine) because it is still mostly available in software only.

When will I see 4K videos?

Whether or not you see 4K depends on the following:

Operating system

  • Linux: VP9 is enabled in Firefox, thus YouTube shows up to 4K resolution.
  • Mac: VP9 is disabled in Firefox, thus only H264 with 1080p will get played.
  • Windows: VP9 with 4K depends on the machine (see below).

Firefox's criteria on Windows

Firefox will enable the 4K option for the following scenarios:

  1. If your computer doesn’t have any hardware decoding capabilities, your computer has to do the decoding in software anyway, so Firefox enables VP9 in this case.
  2. Your computer doesn't support H264 or H264 was disabled on your machine.
  3. A small internal benchmark finds your computer is fast enough to support VP9.

Enable VP9 in Advanced Preferences

Warning: Changing advanced preferences can affect Firefox's stability and security. This is recommended for advanced users only.
In general, and especially on Mac which prefers H264 by default (see above), you can enable VP9 by setting media.mediasource.webm.enabled to true in the Configuration Editor (about:config page). This should only be done by advanced users who understand the impact on battery life and performance.

這篇文章有幫助嗎?

請稍候…

這些好人幫助我們撰寫了這篇文章:

Illustration of hands

成為志工

在此回答問題並幫助我們改善知識庫內容,與其他人一起切磋琢磨專業能力。

了解更多