[FFmpeg-trac] #6613(undetermined:new): Stuck fixing non-monotonous DTS

FFmpeg trac at avcodec.org
Wed Sep 6 10:28:49 EEST 2017


#6613: Stuck fixing non-monotonous DTS
-------------------------------------+-------------------------------------
             Reporter:  punkrats     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by punkrats):

 I tried 3 more configurations and the process always died after 26,5 hours
 as before. My latest command is:

 {{{
 ffmpeg -y -re -i concat.index -c copy -bsf:a aac_adtstoasc -r 24 -copytb 1
 -fflags +igndts+genpts -f flv 'rtmp://server.local/live/stream/test'
 }}}

 I am sure now that FFmpeg has some kind of hard limit, maybe because the
 PTS is so far off. I can't explain why the PTS has such a huge negative
 value, though.

 Error after 26:29:42.74 runtime:

 {{{
 frame=2289187 fps= 24 q=-1.0 size=34278487kB time=26:29:42.74
 bitrate=2944.0kbits/s speed=   1x
 frame=2289198 fps= 24 q=-1.0 size=34278783kB time=26:29:43.23
 bitrate=2944.0kbits/s speed=   1x
 [concat @ 0x40dd420] Invalid timestamps stream=0, pts=-5405567,
 dts=8584510275, size=37014
 [concat @ 0x40dd420] Invalid timestamps stream=0, pts=-5390567,
 dts=8584525275, size=23962
 [flv @ 0x511d9c0] Non-monotonous DTS in output stream 0:0; previous:
 95383614, current: -60062; changing to 95383614. This may result in
 incorrect timestamps in the output file.
 [flv @ 0x511d9c0] Non-monotonous DTS in output stream 0:1; previous:
 95383640, current: -60056; changing to 95383640. This may result in
 incorrect timestamps in the output file.
 }}}

 Error after 26:29:43.49 runtime:

 {{{
 frame=2289180 fps= 24 q=-1.0 size=34232126kB time=26:29:42.49
 bitrate=2940.1kbits/s speed=   1x
 frame=2289190 fps= 24 q=-1.0 size=34232324kB time=26:29:42.98
 bitrate=2940.1kbits/s speed=   1x
 [concat @ 0x2fa5440] Invalid timestamps stream=0, pts=-5405567,
 dts=8584510275, size=37014
 frame=2289204 fps= 24 q=-1.0 size=34232670kB time=26:29:43.49
 bitrate=2940.1kbits/s speed=   1x
 [concat @ 0x2fa5440] Invalid timestamps stream=0, pts=-5390567,
 dts=8584525275, size=23962
 [flv @ 0x30d7380] Non-monotonous DTS in output stream 0:0; previous:
 95383614, current: -60062; changing to 95383614. This may result in
 incorrect timestamps in the output file.
 [flv @ 0x30d7380] Non-monotonous DTS in output stream 0:1; previous:
 95383640, current: -60056; changing to 95383640. This may result in
 incorrect timestamps in the output file.
 }}}

 Error after 26:29:43.64 runtime:

 {{{
 frame=2289184 fps= 24 q=-1.0 size=34208242kB time=26:29:42.64
 bitrate=2938.0kbits/s speed=   1x
 frame=2289196 fps= 24 q=-1.0 size=34208496kB time=26:29:43.14
 bitrate=2938.0kbits/s speed=   1x
 [concat @ 0x2d264e0] Invalid timestamps stream=0, pts=-5404892,
 dts=8584522200, size=19313
 [concat @ 0x2d264e0] Invalid timestamps stream=0, pts=-5397392,
 dts=8584525950, size=24359
 frame=2289208 fps= 24 q=-1.0 size=34208677kB time=26:29:43.64
 bitrate=2938.0kbits/s speed=   1x
 [flv @ 0x2e585e0] Non-monotonous DTS in output stream 0:1; previous:
 95383640, current: -60056; changing to 95383640. This may result in
 incorrect timestamps in the output file.
 [flv @ 0x2e585e0] Non-monotonous DTS in output stream 0:1; previous:
 95383640, current: -60035; changing to 95383640. This may result in
 incorrect timestamps in the output file.
 }}}

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


More information about the FFmpeg-trac mailing list