[FFmpeg-devel] [PATCH] avfilter/showcqt: add fontcolor option
Muhammad Faiz
mfcc64 at gmail.com
Tue Aug 19 00:28:01 CEST 2014
On Mon, Aug 18, 2014 at 7:03 AM, Timothy Gu <timothygu99 at gmail.com> wrote:
> 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.
>
The main goal is to compute color from frequency where it is evaluated.
I think AV_OPT_TYPE_COLOR doesn't have this capability.
Thank's
More information about the ffmpeg-devel
mailing list