On 04-06-2018 09:24 AM, qw wrote:

But the width of the text box will increase as frame number increases. I want 
to make the width of the text box unchanged. If the largest frame number is 
99999, I want to make the width of the text is of 5 numbers. How to do it?

You have to know the final frame count beforehand. Once you do, use the text expression:

    text='%{eif\:n\:d\:4}'

where 4 is the width of the text with padding.


Regards,
Gyan
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to