[FFmpeg-devel] [PATCH] doc/filters: add basic crop examples

Stefano Sabatini stefasab at gmail.com
Sat Dec 15 20:47:03 CET 2012


On date Saturday 2012-12-15 19:54:06 +0100, Clément Bœsch encoded:
> On Sat, Dec 15, 2012 at 05:09:16PM +0100, Stefano Sabatini wrote:
> > Use it to show difference between shorthand and named parameters.
> > ---
> >  doc/filters.texi |   11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/doc/filters.texi b/doc/filters.texi
> > index 3f926c2..12677a5 100644
> > --- a/doc/filters.texi
> > +++ b/doc/filters.texi
> > @@ -1613,6 +1613,17 @@ for @var{y} may depend on @var{x}.
> >  @subsection Examples
> >  @itemize
> >  @item
> > +Crop area with size 100x100 at position 12:34.
> 
> (12,34) maybe?

Works for me. 

> > + at example
> > +crop=100:100:12:34
> > + at end example
> > +
> > +Using named options, the example above becomes:
> > + at example
> > +crop=w=100:h=100:x=12:y=34
> > + at end example
> > +
> > + at item
> >  Crop the central input area with size 100x100:
> >  @example
> >  crop=100:100
> 
> Otherwise LGTM

Will push it soon, thanks.
-- 
FFmpeg = Free and Fantastic Mere Philosofic Easy Ghost


More information about the ffmpeg-devel mailing list