Skip to content
WebCodecs is a flexible web API for encoding and decoding audio and video
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CODE_OF_CONDUCT.md Adding baseline CODE_OF_CONDUCT.md Sep 13, 2019
CONTRIBUTING.md Adding baseline CONTRIBUTING.md Sep 13, 2019
LICENSE.md Adding baseline LICENSE.md Sep 13, 2019
README.md Fix explainer link Jun 22, 2019
explainer.md Fix typos Sep 18, 2019
w3c.json Adding baseline w3c.json Sep 13, 2019
webcodecs.idl

README.md

WebCodecs

API that allows web applications to encode and decode audio and video

Many Web APIs use media codecs internally to support APIs for particular uses:

  • HTMLMediaElement and Media Source Extensions
  • WebAudio (decodeAudioData)
  • MediaRecorder
  • WebRTC

But there’s no general way to flexibly configure and use these media codecs. Because of this, many web applications have resorted to implementing media codecs in JavaScript or WebAssembly, despite the disadvantages:

  • Increased bandwidth to download codecs already in the browser.
  • Reduced performance
  • Reduced power efficiency

It's great for:

  • Live streaming
  • Cloud gaming
  • Media file editing and transcoding

See the explainer for more info.

You can’t perform that action at this time.