Hacker GitHub

← All repos

w3c/webcodecs

View on GitHub ↗ ★ 1,300 HTML

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

15 mentions on Hacker News by 11 people: 1 story, 14 comments · first 2020-01-04 · latest 2025-12-25

Mentions per year 15 mentions · busiest year 2023 (6)
20082026
  1. …(text-draws, etc). Maybe having an ImageEncoder API might be worthwhile after all then https://github.com/w3c/webcodecs/issues/204 .
  2. …trying to do it fully clientside, it would be slow and all, here is a bit about the alternatives: https://github.com/w3c/webcodecs/blob/main/explainer.md none of those alternatvies were specifically just for decoding and encoding, usually…
  3. Encoding alpha, please! https://github.com/w3c/webcodecs/issues/672 Thanks for the great work on WebCodecs!
  4. …abstraction on top of QP work for the case you have in mind? * Reference frame control seems to be https://github.com/w3c/webcodecs/issues/285 , there's some interest in this for 2024, so I'd expect progress here. * Does splitting frames…
  5. …codec and bitstream parameters. If it's H264 or H265, there's some more discussion and links here: https://github.com/w3c/webcodecs/issues/698#issuecomment-161... The optimizeForLatency parameter may also help in some cases:…
  6. https://blog.paul.cx/post/audio-video-synchronization-with-t... has some background, https://github.com/w3c/webcodecs/blob/main/samples/lib/web_a... is part of a full example that you can run using web codecs, web audio, audioworklet…
  7. …"We may need more encoding options, like non-reference frames or SVC", please file issues at https://github.com/w3c/webcodecs/issues
  8. …a three.js animation. [0] https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_A... [1] https://github.com/w3c/webcodecs
  9. …be the ultimate way to handle all of this in the future but it is only working in Chrome I think https://github.com/w3c/webcodecs
  10. ▲ 18
    WebCodecs is a flexible web API for encoding and decoding audio and video
    story by twapi · 2021-03-13 · 4 comments
  11. …this issue should hopefully be addressed whenever WebCodecs is standardized and implemented: https://github.com/WICG/web-codecs/issues/28 But until then it's quite disappointing that developers have to go as far as rolling their own…
  12. …and decode some audio and video as well to make that useful. For that, there is WebCodecs (see https://github.com/WICG/web-codecs or https://www.chromestatus.com/feature/5669293909868544 ) For use cases like live streaming and cloud…
  13. …ttps://www.w3.org/2019/09/18-mediaprocessing-harald-inserta... or something more low-level like this: https://github.com/WICG/web-codecs/blob/master/explainer.md ). But the web standard not being there yet doesn't prevent someone from…
  14. …protocols customized to their needs [2] [3]. [1] https://w3c.github.io/openscreenprotocol/ [2] https://github.com/WICG/web-codecs [3] https://github.com/WICG/web-transport (client/server), https://w3c.github.io/webrtc-quic/ (P2P) If you…
  15. …that would let video encoding be accelerated without going through the entire WebRTC pipeline: https://github.com/WICG/web-codecs/blob/master/explainer.md Somewhat tangentially related, for cases when P2P connectivity is not needed,…