[Libav-user] what is the relationship between fontsize and image resolution in drawtext filter

2016-04-26 Thread qw
Hi, I want to use drawtext filter to put some string on video stream. What is the relationship between fontsize and image resolution in drawtext filter? If fontsize is set to 20, what is the height and width of rendered text? Thanks! B.R. Andrew __

Re: [Libav-user] what is the relationship between fontsize and image resolution in drawtext filter

2016-04-26 Thread Nicolas George
L'octidi 8 floréal, an CCXXIV, qw a écrit : > I want to use drawtext filter to put some string on video stream. What is > the relationship between fontsize and image resolution in drawtext filter? The size is the body height of the font in pixels, nothing fancy. > If fontsize is set to 20, what i

Re: [Libav-user] what is the relationship between fontsize and image resolution in drawtext filter

2016-04-26 Thread qw
Hi, libfreetype is used to draw text on video stream. http://ffmpeg.org/ffmpeg-filters.html#drawtext-1 There are 3 important syntaxes in the filter of drawtext. fontsize The font size to be used for drawing text. The default value of fontsize is 16. text_h, th the height of the rendered tex

Re: [Libav-user] what is the relationship between fontsize and image resolution in drawtext filter

2016-04-26 Thread Nicolas George
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

Re: [Libav-user] what is the relationship between fontsize and image resolution in drawtext filter

2016-04-26 Thread qw
text 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 parametertextfile. In the description of drawtext filtergraph, text must be of UTF-8 encoded characters. How to calculate the number of U