Repository navigation
hevc.js — HEVC software fallback plugin for dash.js (WASM) #5018
privaloops
started this conversation in
Show and tell
Replies: 1 comment
|
Thank you @privaloops . I need to check this in more detail. Would you be interested in adding this as a sample to the reference sample section: https://reference.dashif.org/dash.js/nightly/samples/ ? If so please provide a pull request following the structure of the other samples |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey 👋
I built a dash.js plugin that adds HEVC playback on browsers without native support. Instead of double-encoding your content
(HEVC + H.264), the plugin transcodes HEVC to H.264 client-side in a Web Worker. dash.js doesn't know it's happening — ABR,
seek, live all work unmodified.
How it works:
npm install @hevcjs/dashjs-plugin dashjsUsage:
The HEVC decoder is a from-scratch C++17 implementation of ITU-T H.265, compiled to WASM (236KB). Pixel-perfect against
ffmpeg on 128 test bitstreams.
Tradeoff: first segment takes 2-3s to transcode (software decode). After that, playback is smooth.
Live demo: https://hevcjs.dev/demo/dash.html (toggle "Force transcoding" to test the WASM path even if your browser has
native HEVC)
GitHub: https://github.com/privaloops/hevc.js
npm: https://www.npmjs.com/package/@hevcjs/dashjs-plugin
Feedback welcome — especially from people dealing with HEVC DASH in production.
All reactions