• Martin Storsjö's avatar
    movenc: Add an API unit test for fragmenting options/calls · 59e8ec0a
    Martin Storsjö authored
    Contrary to the normal fate tests that run via avconv, this tests
    nontrivial call sequences that are only doable via the API
    (mainly for different corner cases when using the muxer for
    segmenting).
    
    The test muxes fake packet data (with extradata that looks
    enough like proper data to make the file be viewable with e.g.
    boxdumper) and checks the hash of the produced files. The test also
    verifies that fragments produced via different call sequences remain
    identical (to avoid e.g. updating the output hashes and suddenly
    having fragments that used to be identical suddenly diverging), for
    fragments written with frag_discont and/or delay_moov.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    59e8ec0a
Makefile 23.7 KB