[FFmpeg-trac] #9412(avformat:open): HEVC fails to seek on keyframe

FFmpeg trac at avcodec.org
Sun Nov 28 09:15:24 EET 2021

#9412: HEVC fails to seek on keyframe
             Reporter:  SuRGeoNix    |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts hevc  |               Blocked By:
  seek                               |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by SuRGeoNix):

 Found another issue with HEVC (at least with the same LG Chess 4K Demo.ts)
 that might be related to this one.

 I have implemented a reverse playback by decoding from keyframe until the
 next one and then seeking to the previous keyframe (Manually ensuring that
 I actually have keyframe to keyframe).

 While decoding I'm draining the decoder properly but it seems that
 sometimes it misses some frames and I have at least 2-3 frames diff
 between the last draining frame and the next keyframe. I will do further
 testing and open a new issue if required.
Ticket URL: <https://trac.ffmpeg.org/ticket/9412#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list