diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 22:00:38 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 22:15:48 +0300 |
commit | 61b4ab18609a68b4c7ba884b88464da9391c54a7 (patch) | |
tree | 94a594ed612b5b854ba500e1d7737f7f3d66c4eb /doc/filters.texi | |
parent | 94340e4b28cc73ca7f9895892a2768df68d027a0 (diff) |
avfilter: Add cover_rect filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 68ad41314e..a79979360a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -5193,6 +5193,40 @@ ffmpeg -i file.ts -vf find_rect=newref.pgm,cover_rect=cover.jpg:mode=cover new.m @end example @end itemize +@section cover_rect + +Cover a rectangular object + +It accepts the following options: + +@table @option +@item cover +Filepath of the optional cover image, needs to be in yuv420. + +@item mode +Set covering mode. + +It accepts the following values: +@table @samp +@item cover +cover it by the supplied image +@item blur +cover it by interpolating the surrounding pixels +@end table + +Default value is @var{blur}. +@end table + +@subsection Examples + +@itemize +@item +Generate a representative palette of a given video using @command{ffmpeg}: +@example +ffmpeg -i file.ts -vf find_rect=newref.pgm,cover_rect=cover.jpg:mode=cover new.mkv +@end example +@end itemize + @anchor{format} @section format |