[FFmpeg-user] Drawtext text placement problems

Malcom Moody mmoody at exemail.com.au
Wed Jan 16 03:51:19 CET 2013


Hi

I'm using drawtext filters to place two lines of text towards the screens
top right corner.

The top line has to right justify and the line below that has to left
justify at the top lines start point.

I know FFmpeg cannot right justify text, but is there a way to obtain the
pixel length of the string so I can give the position where the line of
text should start?

Currently this is done on a trial and error basis but that's no good to me
moving forward.

Appreciate any help
Malcom





More information about the ffmpeg-user mailing list