petersalomonsen / mp4-wasm

fast MP4 mux / demux using WASM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

fast MP4 mux / demux using WASM

License:MIT License


Languages

Language:C 77.5%Language:JavaScript 17.8%Language:C++ 1.7%Language:HTML 1.6%Language:CMake 0.9%Language:Shell 0.4%