Description
jMuxer is a simple JavaScript MP4 muxer that works in the browser and in Node. It is not tied to any communication protocol, so you can feed it data from your own source. Its main job is playing media in a browser video element through the Media Source Extensions API. It expects raw H.264 video and/or AAC audio in an ADTS container as input. In Node it can also export MP4. Options control the mode (both, video or audio), the video codec (H.264, or H.265 where the browser supports it), buffer flushing time, maximum delay, automatic buffer clearing, frame rate, and whether frame rate is read from the track. Callbacks report when MSE is ready, when muxed data is ready, on buffer errors, and on unsupported codecs. The README includes a live demo, a demo server with a player example, build instructions and credits. A distribution build is kept in the dist folder.…
Highlights
- Plays raw H.264 and AAC through browser MSE
- Works in both browser and Node environments
- Protocol-agnostic input of raw H.264 and AAC ADTS
- Configurable buffer, delay and codec options
Ratings & Reviews
No ratings yet
Be the first to rate Jmuxer.
People also visit
Jmuxer FAQ
What is jMuxer?
A simple JavaScript MP4 muxer for playing raw video in a browser, or exporting MP4 in Node.
What input does it take?
Raw H.264 video and/or AAC audio in an ADTS container.
Does it support H.265?
Yes, if the browser supports H.265. The default codec is H.264.
Which settings affect latency?
flushingTime and maxDelay control buffer timing. The README says flushingTime can be set to 0 to flush immediately if you see lag.
Is there a demo?
Yes. The project links a live demo and a demo server with a player example.
What are the best Jmuxer alternatives?
Popular alternatives to Jmuxer include Semana Javascript Expert08, Mediaelement and Mpegts.js. See all Jmuxer alternatives

