# w3c/webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.

Repository: https://github.com/w3c/webcodecs
Canonical: https://ross.abutalabs.com/products/webcodecs
Homepage: https://w3c.github.io/webcodecs/
Language: HTML
License: NOASSERTION
License Family: other
Last push: 2026-08-26T17:51:55+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2630, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1283, forks 193 (observed 2026-08-28T04:04:14.383929+00:00)

## What it is
The W3C WebCodecs specification repository defines a web API giving JavaScript access to browser-implemented audio, video, and image codecs for encoding and decoding. It also maintains the codec registry and VideoFrame metadata registry.

## Use cases
- encode and decode video in the browser
- build a live streaming app with low-latency codecs
- implement cloud gaming video pipelines
- transcode media files in a web app
- access hardware codecs from JavaScript instead of WebAssembly
- edit video frames programmatically in the browser

## When to choose
- you need low-level, flexible control over media encoding/decoding in the browser
- existing APIs like MediaRecorder or HTMLMediaElement are too inflexible
- you want to avoid shipping codecs via JavaScript or WebAssembly

## When to avoid
- you just need simple video playback with HTMLMediaElement
- you need a server-side or Node.js codec solution
- you need guaranteed codec support, since browsers may implement different codec sets

## Facets
- artifact type: learning-resource
- maturity: active
- function: video-processing, audio-processing, serialization
- domain: web-development, media
- platform: browser, wasm
- tags: webcodecs, w3c-specification, codec-api, media-encoding, media-decoding, streaming, browser-api, video, audio

## Member repositories
- w3c/webcodecs (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:14.383929+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:57:38.895467+00:00, confidence not recorded.
  - readme: https://github.com/w3c/webcodecs (fetched 2026-08-28T04:04:14.383929+00:00, sha 7d45c4df9906)
  - homepage: https://w3c.github.io/webcodecs/ (fetched 2026-08-29T12:12:36.858762+00:00, sha 9612bdc558ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
