[Libav-user] how to get text_h and text_w in drawtext filter

qw applemax82 at 163.com
Wed Apr 27 07:29:40 CEST 2016


Hi,
 
'drawtext filter' is used to put some utf-8 format text over video stream. I want to get two values, i.e. text_h and text_w, which will be used in c/c++ functions.
 
As I know, drawtext filter is indeed libfreetype.
 
How to get those two values? Does libfreetype have some interface function to fetch the two value for some input text?
 
Thanks!
 
Andrew
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160427/10bac6c5/attachment.html>


More information about the Libav-user mailing list