[FFmpeg-trac] #2212(undetermined:open): Application provided invalid, non monotonically increasing dts to muxer in stream 2: 1372390 >= 1372390 av_interleaved_write_frame(): Invalid argument

FFmpeg trac at avcodec.org
Thu Jan 31 13:06:15 CET 2013


#2212: Application provided invalid, non monotonically increasing dts to muxer in
stream 2: 1372390 >= 1372390 av_interleaved_write_frame(): Invalid argument
-------------------------------------+-------------------------------------
             Reporter:  julian       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  av_interleaved_write_frame ass     |               Blocked By:
  mov_text                           |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Replying to [comment:6 Cigaes]:
 > {{{-fix_sub_duration}}} is for subtitles codecs that are terminated by
 an empty packet instead of having a duration. That is true for dvdsub (and
 possibly PGS) inside MPEG-TS, but never for anything inside Matroska.
 For the given sample the following command line produces an output file
 that contains subtitles with (very) broken timing:
 $ ffmpeg -i 1.mkv -strict -2 -qscale 2 -scodec mov_text -t 180 out.mp4
 The output of the following command plays fine (the subtitles appear at
 the right moment):
 $ ffmpeg -fix_sub_duration -i 1.mkv -strict -2 -qscale 2 -scodec mov_text
 -t 180 out.mp4

 I uploaded the ass file.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2212#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list