[FFmpeg-cvslog] avcodec/libxvid: make 4 the default for me_quality

James Almer git at videolan.org
Sun Oct 22 00:38:11 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Oct 21 18:34:02 2017 -0300| [e08897619e0e358a37d125bbebd51e3b73d85136] | committer: James Almer

avcodec/libxvid: make 4 the default for me_quality

This will make the default behavior the same as it was with me_method.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e08897619e0e358a37d125bbebd51e3b73d85136
---

 libavcodec/libxvid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index d916f11714..6dd5d8d7a2 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -938,7 +938,7 @@ static const AVOption options[] = {
     { "frame",       NULL,                                                0, AV_OPT_TYPE_CONST, { .i64 = 2 }, INT_MIN, INT_MAX, VE, "ssim" },
     { "ssim_acc",    "SSIM accuracy",                   OFFSET(ssim_acc),    AV_OPT_TYPE_INT,   { .i64 = 2 },       0,       4, VE         },
     { "gmc",         "use GMC",                         OFFSET(gmc),         AV_OPT_TYPE_INT,   { .i64 = 0 },       0,       1, VE         },
-    { "me_quality",  "Motion estimation quality",       OFFSET(me_quality),  AV_OPT_TYPE_INT,   { .i64 = 0 },       0,       6, VE         },
+    { "me_quality",  "Motion estimation quality",       OFFSET(me_quality),  AV_OPT_TYPE_INT,   { .i64 = 4 },       0,       6, VE         },
     { "mpeg_quant",  "Use MPEG quantizers instead of H.263", OFFSET(mpeg_quant), AV_OPT_TYPE_INT, { .i64 = 0 },     0,       1, VE         },
     { NULL },
 };



More information about the ffmpeg-cvslog mailing list