This is incompatible with the omit_tfhd_offset flag (writing position independent fragments with interleaving requires the default_base_moof flag).
This makes the moof atoms slightly bigger, but can be better for playback (improving locality of sample data in the mdat).
2cb9c2f movenc: Allow interleaving samples when writing fragmented files
libavformat/movenc.c | 85 +++++++++++++++++++++++++++++++++++++++++++++-----
libavformat/movenc.h | 2 ++
2 files changed, 80 insertions(+), 7 deletions(-)
Upstream: git.libav.org