搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Why doesn't Firefox support the h.264 codec?

  • 2 回覆
  • 38 有這個問題
  • 2 次檢視
  • 最近回覆由 pushyamitra

more options

This isn't as much of a support question as a design decision question. I know that WebM is to remain open, and h.264 isn't sure, but from what I can tell from these results:

http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=68594&PageNum=1

The CPU usage difference is immense, which honestly is an issue for a lot of PC's. h.264 is way lower on CPU usage, and seems to be superior overall. Are there any plans/talks to move that to being an open standard, and will Firefox ever support it?

I understand Firefox is an open source browser, but that doesn't mean it shouldn't support some standards if they are as dramatically superior as this, even if it wont always remain open, drop it at that time instead of just not picking it up.

This isn't as much of a support question as a design decision question. I know that WebM is to remain open, and h.264 isn't sure, but from what I can tell from these results: http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=68594&PageNum=1 The CPU usage difference is immense, which honestly is an issue for a lot of PC's. h.264 is way lower on CPU usage, and seems to be superior overall. Are there any plans/talks to move that to being an open standard, and will Firefox ever support it? I understand Firefox is an open source browser, but that doesn't mean it shouldn't support some standards if they are as dramatically superior as this, even if it wont always remain open, drop it at that time instead of just not picking it up.

所有回覆 (2)

more options

hello, firefox will use your system's inbuilt decoders to playback h.264 encoded html5 videos: https://hacks.mozilla.org/2013/01/firefox-development-highlights-h-264-mp3-support-on-windows-scoped-stylesheets-more/

more options

Philipp,

What you say works for me on Windows but not on mac. On windows, firefox plays h.264 encoded html5 videos using system's inbuilt decoders. But same does not seem to be true for mac?

More details:

- Tried this on mac 10.7.4 and 10.8.4, firefox version: 22
- Both give a warning message in error console:  "Content-type" of "video/mp4" is not supported.
- Exactly same content type works on FF on Windows

This is how I am using video element in my page: <video src="/sample.mp4" class="vid" width="550" height="400" controls autoplay />

Any info on this?

由 pushyamitra 於 修改