diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-08-10 18:58:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-17 18:05:41 +0200 |
commit | b157be1f383e55f86324dae11e90a7b59173eec1 (patch) | |
tree | 591d3211b0e35615fcac514b826ff5eb782fe371 /doc/filters.texi | |
parent | ce6b6ef645f6ac17f78e937837fe8f37a1b2beaf (diff) | |
download | ffmpeg-b157be1f383e55f86324dae11e90a7b59173eec1.tar.gz |
lavfi: port libmpcodecs delogo filter
The ported filter supports named option parsing and more YUV formats.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index f3f77183ca..56f00ff4e1 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -381,6 +381,58 @@ indicates never reset and return the largest area encountered during playback. @end table +@section delogo + +Suppress a TV station logo by a simple interpolation of the surrounding +pixels. Just set a rectangle covering the logo and watch it disappear +(and sometimes something even uglier appear - your mileage may vary). + +The filter accepts parameters as a string of the form +"@var{x}:@var{y}:@var{w}:@var{h}:@var{band}", or as a list of +@var{key}=@var{value} pairs, separated by ":". + +The description of the accepted parameters follows. + +@table @option + +@item x, y +Specify the top left corner coordinates of the logo. They must be +specified. + +@item w, h +Specify the width and height of the logo to clear. They must be +specified. + +@item band, t +Specify the thickness of the fuzzy edge of the rectangle (added to +@var{w} and @var{h}). The default value is 4. + +@item show +When set to 1, a green rectangle is drawn on the screen to simplify +finding the right @var{x}, @var{y}, @var{w}, @var{h} parameters, and +@var{band} is set to 4. The default value is 0. + +@end table + +Some examples follow. + +@itemize + +@item +Set a rectangle covering the area with top left corner coordinates 0,0 +and size 100x77, setting a band of size 10: +@example +delogo=0:0:100:77:10 +@end example + +@item +As the previous example, but use named options: +@example +delogo=x=0:y=0:w=100:h=77:band=10 +@end example + +@end itemize + @section drawbox Draw a colored box on the input image. |