• Steven Liu's avatar
    avformat/flvenc: add add_keyframe_index option · 863ebe6f
    Steven Liu authored
    Add keyframe index metadata
    Used to facilitate seeking; particularly for HTTP pseudo streaming.
     1. read live streaming or file by sequence
     2. if use add_keyframe_index option, add a mark flag at the position,
        use to insert new context at the last step.
     3. add the keyframes *offset* and *timestamp* into a list
     4. if use add_keyframe_index option, shift the metadata data from
        mark flag offset
     5. insert the keyframes *offset* and *timestamp* from the list by
        sequence
     6. free the list
     7. end.
    
    Add FATE test case;
    Reviewed-by: 's avatarLou Logan <lou@lrcd.com>
    Signed-off-by: 's avatarSteven Liu <liuqi@gosun.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    863ebe6f
Name
Last commit
Last update
..
api Loading commit data...
checkasm Loading commit data...
fate Loading commit data...
filtergraphs Loading commit data...
ref Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
audiomatch.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
extended.ffconcat Loading commit data...
fate-run.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
ffserver-regression.sh Loading commit data...
ffserver.conf Loading commit data...
ffserver.regression.ref Loading commit data...
lavf-regression.sh Loading commit data...
md5.sh Loading commit data...
reference.pnm Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
simple1.ffconcat Loading commit data...
simple2.ffconcat Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
tiny_ssim.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...