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
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.9,samr"
.
The following list is organized by container.
Ogg
Main MIME type: application/ogg
(RFC 3534)
Filename extension: .ogg
Video Codecs
- Theora:
theora
- Dirac: unknown
Audio Codecs
- Vorbis:
vorbis
- Speex:
speex
Matroska
Main MIME type: video/x-matroska
Filename extension: .mkv
Video Codecs
- Theora: unknown
- Dirac: unknown
Audio Codecs
- Vorbis: unknown
MP4
Main MIME type: video/mp4
(RFC 4337)
Filename extension: .mp4
Video Codecs
- H.264 Baseline:
avc1.42E0xx
, where xx is the AVC level - H.264 Main:
avc1.4D40xx
, where xx is the AVC level - H.264 High:
avc1.6400xx
, where xx is the AVC level - MPEG-4 Visual Simple Profile Level 0:
mp4v.20.9
- MPEG-4 Visual Advanced Simple Profile Level 0:
mp4v.20.240
Audio Codecs
- Low-Complexity AAC:
mp4a.40.2
3GPP
Main MIME type: video/3gpp
(RFC 3839)
Filename extension: .3gp
Video Codecs
- MPEG-4 Visual Simple Profile Level 0:
mp4v.20.9
Audio Codecs
- Low-Complexity AAC:
mp4a.40.2
- AMR:
samr
Advanced Systems Format
Main MIME type: video/x-ms-wmv
Filename extension: .wmv
Video Codecs
- Windows Media Video 8 (4CC: WMV2): unknown
- Windows Media Video 9 / VC-1 Main (4CC: WMV3): unknown
- Windows Media Video 9 Advanced / VC-1 Advanced (4CC: WVC1): unknown
Audio Codecs
- Windows Media Audio 2: unknown
- Windows Media Audio 10 Professional: unknown
Real Media
Main MIME type: application/vnd.rn-realmedia
Filename extension: .rm
Is this single-vendor format even relevant here?
WAVE
Main MIME type: audio/x-wav
Filename extension: .wav
Audio Codecs
- PCM: unknown
- u-Law: unknown
- ADPCM: unknown
- MP3: unknown