Tag

WebCodecs

0 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Dec 3, 2024 · Frontend Development

Design and Implementation of a WASM Demuxer for WebCodecs Video Frame Extraction

The project extracts FFmpeg’s demuxing logic into a lightweight WebAssembly module that feeds container‑agnostic video packets to WebCodecs, enabling fast, low‑cost frame extraction across many formats and cutting cover‑generation latency by ~40% while reducing container‑related failures by ~72%.

FFmpegVideo DemuxingWebAssembly
0 likes · 11 min read
Design and Implementation of a WASM Demuxer for WebCodecs Video Frame Extraction
Bilibili Tech
Bilibili Tech
Oct 29, 2024 · Frontend Development

WebCodecs Solution Analysis

The article evaluates WebCodecs‑based video editing for browsers, comparing it to cloud and ffmpeg.wasm approaches, and concludes that its low cost and high extensibility outweigh limited ecosystem and compatibility, while outlining the required modules, OPFS storage, frame decoding, and spatial‑temporal manipulation techniques.

Video EditingWeb APIWebCodecs
0 likes · 14 min read
WebCodecs Solution Analysis
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
May 31, 2024 · Frontend Development

REDtech Salon: Frontier Exploration of WebGPU and Interactive Rendering Technologies

The REDtech Salon in Shanghai showcased WebGPU and interactive rendering advances, with W3C’s François Daoust demonstrating WebCodecs, Streams, and GPU‑accelerated video processing, while Xiaohongshu’s Huang Yuejia and Wang Ning highlighted business‑driving projects, migration from WebGL to WebGPU, and future AR‑enabled frontend innovations.

Interactive RenderingStreams APIW3C
0 likes · 8 min read
REDtech Salon: Frontier Exploration of WebGPU and Interactive Rendering Technologies
Bilibili Tech
Bilibili Tech
Apr 16, 2024 · Frontend Development

Design and Implementation of a High‑Performance Matroska Demuxer for Web Uploads

The new mkv-demuxer SDK replaces the slow FFmpeg-Wasm solution on Bilibili’s upload page by reading Matroska files in slice-sized ArrayBuffers, parsing EBML headers and SeekHead indexes, and exposing getMeta, getData, and seekFrame APIs, cutting memory use by 98 % and parsing time by 97 % while accelerating cover-generation and recommendation processing.

DemuxerMatroskaPerformance
0 likes · 17 min read
Design and Implementation of a High‑Performance Matroska Demuxer for Web Uploads
Bilibili Tech
Bilibili Tech
Jan 30, 2024 · Frontend Development

Efficient Video Frame Extraction Using WebCodecs on Bilibili's Web Upload Page

Bilibili’s web upload page now uses the browser‑native WebCodecs API to decode video frames client‑side, replacing slower Canvas and Wasm‑FFmpeg pipelines, achieving 2.5–5× faster cover‑frame extraction with lower memory use, while supporting MP4/WebM and improving user experience.

MP4WebAssemblyWebCodecs
0 likes · 12 min read
Efficient Video Frame Extraction Using WebCodecs on Bilibili's Web Upload Page
Bilibili Tech
Bilibili Tech
Jan 12, 2024 · Frontend Development

Understanding WebCodecs: Design Goals, Core API, Demos, and Application Scenarios

WebCodecs, introduced in Chrome 94, provides direct, low‑latency access to hardware‑accelerated audio and video codecs, enabling fine‑grained encoding and decoding control, composable streaming pipelines, and high‑performance demos such as controllable decoding, watermarking, chroma‑key, and client‑side video processing, while still lacking container support and broad browser compatibility.

Audio Video APIsBrowser MediaWebAV
0 likes · 15 min read
Understanding WebCodecs: Design Goals, Core API, Demos, and Application Scenarios
DaTaobao Tech
DaTaobao Tech
Mar 31, 2023 · Frontend Development

Deploying H.265 Video on the Web: Compatibility, Hardware/Software Requirements, and Playback Strategies

Deploying H.265 on the web is now viable thanks to Chrome 107’s hardware decoding and mature software decoders, but developers must navigate browser support differences, meet specific GPU and OS prerequisites, choose appropriate detection APIs, and implement a fallback hierarchy—from simple video element sources to MSE, WebCodecs, and finally WASM‑based soft decoding—to ensure broad compatibility and optimal performance.

Browser CompatibilityH.265MSE
0 likes · 25 min read
Deploying H.265 Video on the Web: Compatibility, Hardware/Software Requirements, and Playback Strategies