mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vidstabtransform: update optzoom range values for recent vid.stab update.
Signed-off-by: Georg Martius <martius@mis.mpg.de>
This commit is contained in:
parent
df21537dfb
commit
e064d0aaf6
|
@ -7853,8 +7853,15 @@ percentage to zoom (default: 0)
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item optzoom
|
@item optzoom
|
||||||
if 1 then optimal zoom value is determined (default).
|
set optimal zooming to avoid borders
|
||||||
Optimal zoom means no (or only little) border should be visible.
|
@table @samp
|
||||||
|
@item 0
|
||||||
|
disabled
|
||||||
|
@item 1
|
||||||
|
optimal static zoom value is determined (only very strong movements will lead to visible borders) (default)
|
||||||
|
@item 2
|
||||||
|
optimal adaptive zoom value is determined (no borders will be visible)
|
||||||
|
@end table
|
||||||
Note that the value given at zoom is added to the one calculated
|
Note that the value given at zoom is added to the one calculated
|
||||||
here.
|
here.
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ static const AVOption vidstabtransform_options[] = {
|
||||||
{"zoom", "percentage to zoom >0: zoom in, <0 zoom out", OFFSETC(zoom),
|
{"zoom", "percentage to zoom >0: zoom in, <0 zoom out", OFFSETC(zoom),
|
||||||
AV_OPT_TYPE_DOUBLE, {.dbl = 0}, -100, 100, FLAGS},
|
AV_OPT_TYPE_DOUBLE, {.dbl = 0}, -100, 100, FLAGS},
|
||||||
{"optzoom", "0: nothing, 1: determine optimal zoom (added to 'zoom')", OFFSETC(optZoom),
|
{"optzoom", "0: nothing, 1: determine optimal zoom (added to 'zoom')", OFFSETC(optZoom),
|
||||||
AV_OPT_TYPE_INT, {.i64 = 1}, 0, 1, FLAGS},
|
AV_OPT_TYPE_INT, {.i64 = 1}, 0, 2, FLAGS},
|
||||||
{"interpol", "type of interpolation", OFFSETC(interpolType),
|
{"interpol", "type of interpolation", OFFSETC(interpolType),
|
||||||
AV_OPT_TYPE_INT, {.i64 = 2}, 0, 3, FLAGS, "interpol"},
|
AV_OPT_TYPE_INT, {.i64 = 2}, 0, 3, FLAGS, "interpol"},
|
||||||
{ "no", "no interpolation", 0,
|
{ "no", "no interpolation", 0,
|
||||||
|
|
Loading…
Reference in New Issue