[FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option

Timothy Gu timothygu99 at gmail.com
Mon Aug 18 02:03:05 CEST 2014

On Sun, Aug 17, 2014 at 4:54 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> This fontcolor option uses arithmetic expression, not color value,
> so color names aren't available.
> Thank's

You should use AV_OPT_TYPE_COLOR instead of AV_OPT_TYPE_STRING to make
the color names usable. Look at how vf_drawtext is doing it.



More information about the ffmpeg-devel mailing list