
jMuxer
jMuxer - a simple javascript mp4 muxer that works in both browser and node environment. It is communication protocol agnostic and it is intended to play media files on the browser with the help of the media source extension. It also can export mp4 on the node environment. It expects raw H264 video data and/or AAC audio data in ADTS container as an input.
Live Demo
Click here to view a working demo
Click here to play a h264 file online
How to use?
A distribution version is available on dist folder.
<script type="text/javascript" src="dist/jmuxer.min.js"></script>
var jmuxer = new JMuxer(option);
Available options are:
node - String ID of a video tag / Reference of the HTMLVideoElement. Required field for browsers.
mode - Available values are: both, video and audio. Default is both