[FFmpeg-user] drawtext with dynamic fontcolor

Michael Koch astroelectronic at t-online.de
Thu Sep 24 19:24:27 CEST 2015


Am 24.09.2015 um 19:16 schrieb chandra sheker:
> Hi Michael,
>
> you can use this command.
>
> ffmpeg -i temp.mp4
> -filter_complex "[0:v]drawtext=fontfile=arial.ttf: text='TEST':
> fontcolor=#000000 at 0.40: fontsize=200"
> -codec:v mpeg4 out.mp4
> ​The transparency 40% (fontcolor=#000000 at 0.40)​
>
> ​Chandu​

Hi Chandu,

that's not what I want. I want a dynamic expression for the 
transparency. The constant will later be replaced by a more complicated 
expression (for example a function of time, for slowly fading the text 
in and out).

Michael


More information about the ffmpeg-user mailing list