[FFmpeg-trac] #5729(avformat:new): FLV key frame index at start may be skipped

FFmpeg trac at avcodec.org
Mon Jul 25 11:21:02 EEST 2016

#5729: FLV key frame index at start may be skipped
             Reporter:  snorlaxzxz   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  flv          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |

Comment (by snorlaxzxz):

 Replying to [comment:5 cehoyos]:
 > Replying to [comment:2 snorlaxzxz]:
 > > Replying to [comment:1 cehoyos]:
 > > > Seeking works fine here for the uploaded sample.
 > > > Please provide the command line that allows to reproduce the issue
 together with the complete, uncut console output.
 > >
 > >
 > > The issue was introduced since 09ae7b81ea. It may slow down seeking in
 online streams.
 > You could still elaborate on how we can reproduce the issue you see.

 The first way:
 You can reproduce the issue by accessing this file from a bandwidth
 limited web server (like 200KB/s)
 It takes tens of seconds to seek to a far position.

 Another way:
 Set a break point or add an av_log() in `parse_keyframes_index()` in
 `libavformat/flvdec.c` .
 It will not be called in n3.1.1 but works fine in n3.0

 The reason is explained above.

Ticket URL: <https://trac.ffmpeg.org/ticket/5729#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list