A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Video type parameters

From WHATWG Wiki
Revision as of 19:59, 9 April 2007 by Hsivonen (talk | contribs) (RFC for ogg)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The <video> element allows UA capability-based fallback with multiple alternative video resources designated by multiple <source> elements. The UA is expected to pick the alternative it tries to play by comparing the information given in the type attribute against its knowledge about its own playback capabilities.

The main media type designates the container format. In general, it does not say anything about codecs needed to decode the streams packaged in the container. RFC 4281 defines a codecs MIME parameter for indicating which codecs are used within the container. The parameter takes a double-quoted comma-separated list of codec identifiers. For example, the MIME type for MPEG-4 Simple Profile Level 0 video and AMR audio in a 3GPP container (.3gp) is video/3gpp; codecs="mp4v.20.8,samr".

The following list is organized by container.

Ogg

Main MIME type: application/ogg (RFC 3534)

Filename extension: .ogg

Video Codecs

Theora: unknown

Dirac: unknown

Audio Codecs

Vorbis: unknown

Matroska

Main MIME type: video/x-matroska

Filename extension: .mkv

Video Codecs

Theora: unknown

Dirac: unknown

Audio Codecs

Vorbis: unknown