> On 11 Apr 2017, at 22:39, Mark Burton <mwjbur...@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:
drawtext=fontsize=60:fontcolor=white:text='%{eif\:(n+0)/16\:d}+%{eif\:mod((n+0),16)\:d\:02d}':x=200:y=75-ascent

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to