[FFmpeg-devel] [PATCH v2] doc/filters: add geq gradient examples

Michael Niedermayer michaelni at gmx.at
Tue Sep 16 23:57:29 CEST 2014


On Tue, Sep 16, 2014 at 11:25:19AM -0800, Lou Logan wrote:
> On Tue, 16 Sep 2014 07:34:14 +0200, Clément Bœsch wrote:
> 
> > On Mon, Sep 15, 2014 at 06:56:29PM -0800, Lou Logan wrote:
> > > + at item
> > > +Create a radial gradient that is the same size as the input:
> > > + at example
> > > +geq=lum=255*gauss((X/W-0.5)*3)*gauss((Y/H-0.5)*3)/gauss(0)/gauss(0),format=gray
> > > + at end example
> > > +
> > 
> > You may mention @ref{vignette} filter here so people don't end up using it
> > verbatim.
> 
> Mentioned.
> 
> > > + at item
> > > +Create a linear gradient to use as a mask for another filter, then
> > > +compose with @ref{overlay}:
> > > + at example
> > > +geq=lum=255*(Y/H),format=gray[grad];[0:v]boxblur=4[blur];[blur][grad]alphamerge[alpha];[0:v][alpha]overlay
> > 
> > This filtergraph is complex and very input dependant; please provide a
> > complete command line as an example
> 
> Added. I actually prefer complete examples.
> 
> 
> New version inserted below:
> 
> From 3ec5557f7ffd4e2ce6ddc5c06d1e5d5d07013536 Mon Sep 17 00:00:00 2001
> From: Lou Logan <lou at lrcd.com>
> Date: Mon, 15 Sep 2014 18:07:09 -0800
> Subject: [PATCH] doc/filters: add geq gradient examples
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> Radial gradient by Víctor Paesa.
> Linear gradient by Paul Gentemann.
> 
> Also-by: Víctor Paesa <victorpaesa at googlemail.com>
> Also-by: Paul Gentemann <beriukay at gmail.com>
> Signed-off-by: Lou Logan <lou at lrcd.com>

LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140916/8229849b/attachment.asc>


More information about the ffmpeg-devel mailing list