[FFmpeg-trac] #2083(FFmpeg:open): 'Invalid argument' or 'Assertion ost->source_index >= 0 failed at ffmpeg.c:2932' message on subtitle metadata

FFmpeg trac at avcodec.org
Mon Dec 31 13:42:54 CET 2012


#2083: 'Invalid argument' or 'Assertion ost->source_index >= 0 failed at
ffmpeg.c:2932' message on subtitle metadata
-------------------------------------+-------------------------------------
             Reporter:  rtmi1        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  FFmpeg
              Version:  git-master   |               Resolution:
             Keywords:  crash abort  |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => FFmpeg
 * priority:  minor => important
 * version:  unspecified => git-master
 * keywords:  mkv metadata => crash abort regression


Comment:

 Regression since 1cadab6 (crash in select_input_file() in ffmpeg.c) /
 429c6ca (assert).
 {{{
 $ ffmpeg -i tests/lena.pnm -attach
 /usr/share/fonts/truetype/DejaVuSans.ttf -metadata:s
 mimetype=application/x-truetype-font out.mkv
 ffmpeg version N-48332-gfe5a2fc Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Dec 31 2012 03:12:02 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 85.100 / 54. 85.100
   libavformat    54. 57.100 / 54. 57.100
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 30.102 /  3. 30.102
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, image2, from 'tests/lena.pnm':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
 Output #0, matroska, to 'out.mkv':
   Metadata:
     encoder         : Lavf54.57.100
     Stream #0:0: Video: mpeg4, yuv420p, 256x256, q=2-31, 200 kb/s, 1k tbn,
 25 tbc
     Metadata:
       mimetype        : application/x-truetype-font
     Stream #0:1: Attachment: none
     Metadata:
       filename        : DejaVuSans.ttf
       mimetype        : application/x-truetype-font
 Stream mapping:
   Stream #0:0 -> #0:0 (ppm -> mpeg4)
   File /usr/share/fonts/truetype/DejaVuSans.ttf -> Stream #0:1
 Press [q] to stop, [?] for help
 Assertion ost->source_index >= 0 failed at ffmpeg.c:2976
 Aborted
 }}}

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


More information about the FFmpeg-trac mailing list