• Martin Storsjö's avatar
    movenc: Add an option for enabling negative CTS offsets · c380a0d7
    Martin Storsjö authored
    This reduces the need for an edit list; streams that start with
    e.g. dts=-1, pts=0 can be encoded as dts=0, pts=0 (which is valid
    in mov/mp4) by shifting the dts values of all packets forward.
    This avoids the need for edit lists for such streams (while they
    still are needed for audio streams with encoder delay).
    
    This eases conformance with the DASH-IF interoperability guidelines.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    c380a0d7
movenc.c 164 KB