[FFmpeg-trac] #3206(FFmpeg:new): Subtitles are NOT burned single frames of videos when you use the seek option "-ss" BEFORE the input

FFmpeg trac at avcodec.org
Sat Dec 7 21:18:42 CET 2013


#3206: Subtitles are NOT burned single frames of videos when you use the seek
option "-ss" BEFORE the input
-------------------------------------+-------------------------------------
             Reporter:  DeadSix27    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  FFmpeg       |                  Version:  git-
             Keywords:               |  master
  libass,ass,filter,subtitle,seeking,bug|               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 No subtitles are burned into single frame JPEG's(Thumbnails) of videos
 when you use the seek option "-ss" BEFORE the input file and the "ass"
 filter. But when you use the "-ss" option BEHIND the input it works fine.

 Below I pasted both outputs, with the -ss before and after input file:

 '''"-ss" after input'''
 Does burn in Subtitles and takes ~2minutes:
 {{{
 % ffmpeg -i test.mkv -ss 00:03:25 -vf ass=subtitle.ass -c:v mjpeg -vframes
 1 test.jpg
 ffmpeg version N-58848-g4d18060 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec  6 2013 22:01:40 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --e
 ray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidsta
 bvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-
 libxavs --enable-libxvid --enable-zlib
   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, matroska,webm, from 'test.mkv':
 [Parsed_ass_0 @ 054ce4a0] Added subtitle file: 'subtitle.ass' (32 styles,
 2538 events)
 [swscaler @ 0564a9a0] deprecated pixel format used, make sure you did set
 range correctly
 [Parsed_ass_0 @ 054ce4a0] fontconfig: cannot find font 'PT Sans', falling
 back to 'Meiryo UI Negreta'
 [Parsed_ass_0 @ 054ce4a0] fontconfig: cannot find font 'PT Sans', falling
 back to 'DejaVu Sans Bold Oblique'
 [Parsed_ass_0 @ 054ce4a0] fontconfig: cannot find font 'SNsanafonkakuP',
 falling back to 'Meiryo UI Negreta'
 frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 video:96kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -100.022271%
 }}}

 '''"-ss" before input'''
 Does '''NOT''' burn in Subtitles and takes ~0.5seconds:
 {{{
 % ffmpeg -ss 00:03:25 -i test.mkv -vf ass=subtitle.ass -c:v mjpeg -vframes
 1 test.jpg
 ffmpeg version N-58848-g4d18060 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec  6 2013 22:01:40 with gcc 4.8.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --e
 ray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
 --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidsta
 bvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-
 libxavs --enable-libxvid --enable-zlib
   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, matroska,webm, from 'test.mkv':
 [Parsed_ass_0 @ 057e5fa0] Added subtitle file: 'subtitle.ass' (32 styles,
 2538 events)
 [swscaler @ 0571a0e0] deprecated pixel format used, make sure you did set
 range correctly
 Press [q] to stop, [?] for help
 frame=    1 fps=0.9 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
 video:87kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 -100.024603%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3206>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list