[FFmpeg-user] How to use drawtext to overlay dynamic text

Zack Thevenot zack924 at yahoo.com
Wed Jun 11 19:57:50 CEST 2014



I am trying to find a way to use filters to draw dynamic text in the same location on my video.  I understand how to draw static text for a certain duration, so my plan was to chain multiple of these filters together to make a dynamic text overlay, but I didn't find a way to do two or more drawtext filters. What is the best way to do something like this?  Any help is greatly appreciated.

This is the command I have so far to make static text

ffmpeg -i input.h264 -vf "drawtext=enable='between(t,0,60)':fontfile=/Windows/Fonts/Tahoma.ttf:fontcolor='White': text='100'" -acodec copy output.h264


More information about the ffmpeg-user mailing list