[FFmpeg-trac] #3571(avfilter:new): Drawtext fontcolor alpha not working

FFmpeg trac at avcodec.org
Mon Apr 28 09:01:34 CEST 2014


#3571: Drawtext fontcolor alpha not working
-------------------------------------+-------------------------------------
             Reporter:  nickj        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  drawtext     |               Blocked By:
  alpha                              |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by nickj):

 Yes I understand, that was too OS specific!  Thanks for teaching me that
 trick and the quick reply!

 Yes I can confirm that that issue occurs with that input -

 ----
 ffmpeg -y -v debug -f lavfi  -i testsrc -pix_fmt rgba -filter_complex
 "drawtext=borderw=1:box=1:boxcolor=black at 0.5:bordercolor=black:text='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':fontcolor=white at 0.8:fontsize=24:fontfile='/WINDOWS/FONTS/Arial.ttf':x=(w-tw)/2:y=h-(2*lh)
 " drawtext-2.mp4
 C:\Users\Nick\Documents\Visual Studio
 2008\Projects\TprVideoEngine2-15\TprVideoEngine2-15\Debug>ffmpeg -y -v
 debug -f lavfi  -i testsrc -pix_fmt rgba -filter_complex
 "drawtext=borderw=1:box=1:boxcolor=black at 0.5:bordercolor=black:text='ABCDEFGHIJKLMNO
 PQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':fontcolor=white at 0.8:fontsize=24:fontfile='/WINDOWS/FONTS/Arial.ttf':x=(w-tw)/2:y=h-(2*lh)
 " drawtext-2.mp4
 ffmpeg version N-62460-gef818d8 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Apr 14 2014 22:05:25 with gcc 4.8.2 (GCC)
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-
 fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
 --enable-libbluray --enable-libc
 aca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-
 libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
 --enable-libschroedinger --enable-libsoxr -
 -enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-
 libx265 --enable-libxavs --enable-libxvid --ena
 ble-zlib
   libavutil      52. 76.100 / 52. 76.100
   libavcodec     55. 58.103 / 55. 58.103
   libavformat    55. 37.100 / 55. 37.100
   libavdevice    55. 13.100 / 55. 13.100
   libavfilter     4.  4.100 /  4.  4.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100
   libpostproc    52.  3.100 / 52.  3.100
 Splitting the commandline.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument 'debug'.
 Reading option '-f' ... matched as option 'f' (force format) with argument
 'lavfi'.
 Reading option '-i' ... matched as input file with argument 'testsrc'.
 Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
 format) with argument 'rgba'.
 Reading option '-filter_complex' ... matched as option 'filter_complex'
 (create a complex filtergraph) with argument
 'drawtext=borderw=1:box=1:boxcolor=black at 0.5:bordercolor=black:text='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':fontcolor=
 white at 0.8:fontsize=24:fontfile='/WINDOWS/FONTS/Arial.ttf':x=(w-tw)/2:y=h-(2*lh)
 '.
 Reading option 'drawtext-2.mp4' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option y (overwrite output files) with argument 1.
 Applying option v (set logging level) with argument debug.
 Applying option filter_complex (create a complex filtergraph) with
 argument
 drawtext=borderw=1:box=1:boxcolor=black at 0.5:bordercolor=black:text='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':fontcolor=white at 0.8:fontsize=24:fontfile='/WINDOWS/F
 ONTS/Arial.ttf':x=(w-tw)/2:y=h-(2*lh) .
 Successfully parsed a group of options.
 Parsing a group of options: input file testsrc.
 Applying option f (force format) with argument lavfi.
 Successfully parsed a group of options.
 Opening an input file: testsrc.
 detected 8 logical cores
 [Parsed_testsrc_0 @ 006caa80] size:320x240 rate:25/1 duration:-1.000000
 sar:1/1
 [AVFilterGraph @ 006c8c00] query_formats: 2 queried, 1 merged, 0 already
 done, 0 delayed
 [lavfi @ 006c85c0] All info found
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0, 1, 1/25: Video: rawvideo (RGB[24] / 0x18424752), rgb24,
 320x240 [SAR 1:1 DAR 4:3], 1/25, 25 tbr, 25 tbn, 25 tbc
 Successfully opened the file.
 Parsing a group of options: output file drawtext-2.mp4.
 Applying option pix_fmt (set pixel format) with argument rgba.
 Successfully parsed a group of options.
 Opening an output file: drawtext-2.mp4.
 [Parsed_drawtext_0 @ 005c1020] Setting 'borderw' to value '1'
 [Parsed_drawtext_0 @ 005c1020] Setting 'box' to value '1'
 [Parsed_drawtext_0 @ 005c1020] Setting 'boxcolor' to value 'black at 0.5'
 [Parsed_drawtext_0 @ 005c1020] Setting 'bordercolor' to value 'black'
 [Parsed_drawtext_0 @ 005c1020] Setting 'text' to value
 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
 [Parsed_drawtext_0 @ 005c1020] Setting 'fontcolor' to value 'white at 0.8'
 [Parsed_drawtext_0 @ 005c1020] Setting 'fontsize' to value '24'
 [Parsed_drawtext_0 @ 005c1020] Setting 'fontfile' to value
 '/WINDOWS/FONTS/Arial.ttf'
 [Parsed_drawtext_0 @ 005c1020] Setting 'x' to value '(w-tw)/2'
 [Parsed_drawtext_0 @ 005c1020] Setting 'y' to value 'h-(2*lh)'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'video_size' to value
 '320x240'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'pix_fmt' to value '2'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'time_base' to value
 '1/25'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'pixel_aspect' to value
 '1/1'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 005c16a0] Setting 'frame_rate' to value
 '25/1'
 [graph 0 input from stream 0:0 @ 005c16a0] w:320 h:240 pixfmt:rgb24
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 Incompatible pixel format 'rgba' for codec 'libx264', auto-selecting
 format 'yuv444p'
 [format @ 005c1da0] compat: called with args=[yuv444p]
 [format @ 005c1da0] Setting 'pix_fmts' to value 'yuv444p'
 Successfully opened the file.
 [auto-inserted scaler 0 @ 005c12a0] w:iw h:ih flags:'bilinear' interl:0
 [format @ 005c1da0] auto-inserting filter 'auto-inserted scaler 0' between
 the filter 'Parsed_drawtext_0' and the filter 'format'
 [AVFilterGraph @ 006cdb20] query_formats: 4 queried, 2 merged, 1 already
 done, 0 delayed
 [auto-inserted scaler 0 @ 005c12a0] w:320 h:240 fmt:rgb24 sar:1/1 -> w:320
 h:240 fmt:yuv444p sar:1/1 flags:0x2
 [libx264 @ 00603920] using mv_range_thread = 24
 [libx264 @ 00603920] using SAR=1/1
 [libx264 @ 00603920] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
 AVX AVX2 FMA3 LZCNT BMI2
 [libx264 @ 00603920] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-bit
 [libx264 @ 00603920] 264 - core 142 r2409 d6b4e63 - 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=4 threads=12 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 we
 ightb=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 'drawtext-2.mp4':
   Metadata:
     encoder         : Lavf55.37.100
     Stream #0:0, 0, 1/12800: Video: h264 (libx264) ([33][0][0][0] /
 0x0021), yuv444p, 320x240 [SAR 1:1 DAR 4:3], 1/25, q=-1--1, 12800 tbn, 25
 tbc
 Stream mapping:
   Stream #0:0 (rawvideo) -> drawtext
   drawtext -> Stream #0:0 (libx264)
 Press [q] to stop, [?] for help
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:0 t:0.000000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:1 t:0.040000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:2 t:0.080000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:3 t:0.120000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:4 t:0.160000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:5 t:0.200000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:6 t:0.240000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:7 t:0.280000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:8 t:0.320000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:9 t:0.360000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:10 t:0.400000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:11 t:0.440000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:12 t:0.480000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:13 t:0.520000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:14 t:0.560000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:15 t:0.600000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:16 t:0.640000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:17 t:0.680000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:18 t:0.720000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:19 t:0.760000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:20 t:0.800000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:21 t:0.840000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:22 t:0.880000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:23 t:0.920000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:24 t:0.960000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:25 t:1.000000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:26 t:1.040000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:27 t:1.080000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:28 t:1.120000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:29 t:1.160000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:30 t:1.200000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:31 t:1.240000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:32 t:1.280000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:33 t:1.320000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:34 t:1.360000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:35 t:1.400000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:36 t:1.440000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:37 t:1.480000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:38 t:1.520000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:39 t:1.560000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:40 t:1.600000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:41 t:1.640000 text_w:726 text_h:23 x:-203
 y:194
 [Parsed_drawtext_0 @ 005c1020] Copying data in avfilter.
 [Parsed_drawtext_0 @ 005c1020] n:42 t:1.680000 text_w:726 text_h:23 x:-203
 y:194
 [libx264 @ 00603920] frame=   0 QP=18.66 NAL=3 Slice:I Poc:0   I:300  P:0
 SKIP:0    size=7577 bytes
 [libx264 @ 00603920] frame=   1 QP=23.95 NAL=2 Slice:P Poc:8   I:0    P:71
 SKIP:229  size=1148 bytes
 [libx264 @ 00603920] frame=   2 QP=12.00 NAL=2 Slice:B Poc:4   I:0    P:18
 SKIP:282  size=41 bytes
 [libx264 @ 00603920] frame=   3 QP=13.00 NAL=0 Slice:B Poc:2   I:0    P:12
 SKIP:288  size=31 bytes
 [libx264 @ 00603920] frame=   4 QP=13.00 NAL=0 Slice:B Poc:6   I:0    P:2
 SKIP:298  size=18 bytes
 [libx264 @ 00603920] frame=   5 QP=15.08 NAL=2 Slice:P Poc:16  I:0    P:62
 SKIP:238  size=1228 bytes
 [libx264 @ 00603920] frame=   6 QP=12.00 NAL=2 Slice:B Poc:12  I:0    P:7
 SKIP:293  size=30 bytes
 [libx264 @ 00603920] frame=   7 QP=13.00 NAL=0 Slice:B Poc:10  I:0    P:10
 SKIP:290  size=27 bytes
 [libx264 @ 00603920] frame=   8 QP=13.00 NAL=0 Slice:B Poc:14  I:0    P:4
 SKIP:296  size=21 bytes
 [libx264 @ 00603920] frame=   9 QP=14.34 NAL=2 Slice:P Poc:18  I:1    P:49
 SKIP:250  size=413 bytes
 [libx264 @ 00603920] frame=  10 QP=14.35 NAL=2 Slice:P Poc:20  I:0    P:55
 SKIP:245  size=509 bytes
 [libx264 @ 00603920] frame=  11 QP=14.30 NAL=2 Slice:P Poc:28  I:0    P:60
 SKIP:240  size=1626 bytes
 [libx264 @ 00603920] frame=  12 QP=12.00 NAL=2 Slice:B Poc:24  I:0    P:7
 SKIP:293  size=29 bytes
 [libx264 @ 00603920] frame=  13 QP=16.45 NAL=0 Slice:B Poc:22  I:0    P:23
 SKIP:277  size=43 bytes
 [libx264 @ 00603920] frame=  14 QP=13.00 NAL=0 Slice:B Poc:26  I:0    P:4
 SKIP:296  size=22 bytes
 [libx264 @ 00603920] frame=  15 QP=13.83 NAL=2 Slice:P Poc:30  I:0    P:49
 SKIP:251  size=359 bytes
 [libx264 @ 00603920] frame=  16 QP=15.26 NAL=2 Slice:P Poc:38  I:1    P:58
 SKIP:241  size=1320 bytes
 [libx264 @ 00603920] frame=  17 QP=12.00 NAL=2 Slice:B Poc:34  I:0    P:7
 SKIP:293  size=28 bytes
 [libx264 @ 00603920] frame=  18 QP=16.15 NAL=0 Slice:B Poc:32  I:0    P:26
 SKIP:274  size=43 bytes
 [libx264 @ 00603920] frame=  19 QP=13.00 NAL=0 Slice:B Poc:36  I:0    P:4
 SKIP:296  size=21 bytes
 [libx264 @ 00603920] frame=  20 QP=15.21 NAL=2 Slice:P Poc:40  I:2    P:46
 SKIP:252  size=337 bytes
 [libx264 @ 00603920] frame=  21 QP=15.24 NAL=2 Slice:P Poc:42  I:2    P:51
 SKIP:247  size=478 bytes
 [libx264 @ 00603920] frame=  22 QP=15.12 NAL=2 Slice:P Poc:44  I:0    P:53
 SKIP:247  size=531 bytes
 [libx264 @ 00603920] frame=  23 QP=15.21 NAL=2 Slice:P Poc:46  I:0    P:53
 SKIP:247  size=507 bytes
 [libx264 @ 00603920] frame=  24 QP=14.60 NAL=2 Slice:P Poc:48  I:1    P:50
 SKIP:249  size=439 bytes
 [libx264 @ 00603920] frame=  25 QP=17.18 NAL=2 Slice:P Poc:50  I:9    P:55
 SKIP:236  size=640 bytes
 [libx264 @ 00603920] frame=  26 QP=13.71 NAL=2 Slice:P Poc:52  I:1    P:52
 SKIP:247  size=491 bytes
 [libx264 @ 00603920] frame=  27 QP=13.98 NAL=2 Slice:P Poc:60  I:5    P:58
 SKIP:237  size=1092 bytes
 [libx264 @ 00603920] frame=  28 QP=12.00 NAL=2 Slice:B Poc:56  I:0    P:2
 SKIP:298  size=22 bytes
 [libx264 @ 00603920] frame=  29 QP=16.15 NAL=0 Slice:B Poc:54  I:0    P:21
 SKIP:279  size=39 bytes
 [libx264 @ 00603920] frame=  30 QP=13.00 NAL=0 Slice:B Poc:58  I:0    P:1
 SKIP:299  size=16 bytes
 [libx264 @ 00603920] frame=  31 QP=14.88 NAL=2 Slice:P Poc:68  I:1    P:57
 SKIP:242  size=1009 bytes
 [libx264 @ 00603920] frame=  32 QP=12.00 NAL=2 Slice:B Poc:64  I:0    P:4
 SKIP:296  size=25 bytes
 [libx264 @ 00603920] frame=  33 QP=16.64 NAL=0 Slice:B Poc:62  I:0    P:13
 SKIP:287  size=39 bytes
 [libx264 @ 00603920] frame=  34 QP=13.00 NAL=0 Slice:B Poc:66  I:0    P:3
 SKIP:297  size=20 bytes
 [libx264 @ 00603920] frame=  35 QP=15.92 NAL=2 Slice:P Poc:76  I:4    P:56
 SKIP:240  size=971 bytes
 [libx264 @ 00603920] frame=  36 QP=12.00 NAL=2 Slice:B Poc:72  I:0    P:6
 SKIP:294  size=28 bytes
 [libx264 @ 00603920] frame=  37 QP=16.59 NAL=0 Slice:B Poc:70  I:0    P:19
 SKIP:281  size=37 bytes
 [libx264 @ 00603920] frame=  38 QP=13.00 NAL=0 Slice:B Poc:74  I:0    P:0
 SKIP:300  size=14 bytes
 [libx264 @ 00603920] frame=  39 QP=18.59 NAL=2 Slice:P Poc:84  I:2    P:49
 SKIP:249  size=513 bytes
 [libx264 @ 00603920] frame=  40 QP=12.00 NAL=2 Slice:B Poc:80  I:0    P:3
 SKIP:296  size=29 bytes
 [libx264 @ 00603920] frame=  41 QP=13.00 NAL=0 Slice:B Poc:78  I:0    P:5
 SKIP:295  size=22 bytes
 [libx264 @ 00603920] frame=  42 QP=13.00 NAL=0 Slice:B Poc:82  I:0    P:2
 SKIP:298  size=18 bytes
 frame=   43 fps=0.0 q=-1.0 Lsize=      23kB time=00:00:01.64 bitrate=
 116.3kbits/s
 video:22kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 5.749778%
 Input file #0 (testsrc):
   Input stream #0:0 (video): 43 packets read (9907200 bytes); 43 frames
 decoded;
   Total: 43 packets (9907200 bytes) demuxed
 Output file #0 (drawtext-2.mp4):
   Output stream #0:0 (video): 43 frames encoded; 43 packets muxed (22540
 bytes);
   Total: 43 packets (22540 bytes) muxed
 [libx264 @ 00603920] frame I:1     Avg QP:18.66  size:  7577
 [libx264 @ 00603920] frame P:18    Avg QP:15.60  size:   756
 [libx264 @ 00603920] frame B:24    Avg QP:13.37  size:    28
 [libx264 @ 00603920] consecutive B-frames: 25.6%  0.0%  0.0% 74.4%
 [libx264 @ 00603920] mb I  I16..4: 33.3% 32.0% 34.7%
 [libx264 @ 00603920] mb P  I16..4:  0.2%  0.1%  0.2%  P16..4: 14.3%  1.9%
 2.0%  0.0%  0.0%    skip:81.2%
 [libx264 @ 00603920] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  2.8%  0.0%
 0.0%  direct: 0.0%  skip:97.2%  L0:18.9% L1:81.1% BI: 0.0%
 [libx264 @ 00603920] 8x8 transform intra:31.3% inter:52.2%
 [libx264 @ 00603920] coded y,u,v intra: 20.1% 17.8% 16.9% inter: 2.6% 2.9%
 2.5%
 [libx264 @ 00603920] i16 v,h,dc,p: 88%  8%  4%  0%
 [libx264 @ 00603920] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 13% 47%  1%  0%
 0%  0%  0%  0%
 [libx264 @ 00603920] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 20% 18%  3%  3%
 4%  2%  4%  2%
 [libx264 @ 00603920] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 00603920] ref P L0: 69.9% 20.6%  7.7%  1.9%
 [libx264 @ 00603920] ref B L0: 74.4%  7.7% 17.9%
 [libx264 @ 00603920] ref B L1: 98.8%  1.2%
 [libx264 @ 00603920] kb/s:101.63
 43 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 006c9140] Statistics: 34 seeks, 69 writeouts
 Received signal 2: terminating.
 Terminate batch job (Y/N)?
 ----

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3571#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list