This demo decodes all frames from an MP4 file and renders them to a canvas as fast as possible. It uses mp4box.js for demuxing.
Note: The WebGPU rendering mode is not yet available in all browsers.
As of M108, Chrome requires the --enable-unsafe-webgpu
flag.
Renderer:
Fetch | Not started |
---|---|
Demux | Not started |
Decode | Not started |
Render | Not started |