I'm trying to draw text in a horizontal line and I want only Text1 for the 
first 5 seconds, and then Text2 starting from 5 seconds to 20 seconds, and 
Text3 starting from 10 seconds till the end.


When I do this, my first text stays for about 15 seconds and the last two show 
up in the last 4 seconds of the video. Is there something wrong with my 
instruction? Am I using the enable between correctly?


ffmpeg -i input.mp4 -vf 
"drawtext=fontfile='C:\arial.ttf':text='Text1':x=5:y=20+24-max_glyph_a:fontsize=24:fontcolor=yellow:box=1:boxcolor=black@0.5:boxborderw=5:enable='between(t,0,20)',
 
drawtext=fontfile='C:\arial.ttf':text='Text2':x=100:y=20+24-max_glyph_a:fontsize=24:fontcolor=yellow:enable='between(t,5,20)',
 
drawtext=fontfile='C:\arial.ttf':text='Text3':x=200:y=20+24-max_glyph_a:fontsize=24:fontcolor=yellow:enable='between(t,10,20)'"
 output.mp4




-- 
 Enviado de forma segura com Tutanota. Crie sua conta de e-mail encriptada, 
livre de anĂșncios: 
 https://tutanota.com
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to