• Martin Storsjö's avatar
    movenc: Allow writing a DASH sidx atom at the start of files · 40ed1cbf
    Martin Storsjö authored
    This is mapped to the faststart flag (which in this case
    perhaps should be called "shift and write index at the
    start of the file"), which for fragmented files will
    write a sidx index at the start.
    
    When segmenting DASH into files, there's usually one sidx
    at the start of each segment (although it's not clear to me
    whether that actually is necessary). When storing all of it
    in one file, the MPD doesn't necessarily need to describe
    the individual segments, but the offsets of the fragments can be
    fetched from one large sidx atom at the start of the file. This
    allows creating files for the DASH ISO BMFF on-demand profile.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    40ed1cbf
movenc.h 5.51 KB