[FFmpeg-trac] #6248(undetermined:new): non monotonically increasing dts - skip badly broken subtitles

FFmpeg trac at avcodec.org
Sun Mar 19 14:49:33 EET 2017


#6248: non monotonically increasing dts - skip badly broken subtitles
-------------------------------------+-------------------------------------
             Reporter:  yurtesen     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  3.2.1
  undetermined                       |               Blocked By:
             Keywords:  dvb,         |  Reproduced by developer:  0
  subtitle, monotonically            |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 I have problems with subtitles in dvb streams with ffmpeg 3.2.4

 [mpegts @ 0x55a081ad1220] Application provided invalid, non monotonically
 increasing dts to muxer in stream 2: 186981224 >= 186884791
 av_interleaved_write_frame(): Invalid argument

 Due to the large difference in positions, I expect there is a problem in
 the subtitle stream.

 I tried the -fix_sub_duration option and it does not help. So I am
 thinking the issue is not related to previous subtitle duration being too
 long.

 I think a solution would be skipping broken subtitles with a warning
 instead of exiting with conversion failed error. I would rather lose some
 apparently not working subtitles than conversion being stopped. Is this
 possible?

 I used `dd` to cut to the position where the problem is.

 Command:
 # /usr/bin/ffmpeg -y -fix_sub_duration -i /tmp/vera.ts -c:s copy
 /tmp/vera2.ts

 Error:
 [mpegts @ 0x55ee74fb22c0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 2: 281690 >= 7438

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


More information about the FFmpeg-trac mailing list