[HN Gopher] Real-Time Video Processing with WebCodecs and Streams ___________________________________________________________________ Real-Time Video Processing with WebCodecs and Streams Author : ArtWomb Score : 48 points Date : 2023-03-18 17:29 UTC (5 hours ago) (HTM) web link (webrtchacks.com) (TXT) w3m dump (webrtchacks.com) | qwertox wrote: | From developer.mozilla.org [0] | | > WebCodecs API | | > The WebCodecs API gives web developers low-level access to the | individual frames of a video stream and chunks of audio. It is | useful for web applications that require full control over the | way media is processed. For example, video or audio editors, and | video conferencing. | | And from w3c [1]: | | > The WebCodecs API allows web applications to encode and decode | audio and video | | All this looks really promising, I wouldn't have thought that we | could use browsers directly to render videos. Maybe Puppeteer | could then stream the content of the page it is rendering, for | example a three.js animation. | | [0] https://developer.mozilla.org/en- | US/docs/Web/API/WebCodecs_A... | | [1] https://github.com/w3c/webcodecs | rektide wrote: | Super comprehensive review of so many possibilities, so many of | which have only been opened in the past couple years. | ArtWomb wrote: | WebCodecs API Samples: | | https://webcodecs-samples.netlify.app/ ___________________________________________________________________ (page generated 2023-03-18 23:00 UTC)