[FFmpeg-trac] #2212(undetermined:new): subtitle crash: 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
Wed Jan 30 12:37:45 CET 2013


#2212: subtitle crash: 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:  new
             Priority:  normal  |                Component:  undetermined
              Version:  1.1.1   |               Resolution:
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+----------------------------------------

Old description:

> download the problem file (still uploading, up in 1 hour, size
> 324.477.128 bytes):
>
> https://dl.dropbox.com/u/7221986/1.mkv
>

> ffmpeg -i 1.mkv -map 0:0 -map 0:1 -map 0:2 -scodec mov_text -vcodec copy
> -acodec copy 1.mp4
> ffmpeg version 1.1.1-tessus Copyright (c) 2000-2013 the FFmpeg developers
>   built on Jan 20 2013 23:17:33 with llvm-gcc 4.2.1 (LLVM build
> 2336.1.00)
>   configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
> --extra-version=tessus --disable-shared --enable-static --disable-ffplay
> --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc
> --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-
> libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs
> --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
> libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-
> libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
>   libavutil      52. 13.100 / 52. 13.100
>   libavcodec     54. 86.100 / 54. 86.100
>   libavformat    54. 59.106 / 54. 59.106
>   libavdevice    54.  3.102 / 54.  3.102
>   libavfilter     3. 32.100 /  3. 32.100
>   libswscale      2.  1.103 /  2.  1.103
>   libswresample   0. 17.102 /  0. 17.102
>   libpostproc    52.  2.100 / 52.  2.100
> [matroska,webm @ 0x102006a00] Unknown entry 0x437E
>     Last message repeated 11 times
> [matroska,webm @ 0x102006a00] Unknown entry 0x63C9
>     Last message repeated 1 times
> Input #0, matroska,webm, from '1.mkv':
>   Metadata:
>     creation_time   : 2012-10-10 23:54:58
>     TITLE           : No OP / ED
>     TITLE-eng       : No OP / ED
>   Duration: 00:23:39.88, start: 0.000000, bitrate: 1828 kb/s
>     Chapter #0.0: start 0.000000, end 36.912000
>     Metadata:
>       title           : Intro
>     Chapter #0.1: start 36.952000, end 126.877000
>     Metadata:
>       title           : Opening
>     Chapter #0.2: start 126.917000, end 797.839000
>     Metadata:
>       title           : Part A
>     Chapter #0.3: start 797.879000, end 801.843000
>     Metadata:
>       title           : Eyecatch
>     Chapter #0.4: start 801.883000, end 1324.782000
>     Metadata:
>       title           : Part B
>     Chapter #0.5: start 1324.822000, end 1414.830000
>     Metadata:
>       title           : Ending
>     Chapter #0.6: start 1414.870000, end 1419.835000
>     Metadata:
>       title           : Next episode preview
>     Stream #0:0: Video: h264 (High 10), yuv420p10le, 1280x720, SAR 1:1
> DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
>     Metadata:
>       title           : H.264
>     Stream #0:1(jpn): Audio: aac, 48000 Hz, stereo, fltp (default)
>     Metadata:
>       title           : Japanese 2.0 AAC
>     Stream #0:2(eng): Subtitle: ssa (default)
>     Metadata:
>       title           : English subtitles
> Codec 0x18000 is not in the full list.
>     Stream #0:3: Attachment: unknown_codec
>     Metadata:
>       filename        : QuattrocentoSans-BoldItalic.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:4: Attachment: unknown_codec
>     Metadata:
>       filename        : QuattrocentoSans-Bold.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:5: Attachment: unknown_codec
>     Metadata:
>       filename        : Jerry_B4s_handwriting.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:6: Attachment: unknown_codec
>     Metadata:
>       filename        : IwaOMinPro-Bd-Fate.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:7: Attachment: unknown_codec
>     Metadata:
>       filename        : DK+Crayon+Crumble.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:8: Attachment: unknown_codec
>     Metadata:
>       filename        : corbelz.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:9: Attachment: unknown_codec
>     Metadata:
>       filename        : angelina.TTF
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:10: Attachment: unknown_codec
>     Metadata:
>       filename        : akarinop.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:11: Attachment: unknown_codec
>     Metadata:
>       filename        : tamayura-handwriting.ttf
>       mimetype        : application/x-truetype-font
> Codec 0x18000 is not in the full list.
>     Stream #0:12: Attachment: unknown_codec
>     Metadata:
>       filename        : Snake.ttf
>       mimetype        : application/x-truetype-font
> Output #0, mp4, to '1.mp4':
>   Metadata:
>     TITLE-eng       : No OP / ED
>     TITLE           : No OP / ED
>     encoder         : Lavf54.59.106
>     Chapter #0.0: start 0.000000, end 36.912000
>     Metadata:
>       title           : Intro
>     Chapter #0.1: start 36.952000, end 126.877000
>     Metadata:
>       title           : Opening
>     Chapter #0.2: start 126.917000, end 797.839000
>     Metadata:
>       title           : Part A
>     Chapter #0.3: start 797.879000, end 801.843000
>     Metadata:
>       title           : Eyecatch
>     Chapter #0.4: start 801.883000, end 1324.782000
>     Metadata:
>       title           : Part B
>     Chapter #0.5: start 1324.822000, end 1414.830000
>     Metadata:
>       title           : Ending
>     Chapter #0.6: start 1414.870000, end 1419.835000
>     Metadata:
>       title           : Next episode preview
>     Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p10le,
> 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default)
>     Metadata:
>       title           : H.264
>     Stream #0:1(jpn): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
> stereo (default)
>     Metadata:
>       title           : Japanese 2.0 AAC
>     Stream #0:2(eng): Subtitle: mov_text ([8][0][0][0] / 0x0008)
> (default)
>     Metadata:
>       title           : English subtitles
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
>   Stream #0:1 -> #0:1 (copy)
>   Stream #0:2 -> #0:2 (ass -> mov_text)
> Press [q] to stop, [?] for help
> Application provided invalid, non monotonically increasing dts to muxer
> in stream 2: 1372390 >= 1372390
> av_interleaved_write_frame(): Invalid argument

New description:

 download the problem file (still uploading, up in 1 hour, size 324.477.128
 bytes):

 https://dl.dropbox.com/u/7221986/1.mkv

 {{{
 ffmpeg -i 1.mkv -map 0:0 -map 0:1 -map 0:2 -scodec mov_text -vcodec copy
 -acodec copy 1.mp4
 ffmpeg version 1.1.1-tessus Copyright (c) 2000-2013 the FFmpeg developers
   built on Jan 20 2013 23:17:33 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
   configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm
 --extra-version=tessus --disable-shared --enable-static --disable-ffplay
 --disable-ffserver --enable-gpl --enable-pthreads --enable-postproc
 --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264
 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-
 version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx
 --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype
 --enable-libass --enable-filters --enable-runtime-cpudetect
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [matroska,webm @ 0x102006a00] Unknown entry 0x437E
     Last message repeated 11 times
 [matroska,webm @ 0x102006a00] Unknown entry 0x63C9
     Last message repeated 1 times
 Input #0, matroska,webm, from '1.mkv':
   Metadata:
     creation_time   : 2012-10-10 23:54:58
     TITLE           : No OP / ED
     TITLE-eng       : No OP / ED
   Duration: 00:23:39.88, start: 0.000000, bitrate: 1828 kb/s
     Chapter #0.0: start 0.000000, end 36.912000
     Metadata:
       title           : Intro
     Chapter #0.1: start 36.952000, end 126.877000
     Metadata:
       title           : Opening
     Chapter #0.2: start 126.917000, end 797.839000
     Metadata:
       title           : Part A
     Chapter #0.3: start 797.879000, end 801.843000
     Metadata:
       title           : Eyecatch
     Chapter #0.4: start 801.883000, end 1324.782000
     Metadata:
       title           : Part B
     Chapter #0.5: start 1324.822000, end 1414.830000
     Metadata:
       title           : Ending
     Chapter #0.6: start 1414.870000, end 1419.835000
     Metadata:
       title           : Next episode preview
     Stream #0:0: Video: h264 (High 10), yuv420p10le, 1280x720, SAR 1:1 DAR
 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Metadata:
       title           : H.264
     Stream #0:1(jpn): Audio: aac, 48000 Hz, stereo, fltp (default)
     Metadata:
       title           : Japanese 2.0 AAC
     Stream #0:2(eng): Subtitle: ssa (default)
     Metadata:
       title           : English subtitles
 Codec 0x18000 is not in the full list.
     Stream #0:3: Attachment: unknown_codec
     Metadata:
       filename        : QuattrocentoSans-BoldItalic.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:4: Attachment: unknown_codec
     Metadata:
       filename        : QuattrocentoSans-Bold.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:5: Attachment: unknown_codec
     Metadata:
       filename        : Jerry_B4s_handwriting.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:6: Attachment: unknown_codec
     Metadata:
       filename        : IwaOMinPro-Bd-Fate.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:7: Attachment: unknown_codec
     Metadata:
       filename        : DK+Crayon+Crumble.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:8: Attachment: unknown_codec
     Metadata:
       filename        : corbelz.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:9: Attachment: unknown_codec
     Metadata:
       filename        : angelina.TTF
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:10: Attachment: unknown_codec
     Metadata:
       filename        : akarinop.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:11: Attachment: unknown_codec
     Metadata:
       filename        : tamayura-handwriting.ttf
       mimetype        : application/x-truetype-font
 Codec 0x18000 is not in the full list.
     Stream #0:12: Attachment: unknown_codec
     Metadata:
       filename        : Snake.ttf
       mimetype        : application/x-truetype-font
 Output #0, mp4, to '1.mp4':
   Metadata:
     TITLE-eng       : No OP / ED
     TITLE           : No OP / ED
     encoder         : Lavf54.59.106
     Chapter #0.0: start 0.000000, end 36.912000
     Metadata:
       title           : Intro
     Chapter #0.1: start 36.952000, end 126.877000
     Metadata:
       title           : Opening
     Chapter #0.2: start 126.917000, end 797.839000
     Metadata:
       title           : Part A
     Chapter #0.3: start 797.879000, end 801.843000
     Metadata:
       title           : Eyecatch
     Chapter #0.4: start 801.883000, end 1324.782000
     Metadata:
       title           : Part B
     Chapter #0.5: start 1324.822000, end 1414.830000
     Metadata:
       title           : Ending
     Chapter #0.6: start 1414.870000, end 1419.835000
     Metadata:
       title           : Next episode preview
     Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p10le,
 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default)
     Metadata:
       title           : H.264
     Stream #0:1(jpn): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz,
 stereo (default)
     Metadata:
       title           : Japanese 2.0 AAC
     Stream #0:2(eng): Subtitle: mov_text ([8][0][0][0] / 0x0008) (default)
     Metadata:
       title           : English subtitles
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #0:2 -> #0:2 (ass -> mov_text)
 Press [q] to stop, [?] for help
 Application provided invalid, non monotonically increasing dts to muxer in
 stream 2: 1372390 >= 1372390
 av_interleaved_write_frame(): Invalid argument
 }}}

--

Comment (by cehoyos):

 If there is a crash, please provide backtrace etc. as explained on
 http://ffmpeg.org/bugreports.html

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


More information about the FFmpeg-trac mailing list