[FFmpeg-devel] Outline for text in imlib2 vhook?
Tue Aug 5 22:12:01 CEST 2008
Tommi Raita-aho said:
> Has anybody done any patch to imlib2 vhook to implement similar
> outline for text like -o option does with drawtext vhook?
> I know that video hooks are deprecated but right now I only want to do
> some scrolling/fading texts to videos, I do not want re-implement all
> shell-scripts for that.
> I looked at the code from both drawtext.c and imlib2.c but I'm afraid my
> skills with C are so poor I can not do the needed modifications. But -o
> option with very cool imlib2 vhook (I have used with many of my
> shell-scripts) would be great! Very often without outline texts are
> quite hard to read when color of real video can be quite same as text.
I imagine (not tested) that you can manipulate a TTF font with FontForge,
making it a bit thicker, and draw the text twice in the same position,
once with the thicker font in let's say black, and later with the normal
one in white.
More information about the ffmpeg-devel