[FFmpeg-devel] [PATCH] doc/filters: document drawtext draw expression

Stefano Sabatini stefasab at gmail.com
Thu May 3 10:49:08 CEST 2012


On date Tuesday 2012-05-01 13:38:56 +0200, Clément Bœsch encoded:
> On Tue, May 01, 2012 at 01:30:36PM +0200, Stefano Sabatini wrote:
> > ---
> >  doc/filters.texi |   16 ++++++++++++++++
> >  1 files changed, 16 insertions(+), 0 deletions(-)
[...]
> > @@ -1491,6 +1501,12 @@ drawtext=fontsize=60:fontfile=FreeSerif.ttf:fontcolor=green:text=g:x=(w-max_glyp
> >  @end example
> >  
> >  @item
> > +Show text for 1 seconds every 3 seconds:
> > + at example
> > +drawtext=fontfile=FreeSerif.ttf:fontcolor=white:x=100:y=x/dar:draw=lt(mod(t\\,3)\\,1):text='blink'"
> > + at end example
> > +
> 
> It looks like you're closing the expression with a never opened double
> quotation. Also, you are double escaping the comas (because of the "..."?)

Added the initial quote (which was wrong in other places as well), and
pushed.

As for the double escaping, it is required by pod/man, but
unfortunately I see that man and html output differ, in the HTML page
the double escaping is maintained (but should not harm anyway).
-- 
FFmpeg = Fundamentalist and Fundamental Mortal Puristic Enigmatic Governor


More information about the ffmpeg-devel mailing list