diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-07-12 17:50:22 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-07-14 16:27:17 +0000 |
commit | 80c644593223ac74bba915c698926ffcc8a90d68 (patch) | |
tree | 111ce34b968ef715669a842422c872d992848289 /doc/filters.texi | |
parent | ab5f5816253a2ec4e82308b3c91d47c011de2c84 (diff) | |
download | ffmpeg-80c644593223ac74bba915c698926ffcc8a90d68.tar.gz |
lavfi: port perspective filter from libmpcodecs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 6f3994a204..7d4eeea26e 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -5722,6 +5722,44 @@ pad="2*iw:2*ih:ow-iw:oh-ih" @end example @end itemize +@section perspective + +Correct perspective of video not recorded perpendicular to the screen. + +A description of the accepted parameters follows. + +@table @option +@item x0 +@item y0 +@item x1 +@item y1 +@item x2 +@item y2 +@item x3 +@item y3 +Set coordinates expression for top left, top right, bottom left and bottom right corners. +Default values are @code{0:0:W:0:0:H:W:H} with which perspective will remain unchanged. + +The expressions can use the following variables: + +@table @option +@item W +@item H +the width and height of video frame. +@end table + +@item interpolation +Set interpolation for perspective correction. + +It accepts the following values: +@table @samp +@item linear +@item cubic +@end table + +Default value is @samp{linear}. +@end table + @section pixdesctest Pixel format descriptor test filter, mainly useful for internal |