[FFmpeg-trac] #2384(avformat:open): ffmpeg detects avi/divx with xsub as broken

FFmpeg trac at avcodec.org
Sun Dec 8 18:07:27 CET 2013


#2384: ffmpeg detects avi/divx with xsub as broken
------------------------------------+------------------------------------
             Reporter:  someuser    |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  xsub avi    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 {{{
 $ ffmpeg -f lavfi -i testsrc=s=pal -ss 132 -i fate-suite/sub/vobsub.idx
 -scodec xsub -t 6 out.avi
 ffmpeg version N-58873-gbc9cee9 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec  8 2013 17:58:34 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libass
   libavutil      52. 56.100 / 52. 56.100
   libavcodec     55. 45.100 / 55. 45.100
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 92.100 /  3. 92.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, lavfi, from 'testsrc=s=pal':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 720x576
 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
 fate-suite/sub/vobsub.idx: could not seek to position 132.000
 Input #1, vobsub, from 'fate-suite/sub/vobsub.idx':
   Duration: N/A, bitrate: N/A
     Stream #1:0[0x0](en): Subtitle: dvd_subtitle, 720x480 (default)
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf55.22.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576 [SAR
 1:1 DAR 5:4], q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1(en): Subtitle: xsub (DXSB / 0x42535844), 720x480 (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
   Stream #1:0 -> #0:1 (dvdsub -> xsub)
 Press [q] to stop, [?] for help
 [xsub @ 0x2bc9a20] Color index 0 is not transparent. Transparency will be
 messed up.
 frame=  150 fps=0.0 q=25.9 Lsize=     459kB time=00:00:06.00 bitrate=
 626.2kbits/s
 video:444kB audio:0kB subtitle:1 global headers:0kB muxing overhead
 3.014589%
 }}}
 {{{
 $ ffmpeg -i out.avi
 ffmpeg version N-58873-gbc9cee9 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec  8 2013 17:58:34 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libass
   libavutil      52. 56.100 / 52. 56.100
   libavcodec     55. 45.100 / 55. 45.100
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 92.100 /  3. 92.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 [avi @ 0x323f100] scale/rate is 0/0 which is invalid. (This file has been
 generated by broken software.)
 Input #0, avi, from 'out.avi':
   Metadata:
     encoder         : Lavf55.22.100
   Duration: 00:00:06.00, start: 0.000000, bitrate: 626 kb/s
     Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46),
 yuv420p, 720x576 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Subtitle: xsub (DXSB / 0x42535844), 720x480
     Metadata:
       title           : Subtitle - en-xx;02
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list