diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 21:00:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-02 21:15:48 +0200 |
commit | 61b4ab18609a68b4c7ba884b88464da9391c54a7 (patch) | |
tree | 94a594ed612b5b854ba500e1d7737f7f3d66c4eb /doc | |
parent | 94340e4b28cc73ca7f9895892a2768df68d027a0 (diff) | |
download | ffmpeg-61b4ab18609a68b4c7ba884b88464da9391c54a7.tar.gz |
avfilter: Add cover_rect filter
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-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 |