#3302: Cannot draw opaque text on transparent frame
------------------------------------+------------------------------------
Reporter: Krieger | Owner:
Type: defect | Status: open
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: drawtext | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by andrey.utkin):
Thanks for this hardcore workaround, but it is not flawless because when
you overlay the resulting text over light color, you have "dirt" at the
edge of letters because of hinting. See
{{{
ffmpeg -f lavfi -i [email protected],format=yuva444p -vf
"drawtext=fontfile=/usr/share/fonts/corefonts/cour.ttf:x=100:y=100:fontsize=40:text=Hello:[email protected],colorchannelmixer=rr=0:rg=0:rb=0:ra=0:gr=0:gg=0:gb=0:ga=0:br=0:bg=0:bb=0:ba=0:ar=2.0:ag=2.0:ab=2.0:aa=0,drawtext=fontfile=/usr/share/fonts/corefonts/cour.ttf:text=Hello:fontcolor=yellow:fontsize=40:x=100:y=100"
-vframes 1 -f image2 /tmp/out.png
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3302#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac