Go to file
2020-03-05 22:26:46 +03:00
images add modes description 2019-12-16 11:28:51 +03:00
scripts add basic demux test 2019-12-14 02:03:41 +03:00
vectors add basic demux test 2019-12-14 02:03:41 +03:00
.gitignore basic fragmentation mode support 2019-12-12 14:42:07 +03:00
.travis.yml initial code 2018-09-25 00:29:32 +03:00
LICENSE initial 2018-09-24 19:15:47 +03:00
minimp4_test.c fix mp4f with multiple tracks 2020-02-17 22:09:31 +03:00
minimp4.h fix compilation as C code 2020-03-05 22:26:46 +03:00
README.md add modes description 2019-12-16 11:28:51 +03:00

Mini MP4

Build Status

Easy embeddable MP4 mux/demux library.

Usage

Muxing

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

default

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:

default

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

default

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.

Bindings