Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-10-07 16:03:32 +0300
committerStefano Sabatini <stefasab@gmail.com>2015-10-08 12:27:57 +0300
commit8bc708fcee137ead6d0773fad8e24ab471ab2122 (patch)
tree751b40a9375387637892213a731ad4c2259ee48d /doc
parent5911eeb033c384ba0842f7e2e11d737f1d479dd9 (diff)
avfilter/delogo: Set default band to 1
The original interpolation algorithm behaved poorly on the borders and did not even guarantee continuity at the borders. For this reason, a second interpolation/blending pass was required on the borders to make them seamless. However, since the interpolation algorithm was improved in June 2013, the border issues no longer exist. The new algorithm does guarantee continuity at the borders, making the second pass useless. A larger band always increases the cumulated interpolation error. In most cases it also increases the average interpolation error, even though the samples in the band are only partially interpolated. For this reason I would like to get rid of the "band" parameter. As a first step, let's change its default value from 4 to 1 and document it as deprecated. I have benchmarked this change on a combination of input sources and realistic logo areas. Lowering the band value from 4 to 1 resulted in 8 to 39 % less interpolation error per frame (or 1 to 34 % less interpolation error per luma sample.) Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 47fd44d610..506b5a64e9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -4590,7 +4590,9 @@ 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.
+@var{w} and @var{h}). The default value is 1. This option is
+deprecated, setting higher values should no longer be necessary and
+is not recommended.
@item show
When set to 1, a green rectangle is drawn on the screen to simplify