[FFmpeg-user] FadeIn/Out drawtext

Damian Głodny damian at artnmedia.pl
Thu Dec 4 13:53:58 CET 2014


Hi, I have to fade in and fade out my drawtext but I dont have idea how I
can do this. It is too complex for me. Could someone help me with this?

 

I am using newest ffmpeg on Windows. Here is my command line:

 

 

ffmpeg.exe -y -i "%input%" -strict -2 -c:v libx264 -preset slow -crf 16
-profile:v high -level 3.1 -c:a aac -b:a 128k -vf
drawtext="enable='between(n,340,438)': fontfile=arial.ttf: text='MY-TEXT':
x=(main_w/2-text_w/2): y=470: fontsize=120: fontcolor=EE0078: box=1:
boxcolor=black at 1" "%output%"

 

 

I know that I have to do something with fontcolor property.

 

I tried do it like in documentation in examples:
https://www.ffmpeg.org/ffmpeg-filters.html#drawtext-1 (Show text fading in
and out (appearing/disappearing)) but I failed :(.

 

Thank you!

 

 

 

---

Pozdrawiam,

Damian Głodny | artnmedia.pl

 



More information about the ffmpeg-user mailing list