[FFmpeg-trac] #4450(undetermined:new): Copying subtitle streams aborts w/non monotonically increasing dts

FFmpeg trac at avcodec.org
Wed Aug 5 06:34:05 CEST 2015

#4450: Copying subtitle streams aborts w/non monotonically increasing dts
             Reporter:  forbyta      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  av_interleaved_write_frame         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by forbyta):

 I've uploaded an 8Mb sample vob file to the FTP server listed on the
 ffmpeg Bug Report page (ftp://upload.ffmpeg.org/incoming).   The filename
 is non-monotonically.increasing.dts.vob and there is also a non-
 monotonically.increasing.dts.txt file with a reference to this ticket.

 In order to create the sample file I needed to use dd and skip to the
 point in the video (about 1 hour in) where the problem occurs.  Because of
 this, the file doesn't contain any initial header information.  Also, when
 running the copy test (below) a lot of "buffer underflow" errors are
 generated.  The original file does NOT generate "buffer underflow" errors,
 so I assume this is a result of the way the sample was generated (via dd).

 Using the sample file and ffmpeg (N-74266-ge322b70) I get the following:

 $ ffmpeg-dev -i non-monotonically.increasing.dts.vob -map 0 -codec copy -f
 vob non-monotonically.increasing.dts-COPY.vob
 [vob @ 0xa0642c0] Application provided invalid, non monotonically
 increasing dts to muxer in stream 5: 8217903303 >= 797166
 av_interleaved_write_frame(): Invalid argument
 frame=  181 fps=0.0 q=-1.0 Lsize=    7116kB time=25:21:50.03 bitrate=
 video:5282kB audio:1699kB subtitle:12kB other streams:0kB global
 headers:0kB muxing overhead: 1.747478%
 Conversion failed!

 I can provide the complete ffmpeg output if necessary.

Ticket URL: <https://trac.ffmpeg.org/ticket/4450#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list