Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 video codec support

What codecs will be supported with the HTML5 video tag?

Will it vary by browser, or is there a spec of specific codec that will be supported?

like image 204
John Egbert Avatar asked Sep 10 '10 22:09

John Egbert


People also ask

Is MP4 supported by HTML5?

The minimum for HTML5 video is MP4 + WebM or Ogg (or both), using the MP4 version for Flash fallback. 2. For mobile support, one H. 264/MP4 output can take you a long way.

Which of the following video format is not supported by HTML5?

wmv" video files are not supported by any browser. That is the only way for WMV video files.

What are the 3 supported video formats by our browsers?

But HTML supports only 3 types of video formats, which include MP4, Ogg, and WebM. We will explore all those types of video formats that are supported by the browsers in detail.

Is WebM a HTML5?

WebM video plays directly in your web browser using HTML5. No plug-ins are needed, but you must install a modern web browser that supports HTML5 and WebM.


2 Answers

According to wikipedia:

The current HTML5 draft specification does not specify which video formats browsers should support in the video tag. User agents are free to support any video formats they feel are appropriate.

HTML5 is in draft format though and this may change.

There is an ongoing debate about the suitability of various algorithms and it seems that currently not everyone involved is able to agree on an answer. The three major contenders are Ogg/Theora, H.264 and VP8/WebM. The present state of the various implementations varies between the browsers.

The current HTML5 draft spec states:

It would be helpful for interoperability if all browsers could support the same codecs. However, there are no known codecs that satisfy all the current players: we need a codec that is known to not require per-unit or per-distributor licensing, that is compatible with the open source development model, that is of sufficient quality as to be usable, and that is not an additional submarine patent risk for large companies. This is an ongoing issue and this section will be updated once more information is available.

like image 183
Simon P Stevens Avatar answered Sep 28 '22 11:09

Simon P Stevens


The most detailed description of the HTML5 video situation I've read is in the Dive Into HTML5 book.

like image 30
Nickolay Avatar answered Sep 28 '22 11:09

Nickolay