Re: [FFmpeg-devel] [PATCH v3] avformat/flvenc: add add_keyframe_index option

2016-11-07 Thread Michael Niedermayer
On Mon, Nov 07, 2016 at 06:02:05PM +0800, Steven Liu wrote: > 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

[FFmpeg-devel] [PATCH v3] avformat/flvenc: add add_keyframe_index option

2016-11-07 Thread Steven Liu
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 *time