[FFmpeg-user] Float formatting in drawtext

Moritz Barsnick barsnick at gmx.net
Fri Jan 27 18:49:07 EET 2017

On Fri, Jan 27, 2017 at 11:05:04 +0100, Wolfgang Hugemann wrote:
> So possibly there is another way to acchieve this? Could I for example 
> store a string in a user-defined frame-wise variable and display its 
> value by drawtext as is done when deciphering the VITC:

I didn't take much of a look at your original issue, but: You could
create a subtitle file, even with formatting/styling. The subtitle
formats are trivial enough to create them manually or in a scripted
manner. Then you would burn the subtitle (from the separate file) onto
the video, as described here:

You would want look at SRT format first, but go for something like ASS
if you want fancier formatting.

You suggestion of metadata might also work, by inserting custom
metadata with the metadata demuxer:


More information about the ffmpeg-user mailing list