[FFmpeg-trac] #6402(avformat:new): First frames incorrect after seeking on H264 file

FFmpeg trac at avcodec.org
Thu Jul 13 04:48:32 EEST 2017


#6402: First frames incorrect after seeking on H264 file
-------------------------------------+-------------------------------------
             Reporter:  jrummell     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by dalecurtis):

 My best guess so far is that the ctts index adjustment during
 mov_seek_stream() is incorrect when not all trun boxes have been read;
 which was the case prior to the sidx support.

 good:
 Seek 50000:
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f7fff05b600] adjusting ctts index... old:
 21, new:1440, count:12887

 bad
 Seek 50000:
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8700837000] adjusting ctts index... old:
 21, new:480, count:640

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6402#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list