[FFmpeg-trac] #2397(FFmpeg:open): Burn a selected picture based subtitle into video lost most part of the selected subtitle in the result video

FFmpeg trac at avcodec.org
Sun Mar 24 13:35:35 CET 2013


#2397: Burn a selected picture based subtitle into video lost most part of the
selected subtitle in the result video
----------------------------------------+----------------------------------
             Reporter:  littlebat       |                    Owner:
                 Type:  defect          |                   Status:  open
             Priority:  important       |                Component:  FFmpeg
              Version:  git-master      |               Resolution:
             Keywords:  sub regression  |               Blocked By:
             Blocking:                  |  Reproduced by developer:  1
Analyzed by developer:  0               |
----------------------------------------+----------------------------------
Changes (by cehoyos):

 * keywords:  burn subtitle => sub regression
 * status:  new => open
 * component:  undetermined => FFmpeg
 * reproduced:  0 => 1


Comment:

 (I have removed the attachments that do not allow to reproduce the bug.)

 Regression since 0f23634.

 The attachment shows subtitles with the following command lines:
 $ ffplay 242_4.mkv -sst 2  (fre)
 $ mplayer 242_4.mkv -sid 0  (fre)
 $ mplayer 242_4.mkv -sid 1  (chi)
 $ mplayer 242_4.mkv -sid 2  (chi)

 The following ffmpeg command works as expected, output file shows
 subtitles:
 $ ffmpeg -i 242_4.mkv -filter_complex '[0:v][0:s:0]overlay' -qscale 2
 out.avi
 The following command produces an output file that shows no subtitles
 (same for [0:s:2]), works fine with e69e780:
 {{{
 $ ffmpeg -i 242_4.mkv -filter_complex '[0:v][0:s:1]overlay' -qscale 2
 out.avi
 ffmpeg version N-51275-gcbf224b Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 24 2013 13:27:42 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 22.101 / 52. 22.101
   libavcodec     55.  1.100 / 55.  1.100
   libavformat    55.  0.100 / 55.  0.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 48.100 /  3. 48.100
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Input #0, matroska,webm, from '242_4.mkv':
   Metadata:
     ENCODER         : Lavf55.0.100
   Duration: 00:00:08.07, start: 0.000000, bitrate: 2535 kb/s
     Stream #0:0: Video: h264 (High), yuv420p, 720x480, SAR 1:1 DAR 3:2,
 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
     Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
 (default)
     Stream #0:2(fre): Subtitle: dvd_subtitle (default)
     Stream #0:3(chi): Subtitle: dvd_subtitle
     Stream #0:4(chi): Subtitle: dvd_subtitle
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf55.0.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR
 1:1 DAR 3:2], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
 fltp, 448 kb/s (default)
 Stream mapping:
   Stream #0:0 (h264) -> overlay:main (graph 0)
   Stream #0:3 (dvdsub) -> overlay:overlay (graph 0)
   overlay (graph 0) -> Stream #0:0 (mpeg4)
   Stream #0:1 -> #0:1 (dca -> ac3)
 Press [q] to stop, [?] for help
 frame=  207 fps=0.0 q=2.0 Lsize=    3908kB time=00:00:07.04
 bitrate=4547.7kbits/s
 video:3516kB audio:373kB subtitle:0 global headers:0kB muxing overhead
 0.511303%
 }}}

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


More information about the FFmpeg-trac mailing list