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

FFmpeg trac at avcodec.org
Thu Jul 13 01:19:00 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):

 Seems the code may be reading the wrong trun box?

 good:
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc410020c00] mov_read_trun, ctts_index: 320,
 duration: 3003, sample_duration:3003, file_position:860478
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc410020c00] mov_read_trun, ctts_index: 321,
 duration: 9009, sample_duration:3003, file_position:860478
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc410020c00] mov_read_trun, ctts_index: 322,
 duration: 0, sample_duration:3003, file_position:860478
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc410020c00] mov_read_trun, ctts_index: 323,
 duration: 0, sample_duration:3003, file_position:860478
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc410020c00] mov_read_trun, ctts_index: 324,
 duration: 3003, sample_duration:3003, file_position:860478

 bad:
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc060836800] mov_read_trun, ctts_index: 320,
 duration: 3003, sample_duration:3003, file_position:3350481
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc060836800] mov_read_trun, ctts_index: 321,
 duration: 3003, sample_duration:3003, file_position:3350481
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc060836800] mov_read_trun, ctts_index: 322,
 duration: 3003, sample_duration:3003, file_position:3350481
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc060836800] mov_read_trun, ctts_index: 323,
 duration: 3003, sample_duration:3003, file_position:3350481
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc060836800] mov_read_trun, ctts_index: 324,
 duration: 3003, sample_duration:3003, file_position:3350481

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


More information about the FFmpeg-trac mailing list