1. Organization
This registry maintains a mapping between codec strings and definitions for (1)
fully qualified codec string values, (2) codec-specific values for VideoDecoderConfig.description
and AudioDecoderConfig.description
, and (3) codec-specific members of
the VideoEncoderConfig
and AudioEncoderConfig
dictionaries.
2. Registration Entry Requirements
-
Each entry must include a unique codec string and a common name string.
-
If the codec string contains a fixed prefix with variable suffix values, the suffix must be represented by an asterisk and the registration must link to a public specification describing how to fully qualify the variable portion of the string.
-
If the described codec requires that codec-specific bytes be provided as part of the
VideoDecoderConfig.description
or theAudioDecoderConfig.description
, the registration must link to a public specification describing how to populate these fields. -
If the
AudioEncoderConfig
orVideoEncoderConfig
dictionaries are extended with members specific to the described codec, the registration must link to a public specification describing how to populate these fields. -
Candidate entries must be announced by filing an issue in the WebCodecs GitHub issue tracker so they can be discussed and evaluated for compliance before being added to the registry. If registry editors reach consensus to accept the candidate, a pull request should be drafted (either by editors or by the party requesting the candidate registration) to register the candidate. The registry editors will review and merge the pull request.
3. Audio Codec Registry
Several registrations contain TODOs which should be replaced with links to public specifications covering the mentioned definitions.
codec string | common name | public specification |
flac | Flac | FLAC codec registration [WEBCODECS-FLAC-CODEC-REGISTRATION] |
mp3 | MP3 | MP3 WebCodecs Registration [WEBCODECS-MP3-CODEC-REGISTRATION] |
mp4a.* | AAC | AAC WebCodecs Registration [WEBCODECS-AAC-CODEC-REGISTRATION] |
opus | Opus | Opus WebCodecs Registration [WEBCODECS-OPUS-CODEC-REGISTRATION] |
vorbis | Vorbis | Vorbis WebCodecs Registration [WEBCODECS-VORBIS-CODEC-REGISTRATION] |
ulaw | PCM u-law | N/A |
alaw | PCM a-law | N/A |
4. Video Codec Registry
Several registrations contain TODOs which should be replaced with links to public specifications covering the mentioned definitions.
codec string | common name | specification |
av01.* | AV1 | AV1 codec registration [WEBCODECS-AV1-CODEC-REGISTRATION] |
avc1.* | AVC / H.264 | AVC (H.264) WebCodecs Registration [WEBCODECS-AVC-CODEC-REGISTRATION] |
vp8 | VP8 | VP8 codec registration [WEBCODECS-VP8-CODEC-REGISTRATION] |
vp09.* | VP9 | VP9 codec registration [WEBCODECS-VP9-CODEC-REGISTRATION] |
5. Privacy and Security Considerations
Please refer to the Privacy Considerations and Security Considerations sections in [WEBCODECS].