mp4-wasm

1.0.6 • Public • Published

mp4-wasm

This module is still under development and may change.

Fast MP4 mux / demux using WASM, for modern browsers and Node.js.

What's supported:

  • MP4 video muxing (taking already-encoded H264 frames and wrapping them in a MP4 container)
  • MP4/H264 encoding and muxing via WebCodecs

What's still WIP:

  • MP4 video demuxing
  • MP4 audio muxing (single AAC track)
  • WebCodecs video decoding and demuxing

Live Demo (Chrome only behind "Experimental Web Platforms" flag)

This is built on top of the C/C++ library minimp4, and the primary motivator behind this project is to create a hassle-free solution for creating MP4/H264 videos fully client-side in the browser, without running into H264 patent issues.


Docs are WIP.

License

MIT, see LICENSE.md for details.

Package Sidebar

Install

npm i mp4-wasm

Weekly Downloads

128

Version

1.0.6

License

MIT

Unpacked Size

284 kB

Total Files

15

Last publish

Collaborators

  • mattdesl