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

Zack Thevenot zack924 at yahoo.com
Thu Jun 12 16:13:07 CEST 2014

> If you only have a small amount of changes you could also use sendcmd.
> http://ffmpeg.org/ffmpeg-filters.html#sendcmd_002c-asendcmd
> see examples. Here's another one:
> -vf "sendcmd=f=send.cmd,drawtext=fontsize=20:fontcolor=white:x=100:y=100:text='Hello World'"
> send.cmd file:
> 5.0  drawtext reinit 'text=foo';
> 10.0 drawtext reinit 'text=bar';
> 20.0 drawtext reinit 'text=';

Thanks, I'll keep this in mind.  But my text will usually change a lot, so I will try to get the subtitles working for now

More information about the ffmpeg-user mailing list