[FFmpeg-trac] #6850(avformat:open): Seeking to beginning of HLS stream fails

FFmpeg trac at avcodec.org
Thu Feb 10 01:52:21 EET 2022


#6850: Seeking to beginning of HLS stream fails
--------------------------------------+------------------------------------
             Reporter:  tospi         |                    Owner:  (none)
                 Type:  defect        |                   Status:  open
             Priority:  normal        |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:  hls dts seek  |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Comment (by Balling):

 I think this may happen due to my
 https://patchwork.ffmpeg.org/project/ffmpeg/patch/20210604062818.2099-1-val.zapod.vz@gmail.com/
 "circuiting force will never be checked" in case SEEK_END and here is the
 bug.


 Anyway, there are still two bugs even with -bytes 0: first of all when you
 seek right from 0:00:00.000 you are supposed to be on 10 seconds, right?
 And yet you are now on 20 seconds!

 Also when you seek left on 25 seconds you ARE FIRST seeking to 10 seconds
 start of segment and only then you seek to 15 seconds, very crazy. And
 that can be verified on pause but even without it looks obvious.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/6850#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list