Awesome Open Source
Awesome Open Source

Mini MP4

Build Status

Easy embeddable MP4 mux/demux library.



Muxing can be done using 3 modes. Default mode uses one big mdat chunk:


This is most efficient mode, but disadvantage is that we need go back and patch mdat chunk size. This can be a problem in some cases, for example if stream transfered over network. To workaround this sequential mode is used:


This mode do not make any backwards seek. And last mode is fragmented aka fMP4.


This mode stores track information first and spreads indexes across all stream, so decoding can start before whole stream available. This mode is sequential too and usually used by browsers and HLS streaming.


Interesting links

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
c (14,739
mp4 (73
single-header-lib (37
mux (18

Find Open Source By Browsing 7,000 Topics Across 59 Categories