[FFmpeg-user] Drawtext - complex expression to show feet+frames

Moritz Barsnick barsnick at gmx.net
Wed Apr 12 01:51:15 EEST 2017

On Tue, Apr 11, 2017 at 22:52:05 +0100, Mark Burton wrote:
> OK, I added "-ascent” to the y coordinate and that fixed the text juddering. Here is the final filter:
> drawtext=fontsize=60:fontcolor=white:text='%{eif\:(n+0)/16\:d}+%{eif\:mod((n+0),16)\:d\:02d}':x=200:y=75-ascent

Thanks for pointing out the formatting and the ascent, I didn't know
(was too lazy to work my way through the docs) and it's most certainly
valuable for other users!


More information about the ffmpeg-user mailing list