<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div> </div><div><dt><samp>text</samp></dt><dd><p>The text string to be drawn. The text must be a sequence of UTF-8 encoded characters. This parameter is mandatory if no file is specified with the parameter<var>textfile</var>.</p></dd></div><div> </div><div>In the description of drawtext filtergraph, text must be of UTF-8 encoded characters.<br><br>How to calculate the number of UTF-8 encoded characters? Does ffmpeg have some functions to support it?<br><br></div><div style="position: relative; zoom: 1;"></div><div id="divNeteaseMailCard"></div><div><br></div><pre><br>At 2016-04-26 19:56:51, "Nicolas George" <george@nsup.org> wrote:
>L'octidi 8 flor¨¦al, an CCXXIV, qw a ¨¦crit :
>> libfreetype is used to draw text on video stream.
>
>Yes, I know.
>
>> http://ffmpeg.org/ffmpeg-filters.html#drawtext-1
>> There are 3 important syntaxes in the filter of drawtext.
>
>"syntaxes"? These are variables that you can use to compute the coordinates of
>the text.
>
>> However, text_h and text_w can only be used in filtergraph description. I
>> want to know the height and width of the rendered text that corresponds to
>> some fondsize, such as fondsize=20. It means, how to calculate the pixel
>> number of rendered text in width and height?
>
>I have already answered that question.
>
>> At 2016-04-26 17:20:13, "Nicolas George" <george@nsup.org> wrote:
>
>Do not top-post on this list; if you do not know what it means, look it up.
>
>Regards,
>
>--
> Nicolas George
</pre></div><br><br><span title="neteasefooter"><p> </p></span>