[FFmpeg-trac] #7497(avformat:new): trun.version=1 negative composition time offset is mishandled causing non-monotonic packet DTS

FFmpeg trac at avcodec.org
Wed Oct 17 01:38:19 EEST 2018


#7497: trun.version=1 negative composition time offset is mishandled causing non-
monotonic packet DTS
------------------------------------+------------------------------------
             Reporter:  pkoshevoy   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by pkoshevoy):

 * keywords:  mov =>


Comment:

 from the 14496-12 2012 spec:

 {{{

 8.6.1.3.2 Syntax

 aligned(8) class CompositionOffsetBox
    extends FullBox(‘ctts’, version = 0, 0) {
    unsigned int(32) entry_count;
    int i;
    if (version == 0) {
       for (i = 0; i < entry_count; i++) {
          unsigned int(32)  sample_count;
          unsigned int(32)  sample_offset;
       }
    }
    else if (version == 1) {
       for (i = 0; i < entry_count; i++) {
          unsigned int(32)  sample_count;
          signed   int(32)  sample_offset;
       }
    }
 }

 }}}

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


More information about the FFmpeg-trac mailing list