[Libav-user] how to get text_h and text_w from vf_drawtext
qw
applemax82 at 163.com
Thu Apr 28 06:02:46 CEST 2016
Hi,
http://ffmpeg.org/doxygen/2.8/vf__drawtext_8c.html#a65f3f8df0fa6740ed48a631c89cde373
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
In the end of the above function, text_w and text_h are shown, which are stored in DrawTextContext:var_values[VAR_TEXT_W] and DrawTextContext:var_values[VAR_TEXT_H].
How to get the two value via ffmpeg lib, i.e. DrawTextContext:var_values[VAR_TEXT_W] and DrawTextContext:var_values[VAR_TEXT_H]?
B.R.
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160428/7dc3ea7f/attachment.html>
More information about the Libav-user
mailing list