[FFmpeg-trac] #3302(avfilter:reopened): Cannot draw opaque text on transparent frame

FFmpeg trac at avcodec.org
Wed Sep 21 18:03:48 EEST 2016


#3302: Cannot draw opaque text on transparent frame
------------------------------------+------------------------------------
             Reporter:  Krieger     |                    Owner:
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  drawtext    |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 No text visible here with the original command line:
 {{{
 $ ffmpeg -f lavfi -i
 "testsrc[testsrc];color=color=white at 0.0,drawtext=text=TEST:fontsize=50:fontfile=/usr/share/fonts/truetype/DejaVuSans.ttf:fontcolor=red at 1.0[text];[testsrc][text]overlay"
 -vframes 1 out.ts
 ffmpeg version N-81709-g492259c Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --enable-libfreetype
   libavutil      55. 30.100 / 55. 30.100
   libavcodec     57. 57.101 / 57. 57.101
   libavformat    57. 50.100 / 57. 50.100
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 62.100 /  6. 62.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  1.100 /  2.  1.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, lavfi, from
 'testsrc[testsrc];color=color=white at 0.0,drawtext=text=TEST:fontsize=50:fontfile=/usr/share/fonts/truetype/DejaVuSans.ttf:fontcolor=red at 1.0[text];[testsrc][text]overlay':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (Y4[11][8] / 0x80B3459), yuva420p,
 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 [mpegts @ 0x39e7c80] Using AVStream.codec to pass codec parameters to
 muxers is deprecated, use AVStream.codecpar instead.
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf57.50.100
     Stream #0:0: Video: mpeg2video (Main), yuv420p, 320x240 [SAR 1:1 DAR
 4:3], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc57.57.101 mpeg2video
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=4.7 Lsize=       9kB time=00:00:00.00
 bitrate=6699636.4kbits/s speed=0.00697x
 video:8kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 16.504364%
 }}}

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


More information about the FFmpeg-trac mailing list