Steven Liu 863ebe6f83 avformat/flvenc: add add_keyframe_index option
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: Lou Logan <lou@lrcd.com>
Signed-off-by: Steven Liu <liuqi@gosun.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-10 10:30:48 +08:00
..
2016-11-10 00:42:48 +01:00
2016-10-21 23:58:47 +02:00
2016-05-04 18:16:21 +02:00
2016-10-21 23:58:47 +02:00
2016-10-01 19:58:04 +01:00
2016-10-29 20:43:15 +02:00
2016-10-01 19:58:04 +01:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2016-10-03 00:16:27 +01:00
2016-10-03 00:16:27 +01:00