[FFmpeg-trac] #6305(undetermined:new): Negative AVIndexEntry::timestamp value

FFmpeg trac at avcodec.org
Tue Apr 11 15:42:05 EEST 2017


#6305: Negative AVIndexEntry::timestamp value
-------------------------------------+-------------------------------------
             Reporter:  s0m3         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm developping a multimedia player based on FFmpeg library.

 To do frame stepping, I need to associate frame numbers and frame times
 (timecodes).
 If AVStream::nb_index_entries is != 0, I use AVIndexEntry structure,
 otherwise, I build an "index" manually.

 I have a sample video (25fps, 60s, with timecode) where AVIndex entries
 are wrong.
 index_entries[0].timestamp and index_entries[1].timestamp are negative. In
 fact, all following timestamps are correct except there's an offset of 2
 so index_entries[10].timestamp is the correct timestamp of frame 8 not 10.

 I checked timestamp values with another dedicated software (elecard
 StreamEye) so ffmpeg is buggy here.

 Let me know if you need any information.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6305>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list