[FFmpeg-trac] #4351(ffmpeg:new): 'ass' filter did not hard burn subtitles

FFmpeg trac at avcodec.org
Wed Mar 4 23:54:35 CET 2015


#4351: 'ass' filter did not hard burn subtitles
-------------------------------------+-------------------------------------
             Reporter:  muruganandh  |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  ffmpeg       |                  Version:  2.5.2
             Keywords:  ass          |               Blocked By:
  subtitle subtitles tessus static   |  Reproduced by developer:  0
  burn                               |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 The Documentation says this is the way to use the ass filter to hard burn
 subtitles : https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo

 How to reproduce:
 {{{
 % ffmpeg -i Avatar.m4v -vf ass=Avatar.ass out.m4v

 ffmpeg version : 2.5.3.7

 I used the tessus static build ffmpeg-2.5.3.7z from
 http://evermeet.cx/ffmpeg/.

 The issue may be related with https://trac.ffmpeg.org/ticket/2100
 }}}


 ffmpeg -i Avatar.m4v -vf ass=Avatar.ass out.m4v
 ffmpeg version 2.3.3-tessus Copyright (c) 2000-2014 the FFmpeg developers
   built on Aug 19 2014 20:44:45 with clang version 3.3
 (tags/RELEASE_33/final)
   configuration: --cc=/opt/local/bin/clang-mp-3.3
 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus
 --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-
 pthreads --enable-postproc --enable-libmp3lame --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-libx265 --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-libmodplug --enable-fontconfig --enable-
 libfreetype --enable-libass --enable-libbluray --enable-filters --disable-
 indev=qtkit --enable-runtime-cpudetect
   libavutil      52. 92.100 / 52. 92.100
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 48.100 / 55. 48.100
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 11.100 /  4. 11.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f937080a000] stream 0, timescale not set
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Avatar.m4v':
   Metadata:
     major_brand     : M4V
     minor_version   : 512
     compatible_brands: isomiso2avc1
     description     : Enter the World of Pandora.
     hd_video        : 1
     synopsis        : In the 22nd century, a paraplegic Marine is
 dispatched to the moon Pandora on a unique mission, but becomes torn
 between following orders and protecting an alien civilization.
     media_type      : 9
     date            : 2009-12-18
     genre           : Action & Adventure
     title           : Avatar
     encoder         : Lavf55.33.100
     composer        : James Horner
   Duration: 00:03:19.07, start: 0.000000, bitrate: 2625 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
 bt709), 1280x532 [SAR 1:1 DAR 320:133], 2447 kb/s, 23.98 fps, 23.98 tbr,
 90k tbn, 180k tbc (default)
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo,
 fltp, 164 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
     Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg), 1016x1500 [SAR 1:1
 DAR 254:375], 90k tbr, 90k tbn, 90k tbc
 File 'out.m4v' already exists. Overwrite ? [y/N] y
 Fontconfig error: Cannot load default config file
 [Parsed_ass_0 @ 0x7f937040e4e0] No usable fontconfig configuration file
 found, using fallback.
 Fontconfig error: Cannot load default config file
 [Parsed_ass_0 @ 0x7f937040e4e0] Added subtitle file: 'Avatar.ass' (2
 styles, 43 events)
 [libx264 @ 0x7f9370827000] using SAR=1/1
 [libx264 @ 0x7f9370827000] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 0x7f9370827000] profile High, level 3.1
 [libx264 @ 0x7f9370827000] 264 - core 142 - H.264/MPEG-4 AVC codec -
 Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1
 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12
 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, ipod, to 'out.m4v':
   Metadata:
     major_brand     : M4V
     minor_version   : 512
     compatible_brands: isomiso2avc1
     description     : Enter the World of Pandora.
     hd_video        : 1
     synopsis        : In the 22nd century, a paraplegic Marine is
 dispatched to the moon Pandora on a unique mission, but becomes torn
 between following orders and protecting an alien civilization.
     media_type      : 9
     date            : 2009-12-18
     genre           : Action & Adventure
     title           : Avatar
     composer        : James Horner
     encoder         : Lavf55.48.100
     Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p,
 1280x532 [SAR 1:1 DAR 320:133], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc
 (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc55.69.100 libx264
     Stream #0:1(und): Audio: aac (libvo_aacenc) (mp4a / 0x6134706D), 44100
 Hz, stereo, s16, 128 kb/s (default)
     Metadata:
       handler_name    : SoundHandler
       encoder         : Lavc55.69.100 libvo_aacenc
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
   Stream #0:1 -> #0:1 (aac (native) -> aac (libvo_aacenc))
 Press [q] to stop, [?] for help
 frame= 4770 fps= 65 q=-1.0 Lsize=   45915kB time=00:03:19.07
 bitrate=1889.4kbits/s
 video:42666kB audio:3111kB subtitle:0kB other streams:0kB global
 headers:0kB muxing overhead: 0.302053%
 [libx264 @ 0x7f9370827000] frame I:151   Avg QP:19.16  size: 26981
 [libx264 @ 0x7f9370827000] frame P:2862  Avg QP:23.10  size: 11812
 [libx264 @ 0x7f9370827000] frame B:1757  Avg QP:23.66  size:  3306
 [libx264 @ 0x7f9370827000] consecutive B-frames: 42.1% 23.7%  8.2% 26.0%
 [libx264 @ 0x7f9370827000] mb I  I16..4: 15.9% 74.0% 10.2%
 [libx264 @ 0x7f9370827000] mb P  I16..4:  7.3% 26.2%  1.5%  P16..4: 37.6%
 8.9%  2.7%  0.0%  0.0%    skip:15.9%
 [libx264 @ 0x7f9370827000] mb B  I16..4:  0.5%  1.4%  0.2%  B16..8: 31.6%
 3.4%  0.5%  direct: 2.4%  skip:60.1%  L0:44.9% L1:47.5% BI: 7.6%
 [libx264 @ 0x7f9370827000] 8x8 transform intra:74.5% inter:85.7%
 [libx264 @ 0x7f9370827000] coded y,uvDC,uvAC intra: 44.3% 54.3% 8.7%
 inter: 15.6% 25.0% 0.2%
 [libx264 @ 0x7f9370827000] i16 v,h,dc,p: 33% 28% 10% 29%
 [libx264 @ 0x7f9370827000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 20% 19%  4%
 6%  6%  6%  5%  5%
 [libx264 @ 0x7f9370827000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 18% 11%  5%
 8%  7%  7%  5%  4%
 [libx264 @ 0x7f9370827000] i8c dc,h,v,p: 53% 22% 21%  4%
 [libx264 @ 0x7f9370827000] Weighted P-Frames: Y:30.5% UV:24.9%
 [libx264 @ 0x7f9370827000] ref P L0: 70.7% 16.2% 10.4%  2.5%  0.2%
 [libx264 @ 0x7f9370827000] ref B L0: 94.0%  5.4%  0.6%
 [libx264 @ 0x7f9370827000] ref B L1: 98.3%  1.7%
 [libx264 @ 0x7f9370827000] kb/s:1756.81

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


More information about the FFmpeg-trac mailing list