diff options
author | Georg Martius <martius@mis.mpg.de> | 2013-10-08 23:57:17 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-01-16 12:23:48 +0100 |
commit | 2727dbb05345204883f43f6474a5867f5a63300f (patch) | |
tree | 759698906f1942194bb07f84fae78e66f1bf3aed /libavfilter/vf_vidstabdetect.c | |
parent | 9cc8fa63ddba91f02ddb2b74e97eb911a14cc539 (diff) | |
download | ffmpeg-streaming-2727dbb05345204883f43f6474a5867f5a63300f.zip ffmpeg-streaming-2727dbb05345204883f43f6474a5867f5a63300f.tar.gz |
lavfi/vidstabdetect,vidstabtransform: update to vid.stab 0.98
In particular:
* set default value for accuracy to 15 (max)
* add zoomspeed for dynamic zoom (optzoom=2)
* make camera path optimization algorithm configurable
* update optzoom documenation in code to use new localmotions calculation function commandline arguments
* add debug option in vidstabtransform
Signed-off-by: Georg Martius <martius@mis.mpg.de>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavfilter/vf_vidstabdetect.c')
-rw-r--r-- | libavfilter/vf_vidstabdetect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_vidstabdetect.c b/libavfilter/vf_vidstabdetect.c index b2977ff..008c993 100644 --- a/libavfilter/vf_vidstabdetect.c +++ b/libavfilter/vf_vidstabdetect.c @@ -49,7 +49,7 @@ static const AVOption vidstabdetect_options[] = { {"result", "path to the file used to write the transforms", OFFSET(result), AV_OPT_TYPE_STRING, {.str = DEFAULT_RESULT_NAME}, .flags = FLAGS}, {"shakiness", "how shaky is the video and how quick is the camera?" " 1: little (fast) 10: very strong/quick (slow)", OFFSETC(shakiness), AV_OPT_TYPE_INT, {.i64 = 5}, 1, 10, FLAGS}, - {"accuracy", "(>=shakiness) 1: low 15: high (slow)", OFFSETC(accuracy), AV_OPT_TYPE_INT, {.i64 = 9}, 1, 15, FLAGS}, + {"accuracy", "(>=shakiness) 1: low 15: high (slow)", OFFSETC(accuracy), AV_OPT_TYPE_INT, {.i64 = 15}, 1, 15, FLAGS}, {"stepsize", "region around minimum is scanned with 1 pixel resolution", OFFSETC(stepSize), AV_OPT_TYPE_INT, {.i64 = 6}, 1, 32, FLAGS}, {"mincontrast", "below this contrast a field is discarded (0-1)", OFFSETC(contrastThreshold), AV_OPT_TYPE_DOUBLE, {.dbl = 0.25}, 0.0, 1.0, FLAGS}, {"show", "0: draw nothing; 1,2: show fields and transforms", OFFSETC(show), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 2, FLAGS}, @@ -135,6 +135,7 @@ static int config_input(AVFilterLink *inlink) av_log(ctx, AV_LOG_INFO, " accuracy = %d\n", sd->conf.accuracy); av_log(ctx, AV_LOG_INFO, " stepsize = %d\n", sd->conf.stepSize); av_log(ctx, AV_LOG_INFO, " mincontrast = %f\n", sd->conf.contrastThreshold); + av_log(ctx, AV_LOG_INFO, " tripod = %d\n", sd->conf.virtualTripod); av_log(ctx, AV_LOG_INFO, " show = %d\n", sd->conf.show); av_log(ctx, AV_LOG_INFO, " result = %s\n", sd->result); |