[FFmpeg-user] Drawtext - complex expression to show feet+frames
mwjburton at gmail.com
Wed Apr 12 00:52:05 EEST 2017
> On 11 Apr 2017, at 22:39, Mark Burton <mwjburton at gmail.com> wrote:
> One issue I am having is that as the numbers count the vertical position of the text changes ever so slightly, looks like a judder. I’m guessing this is due to the character size variations so the position of the text is recalculated by tiny fractions. Is there a way to allow for this in the x and y position? I’ve tried with max_glyph_h, but I think it would need to know the height of all characters to come as it doesn’t make any difference.
OK, I added "-ascent” to the y coordinate and that fixed the text juddering. Here is the final filter:
More information about the ffmpeg-user