Opened 5 years ago
Last modified 3 years ago
#8738 open defect
subtitle filter can't render indic languages
Reported by: | unni | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avfilter |
Version: | git-master | Keywords: | subtitles regression |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug: ffmpeg subtitle filter is using FriBidi to render text irrespective of the language and there is no option to change it to another text shaper like Harfbuzz. But it works if I convert srt to ass and use the ass filter.
How to reproduce:
% ffmpeg -i input_video.mp4 -vf subtitles=malayalam.srt output.mp4
I am trying to burn subtitles from https://malayalamsubtitles.org/ .
Example text from both ffmpeg and vlc : https://i.imgur.com/n2F69Ns.png
Subtitle I tried to burn is attached.
Attachments (3)
Change History (15)
by , 5 years ago
Attachment: | ffmpeg-vlc.png added |
---|
by , 5 years ago
Attachment: | Ernest and Celestine (2012) 720p.BRrip.Sujaidr.Msone.srt added |
---|
Subtitle I tried
comment:1 by , 5 years ago
Keywords: | ass subtitles indic removed |
---|---|
Priority: | important → normal |
Resolution: | → invalid |
Status: | new → closed |
Version: | git-master → unspecified |
Your ass library is missing harfbuzz, this cannot be fixed in FFmpeg.
comment:2 by , 4 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
That is not the case. I've compiled libass with harfbuzz and if I use ass filter, it is working fine. But subtitle filter is not using harfbuzz.
Not working:
ffmpeg -ss 00:03:00 -to 00:04:00 -copyts -i input.mp4 -vf subtitles=subtitile.srt:force_style='FontName=RaghuMalayalamSans-Regular' -ss 00:03:00 -y test.mp4 ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.3 (clang-1103.0.32.59) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Ernest Et Celestine 2012 FRENCH 1080p BluRay x264-NERDHD encoder : Lavf57.66.100 Duration: 01:19:19.81, start: 0.000000, bitrate: 2258 kb/s Chapter #0:0: start 0.000000, end 412.662000 Metadata: title : 00:00:00.000 Chapter #0:1: start 412.662000, end 793.126000 Metadata: title : 00:06:52.662 Chapter #0:2: start 793.126000, end 1162.620000 Metadata: title : 00:13:13.126 Chapter #0:3: start 1162.620000, end 1644.268000 Metadata: title : 00:19:22.620 Chapter #0:4: start 1644.268000, end 1940.981000 Metadata: title : 00:27:24.268 Chapter #0:5: start 1940.981000, end 2484.107000 Metadata: title : 00:32:20.981 Chapter #0:6: start 2484.107000, end 2841.255000 Metadata: title : 00:41:24.107 Chapter #0:7: start 2841.255000, end 3191.397000 Metadata: title : 00:47:21.255 Chapter #0:8: start 3191.397000, end 3581.286000 Metadata: title : 00:53:11.397 Chapter #0:9: start 3581.286000, end 3919.916000 Metadata: title : 00:59:41.286 Chapter #0:10: start 3919.916000, end 4285.239000 Metadata: title : 01:05:19.916 Chapter #0:11: start 4285.239000, end 4759.808000 Metadata: title : 01:11:25.239 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2061 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(fre): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2(eng): Data: bin_data (text / 0x74786574) Metadata: handler_name : SubtitleHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [Parsed_subtitles_0 @ 0x7fe420d28ec0] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.6.6 (COMPLEX) [Parsed_subtitles_0 @ 0x7fe420d28ec0] Using font provider coretext [libx264 @ 0x7fe421011a00] using SAR=1/1 [libx264 @ 0x7fe421011a00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7fe421011a00] profile High, level 4.0, 4:2:0, 8-bit [libx264 @ 0x7fe421011a00] 264 - core 159 r2999 296494a - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=6 lookahead_threads=1 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, mp4, to 'test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Ernest Et Celestine 2012 FRENCH 1080p BluRay x264-NERDHD encoder : Lavf58.29.100 Chapter #0:0: start 0.000000, end 232.662000 Metadata: title : 00:00:00.000 Chapter #0:1: start 232.662000, end 613.126000 Metadata: title : 00:06:52.662 Chapter #0:2: start 613.126000, end 982.620000 Metadata: title : 00:13:13.126 Chapter #0:3: start 982.620000, end 1464.268000 Metadata: title : 00:19:22.620 Chapter #0:4: start 1464.268000, end 1760.981000 Metadata: title : 00:27:24.268 Chapter #0:5: start 1760.981000, end 2304.107000 Metadata: title : 00:32:20.981 Chapter #0:6: start 2304.107000, end 2661.255000 Metadata: title : 00:41:24.107 Chapter #0:7: start 2661.255000, end 3011.397000 Metadata: title : 00:47:21.255 Chapter #0:8: start 3011.397000, end 3401.286000 Metadata: title : 00:53:11.397 Chapter #0:9: start 3401.286000, end 3739.916000 Metadata: title : 00:59:41.286 Chapter #0:10: start 3739.916000, end 4105.239000 Metadata: title : 01:05:19.916 Chapter #0:11: start 4105.239000, end 4579.808000 Metadata: title : 01:11:25.239 Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.54.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1(fre): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 341 kb/s (default) Metadata: handler_name : SoundHandler encoder : Lavc58.54.100 aac [Parsed_subtitles_0 @ 0x7fe420d28ec0] fontselect: (RaghuMalayalamSans-Regular, 400, 0) -> /System/Library/Fonts/LucidaGrande.ttc, -1, LucidaGrande [Parsed_subtitles_0 @ 0x7fe420d28ec0] Glyph 0xD15 not found, selecting one more font for (RaghuMalayalamSans-Regular, 400, 0) [Parsed_subtitles_0 @ 0x7fe420d28ec0] fontselect: (RaghuMalayalamSans-Regular, 400, 0) -> /Users/unni/Library/Fonts/RaghuMalayalamSans-Regular.ttf, -1, RaghuMalayalamSans-Regular frame= 20 fps=0.0 q=0.0 size= 0kB time=00:00:00.98 bitrate= 2.9kbits/s speed=1.95x frame= 46 fps= 45 q=0.0 size= 0kB time=00:00:02.04 bitrate= 1.4kbits/s speed=2.02x frame= 57 fps= 36 q=28.0 size= 256kB time=00:00:02.51 bitrate= 834.2kbits/s speed= 1.6x frame= 68 fps= 32 q=28.0 size= 256kB time=00:00:02.98 bitrate= 703.1kbits/s speed=1.41x frame= 81 fps= 31 q=28.0 size= 512kB time=00:00:03.54 bitrate=1185.2kbits/s speed=1.34x frame= 94 fps= 30 q=28.0 size= 512kB time=00:00:04.05 bitrate=1035.4kbits/s speed=1.29x frame= 100 fps= 27 q=28.0 size= 1024kB time=00:00:04.30 bitrate=1947.4kbits/s speed=1.15x frame= 114 fps= 26 q=28.0 size= 1024kB time=00:00:04.90 bitrate=1710.2kbits/s speed=1.14x frame= 126 fps= 26 q=28.0 size= 1280kB time=00:00:05.41 bitrate=1935.5kbits/s speed=1.11x frame= 138 fps= 24 q=28.0 size= 1280kB time=00:00:05.88 bitrate=1781.4kbits/s speed=1.04x frame= 151 fps= 24 q=28.0 size= 1536kB time=00:00:06.44 bitrate=1953.4kbits/s speed=1.04x frame= 156 fps= 23 q=28.0 size= 1536kB time=00:00:06.65 bitrate=1890.8kbits/s speed=0.973x frame= 164 fps= 22 q=28.0 size= 1792kB time=00:00:06.99 bitrate=2098.4kbits/s speed=0.949x frame= 172 fps= 22 q=28.0 size= 1792kB time=00:00:07.33 bitrate=2000.9kbits/s speed=0.92x frame= 178 fps= 21 q=28.0 size= 2048kB time=00:00:07.55 bitrate=2221.8kbits/s speed=0.886x frame= 188 fps= 20 q=28.0 size= 2048kB time=00:00:07.97 bitrate=2103.0kbits/s speed=0.866x frame= 195 fps= 20 q=28.0 size= 2304kB time=00:00:08.27 bitrate=2280.5kbits/s speed=0.848x frame= 201 fps= 20 q=28.0 size= 2304kB time=00:00:08.53 bitrate=2212.2kbits/s speed=0.829x frame= 210 fps= 19 q=28.0 size= 2560kB time=00:00:08.91 bitrate=2352.0kbits/s speed=0.814x frame= 220 fps= 19 q=28.0 size= 2560kB time=00:00:09.34 bitrate=2244.6kbits/s speed=0.807x frame= 228 fps= 19 q=28.0 size= 2816kB time=00:00:09.64 bitrate=2392.6kbits/s speed=0.798x frame= 237 fps= 19 q=28.0 size= 2816kB time=00:00:10.02 bitrate=2301.0kbits/s speed=0.784x frame= 247 fps= 19 q=28.0 size= 3072kB time=00:00:10.45 bitrate=2407.6kbits/s speed=0.786x frame= 254 fps= 18 q=28.0 size= 3072kB time=00:00:10.75 bitrate=2340.8kbits/s speed=0.778x frame= 263 fps= 18 q=28.0 size= 3072kB time=00:00:11.13 bitrate=2260.2kbits/s speed=0.776x frame= 277 fps= 19 q=28.0 size= 3584kB time=00:00:11.69 bitrate=2511.6kbits/s speed=0.786x frame= 295 fps= 19 q=28.0 size= 3584kB time=00:00:12.45 bitrate=2356.8kbits/s speed=0.807x frame= 306 fps= 19 q=28.0 size= 3840kB time=00:00:12.92 bitrate=2433.5kbits/s speed=0.811x frame= 321 fps= 20 q=28.0 size= 3840kB time=00:00:13.52 bitrate=2326.0kbits/s speed=0.822x frame= 332 fps= 19 q=28.0 size= 4096kB time=00:00:13.99 bitrate=2397.9kbits/s speed=0.816x frame= 339 fps= 19 q=28.0 size= 4096kB time=00:00:14.29 bitrate=2347.7kbits/s speed=0.808x frame= 348 fps= 19 q=28.0 size= 4352kB time=00:00:14.67 bitrate=2429.2kbits/s speed=0.806x frame= 357 fps= 19 q=28.0 size= 4608kB time=00:00:15.01 bitrate=2513.7kbits/s speed=0.792x frame= 364 fps= 19 q=28.0 size= 4608kB time=00:00:15.31 bitrate=2464.6kbits/s speed=0.786x frame= 375 fps= 19 q=28.0 size= 4864kB time=00:00:15.78 bitrate=2524.2kbits/s speed=0.79x frame= 386 fps= 19 q=28.0 size= 5120kB time=00:00:16.25 bitrate=2580.3kbits/s speed=0.784x frame= 394 fps= 18 q=28.0 size= 5376kB time=00:00:16.59 bitrate=2653.6kbits/s speed=0.777x frame= 407 fps= 19 q=28.0 size= 5376kB time=00:00:17.10 bitrate=2574.2kbits/s speed=0.783x frame= 421 fps= 19 q=28.0 size= 5888kB time=00:00:17.70 bitrate=2724.2kbits/s speed=0.792x frame= 439 fps= 19 q=28.0 size= 5888kB time=00:00:18.47 bitrate=2611.0kbits/s speed=0.808x frame= 446 fps= 19 q=28.0 size= 6144kB time=00:00:18.73 bitrate=2687.3kbits/s speed= 0.8x frame= 462 fps= 19 q=28.0 size= 6144kB time=00:00:19.41 bitrate=2592.7kbits/s speed=0.811x frame= 469 fps= 19 q=28.0 size= 6144kB time=00:00:19.71 bitrate=2553.5kbits/s speed=0.807x frame= 483 fps= 19 q=28.0 size= 6400kB time=00:00:20.30 bitrate=2581.7kbits/s speed=0.814x frame= 496 fps= 19 q=28.0 size= 6400kB time=00:00:20.82 bitrate=2518.1kbits/s speed=0.816x frame= 503 fps= 19 q=28.0 size= 6400kB time=00:00:21.12 bitrate=2482.6kbits/s speed=0.807x frame= 514 fps= 19 q=28.0 size= 6656kB time=00:00:21.58 bitrate=2525.7kbits/s speed=0.808x frame= 522 fps= 19 q=28.0 size= 6656kB time=00:00:21.93 bitrate=2486.4kbits/s speed=0.806x frame= 529 fps= 19 q=28.0 size= 6656kB time=00:00:22.22 bitrate=2453.0kbits/s speed=0.798x frame= 539 fps= 19 q=28.0 size= 6912kB time=00:00:22.61 bitrate=2504.1kbits/s speed=0.796x frame= 548 fps= 19 q=28.0 size= 6912kB time=00:00:22.99 bitrate=2462.3kbits/s speed=0.795x frame= 556 fps= 19 q=28.0 size= 6912kB time=00:00:23.33 bitrate=2426.3kbits/s speed=0.792x frame= 563 fps= 19 q=28.0 size= 6912kB time=00:00:23.63 bitrate=2395.6kbits/s speed=0.788x frame= 574 fps= 19 q=28.0 size= 7168kB time=00:00:24.06 bitrate=2440.3kbits/s speed=0.789x frame= 581 fps= 19 q=28.0 size= 7168kB time=00:00:24.36 bitrate=2410.3kbits/s speed=0.785x frame= 588 fps= 19 q=28.0 size= 7168kB time=00:00:24.66 bitrate=2381.2kbits/s speed=0.78x frame= 598 fps= 19 q=25.0 size= 7424kB time=00:00:25.08 bitrate=2424.3kbits/s speed=0.778x frame= 610 fps= 19 q=28.0 size= 7424kB time=00:00:25.55 bitrate=2379.8kbits/s speed=0.781x frame= 618 fps= 19 q=28.0 size= 7680kB time=00:00:25.94 bitrate=2425.3kbits/s speed=0.779x frame= 628 fps= 19 q=28.0 size= 7680kB time=00:00:26.32 bitrate=2390.0kbits/s speed=0.778x frame= 637 fps= 19 q=28.0 size= 7680kB time=00:00:26.70 bitrate=2355.6kbits/s speed=0.777x frame= 647 fps= 18 q=28.0 size= 7936kB time=00:00:27.13 bitrate=2395.9kbits/s speed=0.773x frame= 659 fps= 18 q=28.0 size= 8192kB time=00:00:27.64 bitrate=2427.3kbits/s speed=0.775x frame= 673 fps= 19 q=28.0 size= 8192kB time=00:00:28.20 bitrate=2379.7kbits/s speed=0.779x frame= 685 fps= 19 q=28.0 size= 8448kB time=00:00:28.71 bitrate=2410.2kbits/s speed=0.781x frame= 694 fps= 19 q=28.0 size= 8704kB time=00:00:29.09 bitrate=2450.5kbits/s speed=0.776x frame= 705 fps= 19 q=28.0 size= 8704kB time=00:00:29.56 bitrate=2411.6kbits/s speed=0.778x frame= 710 fps= 18 q=28.0 size= 8960kB time=00:00:29.78 bitrate=2464.7kbits/s speed=0.773x frame= 720 fps= 18 q=28.0 size= 8960kB time=00:00:30.16 bitrate=2433.4kbits/s speed=0.773x frame= 732 fps= 18 q=28.0 size= 9216kB time=00:00:30.67 bitrate=2461.1kbits/s speed=0.774x frame= 740 fps= 18 q=28.0 size= 9216kB time=00:00:31.01 bitrate=2434.1kbits/s speed=0.772x frame= 752 fps= 18 q=28.0 size= 9472kB time=00:00:31.53 bitrate=2461.0kbits/s speed=0.774x frame= 760 fps= 18 q=28.0 size= 9472kB time=00:00:31.82 bitrate=2437.9kbits/s speed=0.772x frame= 772 fps= 18 q=28.0 size= 9728kB time=00:00:32.34 bitrate=2464.1kbits/s speed=0.774x frame= 783 fps= 18 q=28.0 size= 9984kB time=00:00:32.81 bitrate=2492.9kbits/s speed=0.774x frame= 796 fps= 19 q=28.0 size= 9984kB time=00:00:33.36 bitrate=2451.4kbits/s speed=0.777x frame= 815 fps= 19 q=28.0 size= 10240kB time=00:00:34.13 bitrate=2457.7kbits/s speed=0.784x frame= 833 fps= 19 q=28.0 size= 10496kB time=00:00:34.90 bitrate=2463.7kbits/s speed=0.792x frame= 848 fps= 19 q=28.0 size= 10496kB time=00:00:35.49 bitrate=2422.2kbits/s speed=0.797x frame= 861 fps= 19 q=28.0 size= 10752kB time=00:00:36.05 bitrate=2443.1kbits/s speed= 0.8x frame= 870 fps= 19 q=28.0 size= 10752kB time=00:00:36.43 bitrate=2417.4kbits/s speed=0.799x frame= 880 fps= 19 q=28.0 size= 11008kB time=00:00:36.86 bitrate=2446.3kbits/s speed=0.799x frame= 889 fps= 19 q=28.0 size= 11008kB time=00:00:37.24 bitrate=2421.1kbits/s speed=0.796x frame= 899 fps= 19 q=28.0 size= 11264kB time=00:00:37.63 bitrate=2452.1kbits/s speed=0.795x frame= 908 fps= 19 q=28.0 size= 11264kB time=00:00:38.01 bitrate=2427.4kbits/s speed=0.794x frame= 918 fps= 19 q=28.0 size= 11520kB time=00:00:38.44 bitrate=2454.9kbits/s speed=0.791x frame= 931 fps= 19 q=28.0 size= 11776kB time=00:00:38.95 bitrate=2476.5kbits/s speed=0.793x frame= 942 fps= 19 q=28.0 size= 11776kB time=00:00:39.42 bitrate=2447.0kbits/s speed=0.793x frame= 954 fps= 19 q=28.0 size= 11776kB time=00:00:39.93 bitrate=2415.7kbits/s speed=0.795x frame= 966 fps= 19 q=28.0 size= 12032kB time=00:00:40.40 bitrate=2439.5kbits/s speed=0.796x frame= 974 fps= 19 q=28.0 size= 12032kB time=00:00:40.78 bitrate=2416.5kbits/s speed=0.795x frame= 986 fps= 19 q=28.0 size= 12288kB time=00:00:41.25 bitrate=2439.9kbits/s speed=0.796x frame= 997 fps= 19 q=28.0 size= 12288kB time=00:00:41.72 bitrate=2412.4kbits/s speed=0.797x frame= 1007 fps= 19 q=28.0 size= 12544kB time=00:00:42.15 bitrate=2437.7kbits/s speed=0.797x frame= 1020 fps= 19 q=28.0 size= 12544kB time=00:00:42.70 bitrate=2406.1kbits/s speed= 0.8x frame= 1026 fps= 19 q=28.0 size= 12800kB time=00:00:42.92 bitrate=2443.0kbits/s speed=0.796x frame= 1038 fps= 19 q=28.0 size= 12800kB time=00:00:43.43 bitrate=2414.2kbits/s speed=0.796x frame= 1049 fps= 19 q=28.0 size= 13056kB time=00:00:43.90 bitrate=2436.2kbits/s speed=0.797x frame= 1058 fps= 19 q=28.0 size= 13312kB time=00:00:44.28 bitrate=2462.4kbits/s speed=0.797x frame= 1066 fps= 19 q=28.0 size= 13312kB time=00:00:44.62 bitrate=2443.5kbits/s speed=0.795x frame= 1080 fps= 19 q=28.0 size= 13312kB time=00:00:45.18 bitrate=2413.6kbits/s speed=0.798x frame= 1092 fps= 19 q=28.0 size= 13824kB time=00:00:45.69 bitrate=2478.3kbits/s speed=0.799x frame= 1104 fps= 19 q=28.0 size= 14080kB time=00:00:46.20 bitrate=2496.2kbits/s speed=0.801x frame= 1118 fps= 19 q=28.0 size= 14080kB time=00:00:46.76 bitrate=2466.6kbits/s speed=0.803x frame= 1128 fps= 19 q=28.0 size= 14080kB time=00:00:47.18 bitrate=2444.3kbits/s speed=0.802x frame= 1142 fps= 19 q=28.0 size= 14336kB time=00:00:47.78 bitrate=2457.6kbits/s speed=0.805x frame= 1154 fps= 19 q=28.0 size= 14336kB time=00:00:48.29 bitrate=2431.6kbits/s speed=0.807x frame= 1161 fps= 19 q=28.0 size= 14592kB time=00:00:48.51 bitrate=2464.1kbits/s speed=0.804x frame= 1173 fps= 19 q=28.0 size= 14848kB time=00:00:49.06 bitrate=2479.0kbits/s speed=0.806x frame= 1184 fps= 19 q=28.0 size= 14848kB time=00:00:49.53 bitrate=2455.5kbits/s speed=0.807x frame= 1196 fps= 19 q=28.0 size= 15104kB time=00:00:50.04 bitrate=2472.3kbits/s speed=0.808x frame= 1208 fps= 19 q=28.0 size= 15104kB time=00:00:50.47 bitrate=2451.4kbits/s speed=0.809x frame= 1218 fps= 19 q=28.0 size= 15360kB time=00:00:50.94 bitrate=2470.0kbits/s speed=0.81x frame= 1230 fps= 19 q=28.0 size= 15360kB time=00:00:51.45 bitrate=2445.4kbits/s speed=0.811x frame= 1242 fps= 19 q=28.0 size= 15360kB time=00:00:51.96 bitrate=2421.3kbits/s speed=0.812x frame= 1254 fps= 19 q=28.0 size= 15616kB time=00:00:52.43 bitrate=2439.6kbits/s speed=0.812x frame= 1267 fps= 19 q=28.0 size= 15616kB time=00:00:52.99 bitrate=2414.1kbits/s speed=0.814x frame= 1280 fps= 19 q=28.0 size= 15872kB time=00:00:53.54 bitrate=2428.3kbits/s speed=0.816x frame= 1292 fps= 20 q=28.0 size= 15872kB time=00:00:54.01 bitrate=2407.2kbits/s speed=0.816x frame= 1304 fps= 20 q=28.0 size= 16128kB time=00:00:54.52 bitrate=2423.0kbits/s speed=0.817x frame= 1316 fps= 20 q=28.0 size= 16128kB time=00:00:55.04 bitrate=2400.5kbits/s speed=0.818x frame= 1331 fps= 20 q=28.0 size= 16128kB time=00:00:55.68 bitrate=2372.9kbits/s speed=0.821x frame= 1342 fps= 20 q=28.0 size= 16640kB time=00:00:56.10 bitrate=2429.6kbits/s speed=0.82x frame= 1353 fps= 20 q=28.0 size= 16640kB time=00:00:56.57 bitrate=2409.4kbits/s speed=0.821x frame= 1366 fps= 20 q=28.0 size= 16896kB time=00:00:57.08 bitrate=2424.6kbits/s speed=0.822x frame= 1381 fps= 20 q=28.0 size= 16896kB time=00:00:57.68 bitrate=2399.5kbits/s speed=0.825x frame= 1391 fps= 20 q=28.0 size= 17152kB time=00:00:58.15 bitrate=2416.2kbits/s speed=0.825x frame= 1403 fps= 20 q=28.0 size= 17152kB time=00:00:58.66 bitrate=2395.1kbits/s speed=0.827x frame= 1413 fps= 20 q=28.0 size= 17408kB time=00:00:59.09 bitrate=2413.3kbits/s speed=0.827x frame= 1425 fps= 20 q=28.0 size= 17408kB time=00:00:59.56 bitrate=2394.3kbits/s speed=0.827x frame= 1439 fps= 19 q=-1.0 Lsize= 18213kB time=00:01:00.01 bitrate=2486.3kbits/s speed=0.806x video:15665kB audio:2502kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.252925% [libx264 @ 0x7fe421011a00] frame I:11 Avg QP:14.58 size:211102 [libx264 @ 0x7fe421011a00] frame P:391 Avg QP:18.34 size: 27144 [libx264 @ 0x7fe421011a00] frame B:1037 Avg QP:21.96 size: 2994 [libx264 @ 0x7fe421011a00] consecutive B-frames: 1.6% 5.1% 5.4% 87.8% [libx264 @ 0x7fe421011a00] mb I I16..4: 19.8% 63.5% 16.6% [libx264 @ 0x7fe421011a00] mb P I16..4: 2.0% 7.9% 1.1% P16..4: 28.4% 5.5% 4.3% 0.0% 0.0% skip:50.9% [libx264 @ 0x7fe421011a00] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 21.4% 0.5% 0.1% direct: 0.8% skip:76.9% L0:44.3% L1:54.9% BI: 0.8% [libx264 @ 0x7fe421011a00] 8x8 transform intra:69.7% inter:77.4% [libx264 @ 0x7fe421011a00] coded y,uvDC,uvAC intra: 65.5% 47.7% 17.8% inter: 4.5% 7.0% 0.0% [libx264 @ 0x7fe421011a00] i16 v,h,dc,p: 23% 15% 41% 21% [libx264 @ 0x7fe421011a00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 13% 39% 5% 5% 5% 5% 5% 5% [libx264 @ 0x7fe421011a00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 16% 21% 7% 7% 7% 6% 6% 5% [libx264 @ 0x7fe421011a00] i8c dc,h,v,p: 60% 18% 20% 2% [libx264 @ 0x7fe421011a00] Weighted P-Frames: Y:3.3% UV:2.3% [libx264 @ 0x7fe421011a00] ref P L0: 65.2% 10.9% 16.0% 7.6% 0.2% [libx264 @ 0x7fe421011a00] ref B L0: 87.1% 10.3% 2.6% [libx264 @ 0x7fe421011a00] ref B L1: 92.7% 7.3% [libx264 @ 0x7fe421011a00] kb/s:2138.10 [aac @ 0x7fe421013200] Qavg: 178.672
Working:
ffmpeg -i subtitile.srt subtitile.ass
ffmpeg -ss 00:03:00 -to 00:04:00 -copyts -i input.mp4 -vf ass=subtitile.ass -ss 00:03:00 -y test.mp4 ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 11.0.3 (clang-1103.0.32.59) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.3_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags=-fno-stack-check --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Ernest Et Celestine 2012 FRENCH 1080p BluRay x264-NERDHD encoder : Lavf57.66.100 Duration: 01:19:19.81, start: 0.000000, bitrate: 2258 kb/s Chapter #0:0: start 0.000000, end 412.662000 Metadata: title : 00:00:00.000 Chapter #0:1: start 412.662000, end 793.126000 Metadata: title : 00:06:52.662 Chapter #0:2: start 793.126000, end 1162.620000 Metadata: title : 00:13:13.126 Chapter #0:3: start 1162.620000, end 1644.268000 Metadata: title : 00:19:22.620 Chapter #0:4: start 1644.268000, end 1940.981000 Metadata: title : 00:27:24.268 Chapter #0:5: start 1940.981000, end 2484.107000 Metadata: title : 00:32:20.981 Chapter #0:6: start 2484.107000, end 2841.255000 Metadata: title : 00:41:24.107 Chapter #0:7: start 2841.255000, end 3191.397000 Metadata: title : 00:47:21.255 Chapter #0:8: start 3191.397000, end 3581.286000 Metadata: title : 00:53:11.397 Chapter #0:9: start 3581.286000, end 3919.916000 Metadata: title : 00:59:41.286 Chapter #0:10: start 3919.916000, end 4285.239000 Metadata: title : 01:05:19.916 Chapter #0:11: start 4285.239000, end 4759.808000 Metadata: title : 01:11:25.239 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2061 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(fre): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default) Metadata: handler_name : SoundHandler Stream #0:2(eng): Data: bin_data (text / 0x74786574) Metadata: handler_name : SubtitleHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [Parsed_ass_0 @ 0x7f9b98e22800] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.6.6 (COMPLEX) [Parsed_ass_0 @ 0x7f9b98e22800] Using font provider coretext [Parsed_ass_0 @ 0x7f9b98e22800] Added subtitle file: 'subtitile.ass' (2 styles, 800 events) [libx264 @ 0x7f9b9a027200] using SAR=1/1 [libx264 @ 0x7f9b9a027200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x7f9b9a027200] profile High, level 4.0, 4:2:0, 8-bit [libx264 @ 0x7f9b9a027200] 264 - core 159 r2999 296494a - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=6 lookahead_threads=1 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, mp4, to 'test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 title : Ernest Et Celestine 2012 FRENCH 1080p BluRay x264-NERDHD encoder : Lavf58.29.100 Chapter #0:0: start 0.000000, end 232.662000 Metadata: title : 00:00:00.000 Chapter #0:1: start 232.662000, end 613.126000 Metadata: title : 00:06:52.662 Chapter #0:2: start 613.126000, end 982.620000 Metadata: title : 00:13:13.126 Chapter #0:3: start 982.620000, end 1464.268000 Metadata: title : 00:19:22.620 Chapter #0:4: start 1464.268000, end 1760.981000 Metadata: title : 00:27:24.268 Chapter #0:5: start 1760.981000, end 2304.107000 Metadata: title : 00:32:20.981 Chapter #0:6: start 2304.107000, end 2661.255000 Metadata: title : 00:41:24.107 Chapter #0:7: start 2661.255000, end 3011.397000 Metadata: title : 00:47:21.255 Chapter #0:8: start 3011.397000, end 3401.286000 Metadata: title : 00:53:11.397 Chapter #0:9: start 3401.286000, end 3739.916000 Metadata: title : 00:59:41.286 Chapter #0:10: start 3739.916000, end 4105.239000 Metadata: title : 01:05:19.916 Chapter #0:11: start 4105.239000, end 4579.808000 Metadata: title : 01:11:25.239 Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 23.98 fps, 24k tbn, 23.98 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.54.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream #0:1(fre): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 341 kb/s (default) Metadata: handler_name : SoundHandler encoder : Lavc58.54.100 aac [Parsed_ass_0 @ 0x7f9b98e22800] fontselect: (RaghuMalayalamSans-Regular, 400, 0) -> /System/Library/Fonts/LucidaGrande.ttc, -1, LucidaGrande [Parsed_ass_0 @ 0x7f9b98e22800] Glyph 0xD15 not found, selecting one more font for (RaghuMalayalamSans-Regular, 400, 0) [Parsed_ass_0 @ 0x7f9b98e22800] fontselect: (RaghuMalayalamSans-Regular, 400, 0) -> /Users/unni/Library/Fonts/RaghuMalayalamSans-Regular.ttf, -1, RaghuMalayalamSans-Regular frame= 19 fps=0.0 q=0.0 size= 0kB time=00:00:00.93 bitrate= 3.1kbits/s speed=1.86x frame= 46 fps= 45 q=0.0 size= 0kB time=00:00:02.04 bitrate= 1.4kbits/s speed=2.02x frame= 57 fps= 37 q=28.0 size= 256kB time=00:00:02.51 bitrate= 834.2kbits/s speed=1.63x frame= 68 fps= 32 q=28.0 size= 256kB time=00:00:02.98 bitrate= 703.1kbits/s speed=1.42x frame= 80 fps= 30 q=28.0 size= 512kB time=00:00:03.49 bitrate=1199.7kbits/s speed=1.33x frame= 92 fps= 29 q=28.0 size= 512kB time=00:00:03.96 bitrate=1057.7kbits/s speed=1.27x frame= 100 fps= 26 q=28.0 size= 1024kB time=00:00:04.30 bitrate=1947.4kbits/s speed=1.13x frame= 114 fps= 26 q=28.0 size= 1024kB time=00:00:04.90 bitrate=1710.2kbits/s speed=1.12x frame= 126 fps= 25 q=28.0 size= 1280kB time=00:00:05.41 bitrate=1935.5kbits/s speed=1.09x frame= 137 fps= 25 q=28.0 size= 1280kB time=00:00:05.84 bitrate=1794.3kbits/s speed=1.06x frame= 143 fps= 24 q=28.0 size= 1280kB time=00:00:06.10 bitrate=1719.1kbits/s speed=1.01x frame= 151 fps= 23 q=28.0 size= 1536kB time=00:00:06.44 bitrate=1953.4kbits/s speed=0.985x frame= 156 fps= 22 q=28.0 size= 1536kB time=00:00:06.65 bitrate=1890.8kbits/s speed=0.928x frame= 164 fps= 21 q=28.0 size= 1792kB time=00:00:06.99 bitrate=2098.4kbits/s speed=0.901x frame= 172 fps= 21 q=28.0 size= 1792kB time=00:00:07.33 bitrate=2000.9kbits/s speed=0.876x frame= 178 fps= 20 q=28.0 size= 2048kB time=00:00:07.55 bitrate=2221.8kbits/s speed=0.844x frame= 187 fps= 20 q=28.0 size= 2048kB time=00:00:07.93 bitrate=2114.3kbits/s speed=0.839x frame= 194 fps= 19 q=28.0 size= 2304kB time=00:00:08.23 bitrate=2292.3kbits/s speed=0.806x frame= 201 fps= 19 q=28.0 size= 2304kB time=00:00:08.53 bitrate=2212.2kbits/s speed=0.786x frame= 209 fps= 18 q=28.0 size= 2560kB time=00:00:08.87 bitrate=2363.3kbits/s speed=0.78x frame= 214 fps= 18 q=28.0 size= 2560kB time=00:00:09.08 bitrate=2307.8kbits/s speed=0.761x frame= 223 fps= 18 q=28.0 size= 2560kB time=00:00:09.42 bitrate=2224.3kbits/s speed=0.754x frame= 231 fps= 18 q=28.0 size= 2816kB time=00:00:09.77 bitrate=2361.3kbits/s speed=0.744x frame= 237 fps= 17 q=28.0 size= 2816kB time=00:00:10.02 bitrate=2301.0kbits/s speed=0.732x frame= 245 fps= 17 q=28.0 size= 3072kB time=00:00:10.36 bitrate=2427.5kbits/s speed=0.729x frame= 252 fps= 17 q=28.0 size= 3072kB time=00:00:10.66 bitrate=2359.5kbits/s speed=0.724x frame= 260 fps= 17 q=28.0 size= 3072kB time=00:00:11.00 bitrate=2286.4kbits/s speed=0.72x frame= 270 fps= 17 q=28.0 size= 3328kB time=00:00:11.34 bitrate=2402.3kbits/s speed=0.719x frame= 282 fps= 17 q=28.0 size= 3584kB time=00:00:11.90 bitrate=2466.7kbits/s speed=0.731x frame= 299 fps= 18 q=28.0 size= 3584kB time=00:00:12.62 bitrate=2324.9kbits/s speed=0.748x frame= 308 fps= 18 q=28.0 size= 3840kB time=00:00:13.01 bitrate=2417.6kbits/s speed=0.748x frame= 319 fps= 18 q=28.0 size= 3840kB time=00:00:13.44 bitrate=2340.7kbits/s speed=0.749x frame= 332 fps= 18 q=28.0 size= 4096kB time=00:00:13.99 bitrate=2397.9kbits/s speed=0.746x frame= 341 fps= 18 q=28.0 size= 4096kB time=00:00:14.37 bitrate=2333.8kbits/s speed=0.739x frame= 350 fps= 18 q=28.0 size= 4352kB time=00:00:14.76 bitrate=2415.2kbits/s speed=0.739x frame= 363 fps= 18 q=28.0 size= 4608kB time=00:00:15.27 bitrate=2471.5kbits/s speed=0.744x frame= 364 fps= 17 q=28.0 size= 4864kB time=00:00:15.31 bitrate=2601.5kbits/s speed=0.726x frame= 376 fps= 17 q=28.0 size= 4864kB time=00:00:15.82 bitrate=2517.5kbits/s speed=0.725x frame= 388 fps= 17 q=28.0 size= 5120kB time=00:00:16.34 bitrate=2566.8kbits/s speed=0.722x frame= 394 fps= 17 q=28.0 size= 5376kB time=00:00:16.59 bitrate=2653.6kbits/s speed=0.716x frame= 407 fps= 17 q=28.0 size= 5376kB time=00:00:17.10 bitrate=2574.2kbits/s speed=0.72x frame= 418 fps= 17 q=28.0 size= 5632kB time=00:00:17.57 bitrate=2624.8kbits/s speed=0.722x frame= 433 fps= 17 q=28.0 size= 5888kB time=00:00:18.21 bitrate=2647.6kbits/s speed=0.733x frame= 442 fps= 17 q=28.0 size= 5888kB time=00:00:18.60 bitrate=2593.0kbits/s speed=0.732x frame= 457 fps= 18 q=28.0 size= 6144kB time=00:00:19.19 bitrate=2621.6kbits/s speed=0.741x frame= 469 fps= 18 q=28.0 size= 6144kB time=00:00:19.71 bitrate=2553.5kbits/s speed=0.742x frame= 484 fps= 18 q=28.0 size= 6400kB time=00:00:20.35 bitrate=2576.3kbits/s speed=0.748x frame= 497 fps= 18 q=28.0 size= 6400kB time=00:00:20.86 bitrate=2513.0kbits/s speed=0.745x frame= 508 fps= 18 q=28.0 size= 6400kB time=00:00:21.33 bitrate=2457.8kbits/s speed=0.745x frame= 516 fps= 18 q=28.0 size= 6656kB time=00:00:21.67 bitrate=2515.7kbits/s speed=0.741x frame= 524 fps= 18 q=28.0 size= 6656kB time=00:00:22.01 bitrate=2476.8kbits/s speed=0.739x frame= 530 fps= 17 q=28.0 size= 6656kB time=00:00:22.27 bitrate=2448.3kbits/s speed=0.735x frame= 539 fps= 17 q=28.0 size= 6656kB time=00:00:22.61 bitrate=2411.3kbits/s speed=0.733x frame= 546 fps= 17 q=28.0 size= 6912kB time=00:00:22.91 bitrate=2471.5kbits/s speed=0.729x frame= 554 fps= 17 q=28.0 size= 6912kB time=00:00:23.25 bitrate=2435.2kbits/s speed=0.728x frame= 562 fps= 17 q=28.0 size= 6912kB time=00:00:23.59 bitrate=2399.9kbits/s speed=0.723x frame= 570 fps= 17 q=28.0 size= 7168kB time=00:00:23.93 bitrate=2453.3kbits/s speed=0.722x frame= 575 fps= 17 q=28.0 size= 7168kB time=00:00:24.14 bitrate=2431.7kbits/s speed=0.717x frame= 582 fps= 17 q=28.0 size= 7168kB time=00:00:24.40 bitrate=2406.1kbits/s speed=0.711x frame= 591 fps= 17 q=28.0 size= 7168kB time=00:00:24.78 bitrate=2368.9kbits/s speed=0.712x frame= 597 fps= 17 q=28.0 size= 7424kB time=00:00:25.04 bitrate=2428.4kbits/s speed=0.707x frame= 606 fps= 17 q=28.0 size= 7424kB time=00:00:25.42 bitrate=2391.8kbits/s speed=0.708x frame= 616 fps= 17 q=28.0 size= 7680kB time=00:00:25.85 bitrate=2433.3kbits/s speed=0.708x frame= 624 fps= 17 q=28.0 size= 7680kB time=00:00:26.15 bitrate=2405.6kbits/s speed=0.705x frame= 631 fps= 17 q=28.0 size= 7680kB time=00:00:26.45 bitrate=2378.5kbits/s speed=0.703x frame= 639 fps= 17 q=28.0 size= 7680kB time=00:00:26.79 bitrate=2348.1kbits/s speed=0.701x frame= 648 fps= 17 q=28.0 size= 7936kB time=00:00:27.17 bitrate=2392.1kbits/s speed= 0.7x frame= 660 fps= 17 q=28.0 size= 8192kB time=00:00:27.69 bitrate=2423.6kbits/s speed=0.703x frame= 674 fps= 17 q=28.0 size= 8192kB time=00:00:28.24 bitrate=2376.1kbits/s speed=0.707x frame= 681 fps= 17 q=28.0 size= 8192kB time=00:00:28.54 bitrate=2351.1kbits/s speed=0.705x frame= 693 fps= 17 q=28.0 size= 8704kB time=00:00:29.05 bitrate=2454.1kbits/s speed=0.704x frame= 704 fps= 17 q=28.0 size= 8704kB time=00:00:29.52 bitrate=2415.1kbits/s speed=0.706x frame= 709 fps= 17 q=28.0 size= 8960kB time=00:00:29.73 bitrate=2468.2kbits/s speed=0.703x frame= 721 fps= 17 q=28.0 size= 9216kB time=00:00:30.20 bitrate=2499.4kbits/s speed=0.703x frame= 733 fps= 17 q=28.0 size= 9216kB time=00:00:30.72 bitrate=2457.7kbits/s speed=0.705x frame= 740 fps= 17 q=28.0 size= 9472kB time=00:00:31.01 bitrate=2501.7kbits/s speed=0.704x frame= 751 fps= 17 q=28.0 size= 9472kB time=00:00:31.44 bitrate=2467.7kbits/s speed=0.706x frame= 760 fps= 17 q=28.0 size= 9472kB time=00:00:31.82 bitrate=2437.9kbits/s speed=0.705x frame= 772 fps= 17 q=28.0 size= 9728kB time=00:00:32.34 bitrate=2464.1kbits/s speed=0.708x frame= 778 fps= 17 q=28.0 size= 9984kB time=00:00:32.59 bitrate=2509.2kbits/s speed=0.705x frame= 791 fps= 17 q=28.0 size= 9984kB time=00:00:33.15 bitrate=2467.2kbits/s speed=0.71x frame= 809 fps= 17 q=28.0 size= 10240kB time=00:00:33.87 bitrate=2476.3kbits/s speed=0.716x frame= 826 fps= 17 q=28.0 size= 10496kB time=00:00:34.60 bitrate=2484.9kbits/s speed=0.724x frame= 840 fps= 17 q=28.0 size= 10496kB time=00:00:35.19 bitrate=2442.8kbits/s speed=0.729x frame= 857 fps= 18 q=28.0 size= 10752kB time=00:00:35.88 bitrate=2454.8kbits/s speed=0.733x frame= 868 fps= 18 q=28.0 size= 11008kB time=00:00:36.35 bitrate=2480.7kbits/s speed=0.735x frame= 877 fps= 18 q=28.0 size= 11008kB time=00:00:36.73 bitrate=2454.8kbits/s speed=0.735x frame= 886 fps= 17 q=28.0 size= 11264kB time=00:00:37.12 bitrate=2485.9kbits/s speed=0.733x frame= 894 fps= 17 q=28.0 size= 11264kB time=00:00:37.41 bitrate=2466.1kbits/s speed=0.731x frame= 905 fps= 17 q=28.0 size= 11264kB time=00:00:37.88 bitrate=2435.6kbits/s speed=0.732x frame= 917 fps= 17 q=28.0 size= 11776kB time=00:00:38.40 bitrate=2512.3kbits/s speed=0.731x frame= 930 fps= 18 q=28.0 size= 11776kB time=00:00:38.95 bitrate=2476.5kbits/s speed=0.734x frame= 941 fps= 18 q=28.0 size= 11776kB time=00:00:39.38 bitrate=2449.7kbits/s speed=0.735x frame= 951 fps= 18 q=28.0 size= 12032kB time=00:00:39.80 bitrate=2476.1kbits/s speed=0.736x frame= 963 fps= 18 q=28.0 size= 12032kB time=00:00:40.32 bitrate=2444.6kbits/s speed=0.737x frame= 975 fps= 18 q=28.0 size= 12288kB time=00:00:40.83 bitrate=2465.4kbits/s speed=0.738x frame= 987 fps= 18 q=28.0 size= 12288kB time=00:00:41.30 bitrate=2437.3kbits/s speed=0.738x frame= 999 fps= 18 q=28.0 size= 12544kB time=00:00:41.81 bitrate=2457.7kbits/s speed=0.739x frame= 1011 fps= 18 q=28.0 size= 12544kB time=00:00:42.32 bitrate=2427.9kbits/s speed=0.742x frame= 1027 fps= 18 q=28.0 size= 12800kB time=00:00:42.96 bitrate=2440.6kbits/s speed=0.742x frame= 1038 fps= 18 q=28.0 size= 13056kB time=00:00:43.43 bitrate=2462.5kbits/s speed=0.743x frame= 1048 fps= 18 q=28.0 size= 13056kB time=00:00:43.86 bitrate=2438.5kbits/s speed=0.743x frame= 1058 fps= 18 q=28.0 size= 13312kB time=00:00:44.28 bitrate=2462.4kbits/s speed=0.744x frame= 1067 fps= 18 q=28.0 size= 13312kB time=00:00:44.67 bitrate=2441.2kbits/s speed=0.744x frame= 1080 fps= 18 q=28.0 size= 13568kB time=00:00:45.18 bitrate=2460.0kbits/s speed=0.746x frame= 1092 fps= 18 q=28.0 size= 13824kB time=00:00:45.69 bitrate=2478.3kbits/s speed=0.748x frame= 1104 fps= 18 q=28.0 size= 14080kB time=00:00:46.20 bitrate=2496.2kbits/s speed=0.75x frame= 1118 fps= 18 q=28.0 size= 14080kB time=00:00:46.72 bitrate=2468.9kbits/s speed=0.752x frame= 1128 fps= 18 q=28.0 size= 14336kB time=00:00:47.18 bitrate=2488.8kbits/s speed=0.752x frame= 1141 fps= 18 q=28.0 size= 14336kB time=00:00:47.74 bitrate=2459.8kbits/s speed=0.755x frame= 1152 fps= 18 q=28.0 size= 14592kB time=00:00:48.21 bitrate=2479.4kbits/s speed=0.756x frame= 1160 fps= 18 q=28.0 size= 14848kB time=00:00:48.51 bitrate=2507.4kbits/s speed=0.755x frame= 1172 fps= 18 q=28.0 size= 14848kB time=00:00:49.02 bitrate=2481.2kbits/s speed=0.757x frame= 1184 fps= 18 q=28.0 size= 15104kB time=00:00:49.53 bitrate=2497.9kbits/s speed=0.758x frame= 1196 fps= 18 q=28.0 size= 15104kB time=00:00:50.04 bitrate=2472.3kbits/s speed=0.76x frame= 1207 fps= 18 q=28.0 size= 15104kB time=00:00:50.47 bitrate=2451.4kbits/s speed=0.76x frame= 1218 fps= 18 q=28.0 size= 15360kB time=00:00:50.94 bitrate=2470.0kbits/s speed=0.762x frame= 1230 fps= 18 q=28.0 size= 15360kB time=00:00:51.45 bitrate=2445.4kbits/s speed=0.763x frame= 1242 fps= 18 q=28.0 size= 15616kB time=00:00:51.96 bitrate=2461.7kbits/s speed=0.765x frame= 1254 fps= 18 q=28.0 size= 15616kB time=00:00:52.43 bitrate=2439.6kbits/s speed=0.765x frame= 1268 fps= 18 q=28.0 size= 15872kB time=00:00:53.03 bitrate=2451.7kbits/s speed=0.768x frame= 1280 fps= 18 q=28.0 size= 15872kB time=00:00:53.54 bitrate=2428.3kbits/s speed=0.769x frame= 1292 fps= 18 q=28.0 size= 15872kB time=00:00:54.01 bitrate=2407.2kbits/s speed=0.77x frame= 1304 fps= 18 q=28.0 size= 16128kB time=00:00:54.52 bitrate=2423.0kbits/s speed=0.771x frame= 1316 fps= 18 q=28.0 size= 16128kB time=00:00:55.04 bitrate=2400.5kbits/s speed=0.772x frame= 1331 fps= 19 q=28.0 size= 16384kB time=00:00:55.68 bitrate=2410.6kbits/s speed=0.776x frame= 1342 fps= 19 q=28.0 size= 16640kB time=00:00:56.10 bitrate=2429.6kbits/s speed=0.775x frame= 1353 fps= 19 q=28.0 size= 16896kB time=00:00:56.57 bitrate=2446.5kbits/s speed=0.776x frame= 1366 fps= 19 q=28.0 size= 16896kB time=00:00:57.13 bitrate=2422.8kbits/s speed=0.778x frame= 1381 fps= 19 q=28.0 size= 17152kB time=00:00:57.72 bitrate=2434.0kbits/s speed=0.78x frame= 1394 fps= 19 q=28.0 size= 17152kB time=00:00:58.28 bitrate=2410.9kbits/s speed=0.782x frame= 1405 fps= 19 q=28.0 size= 17408kB time=00:00:58.75 bitrate=2427.3kbits/s speed=0.783x frame= 1416 fps= 19 q=28.0 size= 17408kB time=00:00:59.22 bitrate=2408.1kbits/s speed=0.784x frame= 1427 fps= 19 q=28.0 size= 17408kB time=00:00:59.60 bitrate=2392.5kbits/s speed=0.784x frame= 1439 fps= 18 q=-1.0 Lsize= 18287kB time=00:01:00.01 bitrate=2496.3kbits/s speed=0.765x video:15739kB audio:2502kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.252059% [libx264 @ 0x7f9b9a027200] frame I:12 Avg QP:14.37 size:219226 [libx264 @ 0x7f9b9a027200] frame P:389 Avg QP:18.37 size: 26558 [libx264 @ 0x7f9b9a027200] frame B:1038 Avg QP:21.92 size: 3038 [libx264 @ 0x7f9b9a027200] consecutive B-frames: 1.6% 5.0% 5.0% 88.4% [libx264 @ 0x7f9b9a027200] mb I I16..4: 21.4% 61.3% 17.3% [libx264 @ 0x7f9b9a027200] mb P I16..4: 1.9% 7.6% 1.1% P16..4: 28.3% 5.5% 4.2% 0.0% 0.0% skip:51.4% [libx264 @ 0x7f9b9a027200] mb B I16..4: 0.1% 0.2% 0.0% B16..8: 21.6% 0.5% 0.1% direct: 0.9% skip:76.6% L0:45.0% L1:54.2% BI: 0.8% [libx264 @ 0x7f9b9a027200] 8x8 transform intra:68.9% inter:77.4% [libx264 @ 0x7f9b9a027200] coded y,uvDC,uvAC intra: 65.6% 48.1% 18.5% inter: 4.5% 7.0% 0.0% [libx264 @ 0x7f9b9a027200] i16 v,h,dc,p: 23% 15% 42% 20% [libx264 @ 0x7f9b9a027200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 13% 39% 5% 5% 5% 5% 5% 5% [libx264 @ 0x7f9b9a027200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 16% 21% 7% 7% 7% 6% 6% 5% [libx264 @ 0x7f9b9a027200] i8c dc,h,v,p: 60% 18% 20% 2% [libx264 @ 0x7f9b9a027200] Weighted P-Frames: Y:3.1% UV:1.8% [libx264 @ 0x7f9b9a027200] ref P L0: 65.1% 10.9% 15.8% 7.9% 0.3% [libx264 @ 0x7f9b9a027200] ref B L0: 86.7% 10.7% 2.6% [libx264 @ 0x7f9b9a027200] ref B L1: 92.7% 7.3% [libx264 @ 0x7f9b9a027200] kb/s:2148.09 [aac @ 0x7f9b9a029200] Qavg: 178.672
comment:3 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
The subtitle filter does not „use“ harfbuzz, libass does.
comment:4 by , 4 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Then can you tell me why ffmpeg ass filter renders with same libass while the ffmpeg subtitle filter can't?
comment:5 by , 4 years ago
If you really believe that there is an issue that can be fixed in FFmpeg please test current FFmpeg git head and (after making your terminal window a little wider) provide the command line you tested together with the complete, uncut console output to make this a valid ticket.
comment:6 by , 4 years ago
I've compiled by following https://trac.ffmpeg.org/wiki/CompilationGuide/Centos which uses the snapshot. I'll try the git.
But as per https://ffmpeg.org/ffmpeg-filters.html#ass only ass has option to select the shaping engine. There is no such option for subtitle filter. I guess then it's ffmpeg which selects the shaping engine.
comment:8 by , 4 years ago
Yes, that output is from Mac which is installed through homwbrew. I am using the snapshot in my CentOS server. Results are same. I'll post the command output from that.
comment:9 by , 4 years ago
subtitle filter not working :
# ffmpeg -i /media/test.mp4 -vf subtitles=/media/test.srt /media/testout.mp4 -y ffmpeg version N-98194-g584d334 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39) configuration: --prefix=/home/unni/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/unni/ffmpeg_build/include --extra-ldflags=-L/home/unni/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/home/unni/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-nonfree --enable-libass libavutil 56. 55.100 / 56. 55.100 libavcodec 58. 92.100 / 58. 92.100 libavformat 58. 46.101 / 58. 46.101 libavdevice 58. 11.100 / 58. 11.100 libavfilter 7. 86.100 / 7. 86.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.29.100 Duration: 00:00:10.00, start: 0.000000, bitrate: 13 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 10 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Press [q] to stop, [?] for help [Parsed_subtitles_0 @ 0x49f6700] Shaper: FriBidi 1.0.9 (SIMPLE) HarfBuzz-ng 2.6.7 (COMPLEX) [Parsed_subtitles_0 @ 0x49f6700] Using font provider fontconfig [libx264 @ 0x4302440] using SAR=1/1 [libx264 @ 0x4302440] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX [libx264 @ 0x4302440] profile High, level 3.1, 4:2:0, 8-bit [libx264 @ 0x4302440] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=1 lookahead_threads=1 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=25 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, mp4, to '/media/testout.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.46.101 Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.92.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 56 fps=0.0 q=29.0 size= 0kB time=00:00:00.40 bitrate= 1.0kbits/s speed=0.777x [Parsed_subtitles_0 @ 0x49f6700] fontselect: (Arial, 400, 0) -> /usr/share/fonts/dejavu/DejaVuSans.ttf, 0, DejaVuSans [Parsed_subtitles_0 @ 0x49f6700] Glyph 0xD38 not found, selecting one more font for (Arial, 400, 0) [Parsed_subtitles_0 @ 0x49f6700] fontselect: (Arial, 400, 0) -> /usr/share/fonts/smc/RaghuMalayalamSans.ttf, 0, RaghuMalayalamSans frame= 89 fps= 88 q=29.0 size= 0kB time=00:00:01.50 bitrate= 0.3kbits/s speed=1.47x frame= 136 fps= 89 q=29.0 size= 0kB time=00:00:03.06 bitrate= 0.1kbits/s speed=2.01x frame= 183 fps= 90 q=29.0 size= 0kB time=00:00:04.63 bitrate= 0.1kbits/s speed=2.28x frame= 227 fps= 89 q=29.0 size= 0kB time=00:00:06.10 bitrate= 0.1kbits/s speed= 2.4x frame= 276 fps= 91 q=29.0 size= 0kB time=00:00:07.73 bitrate= 0.0kbits/s speed=2.54x frame= 300 fps= 86 q=29.0 Lsize= 33kB time=00:00:09.90 bitrate= 27.0kbits/s speed=2.85x video:28kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 15.360404% [libx264 @ 0x4302440] frame I:3 Avg QP: 8.75 size: 4692 [libx264 @ 0x4302440] frame P:75 Avg QP:10.15 size: 71 [libx264 @ 0x4302440] frame B:222 Avg QP:13.67 size: 40 [libx264 @ 0x4302440] consecutive B-frames: 1.0% 0.0% 3.0% 96.0% [libx264 @ 0x4302440] mb I I16..4: 94.7% 3.5% 1.7% [libx264 @ 0x4302440] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0% [libx264 @ 0x4302440] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct: 0.0% skip:99.9% L0:81.9% L1:18.1% BI: 0.0% [libx264 @ 0x4302440] 8x8 transform intra:4.0% inter:3.7% [libx264 @ 0x4302440] coded y,uvDC,uvAC intra: 1.3% 0.0% 0.0% inter: 0.0% 0.0% 0.0% [libx264 @ 0x4302440] i16 v,h,dc,p: 98% 0% 2% 0% [libx264 @ 0x4302440] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 64% 11% 25% 0% 0% 0% 0% 0% 0% [libx264 @ 0x4302440] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 18% 20% 4% 5% 6% 5% 5% 3% [libx264 @ 0x4302440] i8c dc,h,v,p: 100% 0% 0% 0% [libx264 @ 0x4302440] Weighted P-Frames: Y:1.3% UV:0.0% [libx264 @ 0x4302440] ref P L0: 90.3% 4.0% 2.4% 3.2% [libx264 @ 0x4302440] ref B L0: 76.0% 24.0% [libx264 @ 0x4302440] ref B L1: 97.4% 2.6% [libx264 @ 0x4302440] kb/s:22.59
ass filter working :
# ffmpeg -i /media/test.mp4 -vf ass=/media/test.ass /media/testout.mp4 -y ffmpeg version N-98194-g584d334 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39) configuration: --prefix=/home/unni/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/unni/ffmpeg_build/include --extra-ldflags=-L/home/unni/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/home/unni/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libx264 --enable-nonfree --enable-libass libavutil 56. 55.100 / 56. 55.100 libavcodec 58. 92.100 / 58. 92.100 libavformat 58. 46.101 / 58. 46.101 libavdevice 58. 11.100 / 58. 11.100 libavfilter 7. 86.100 / 7. 86.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/media/test.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.29.100 Duration: 00:00:10.00, start: 0.000000, bitrate: 13 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 10 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default) Metadata: handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Press [q] to stop, [?] for help [Parsed_ass_0 @ 0x3c90700] Shaper: FriBidi 1.0.9 (SIMPLE) HarfBuzz-ng 2.6.7 (COMPLEX) [Parsed_ass_0 @ 0x3c90700] Using font provider fontconfig [Parsed_ass_0 @ 0x3c90700] Added subtitle file: '/media/test.ass' (2 styles, 3 events) [libx264 @ 0x359c440] using SAR=1/1 [libx264 @ 0x359c440] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX [libx264 @ 0x359c440] profile High, level 3.1, 4:2:0, 8-bit [libx264 @ 0x359c440] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=1 lookahead_threads=1 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=25 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, mp4, to '/media/testout.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf58.46.101 Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default) Metadata: handler_name : VideoHandler encoder : Lavc58.92.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A [Parsed_ass_0 @ 0x3c90700] fontselect: (Arial, 400, 0) -> /usr/share/fonts/dejavu/DejaVuSans.ttf, 0, DejaVuSans [Parsed_ass_0 @ 0x3c90700] Glyph 0xD38 not found, selecting one more font for (Arial, 400, 0) [Parsed_ass_0 @ 0x3c90700] fontselect: (Arial, 400, 0) -> /usr/share/fonts/smc/RaghuMalayalamSans.ttf, 0, RaghuMalayalamSans frame= 69 fps=0.0 q=29.0 size= 0kB time=00:00:00.83 bitrate= 0.5kbits/s speed=1.66x frame= 120 fps=118 q=29.0 size= 0kB time=00:00:02.53 bitrate= 0.2kbits/s speed=2.49x frame= 173 fps=114 q=29.0 size= 0kB time=00:00:04.30 bitrate= 0.1kbits/s speed=2.83x frame= 223 fps=110 q=29.0 size= 0kB time=00:00:05.96 bitrate= 0.1kbits/s speed=2.94x frame= 274 fps=108 q=29.0 size= 0kB time=00:00:07.66 bitrate= 0.1kbits/s speed=3.02x frame= 300 fps=100 q=29.0 Lsize= 31kB time=00:00:09.90 bitrate= 25.5kbits/s speed=3.31x video:26kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 16.406828% [libx264 @ 0x359c440] frame I:3 Avg QP: 8.42 size: 4101 [libx264 @ 0x359c440] frame P:75 Avg QP:10.16 size: 71 [libx264 @ 0x359c440] frame B:222 Avg QP:13.67 size: 40 [libx264 @ 0x359c440] consecutive B-frames: 1.0% 0.0% 3.0% 96.0% [libx264 @ 0x359c440] mb I I16..4: 96.9% 1.6% 1.5% [libx264 @ 0x359c440] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0% [libx264 @ 0x359c440] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:81.0% L1:19.0% BI: 0.0% [libx264 @ 0x359c440] 8x8 transform intra:1.9% inter:0.0% [libx264 @ 0x359c440] coded y,uvDC,uvAC intra: 1.2% 0.0% 0.0% inter: 0.0% 0.0% 0.0% [libx264 @ 0x359c440] i16 v,h,dc,p: 98% 0% 2% 0% [libx264 @ 0x359c440] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 46% 10% 43% 0% 0% 0% 0% 0% 0% [libx264 @ 0x359c440] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 19% 17% 3% 5% 6% 4% 6% 3% [libx264 @ 0x359c440] i8c dc,h,v,p: 100% 0% 0% 0% [libx264 @ 0x359c440] Weighted P-Frames: Y:1.3% UV:0.0% [libx264 @ 0x359c440] ref P L0: 88.0% 8.0% 4.0% [libx264 @ 0x359c440] ref B L0: 73.4% 26.6% [libx264 @ 0x359c440] kb/s:21.11
comment:10 by , 4 years ago
Component: | undetermined → avfilter |
---|---|
Keywords: | subtitles regression added |
Priority: | normal → important |
Reproduced by developer: | set |
Status: | reopened → open |
Version: | unspecified → git-master |
Looks like a regression since 4b58349bc8ff2ff5dfbc9eef1e5856fd16e1f517, see also ticket #3165.
comment:11 by , 4 years ago
comment:12 by , 3 years ago
Okay, is it going to get merged? I mean https://github.com/harfbuzz/harfbuzz/issues/3487 will always happen.
This was also mentioned here https://github.com/FFmpeg/FFmpeg/pull/371/commits/4fe1da7e8c94401b5a8ebabe92f1a75bc6feb803 and here https://github.com/FFmpeg/FFmpeg/pull/373
VLC and FFMPEG Text comparison