diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-17 01:02:41 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-17 01:02:41 +0000 |
commit | 46674e633cedab14c34ef34197a5b1b9cf2f993d (patch) | |
tree | f6bef07a37deadd6d6ce57ebfe5aafd6f407a993 /mencoder.c | |
parent | 1b601664e511a77ee558442cf25907106ed3d38e (diff) | |
download | mpv-46674e633cedab14c34ef34197a5b1b9cf2f993d.tar.bz2 mpv-46674e633cedab14c34ef34197a5b1b9cf2f993d.tar.xz |
-lavcopts vme= option to set motion estimation method - patch by Rich Felker <dalias@aerifal.cx>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4208 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c index c989af5f4e..508143cf01 100644 --- a/mencoder.c +++ b/mencoder.c @@ -67,6 +67,7 @@ extern int avcodec_inited; char *lavc_param_vcodec = NULL; int lavc_param_vbitrate = -1; int lavc_param_vhq = 0; /* default is realtime encoding */ +int lavc_param_vme = 3; int lavc_param_keyint = -1; #endif @@ -905,6 +906,11 @@ case VCODEC_LIBAVCODEC: else lavc_venc_context.flags = 0; + /* motion estimation (0 = none ... 3 = high quality but slow) */ + /* this is just an extern from libavcodec but it should be in the + encoder context - FIXME */ + motion_estimation_method = lavc_param_vme; + #if 0 /* fixed qscale :p */ lavc_venc_context.flags |= CODEC_FLAG_QSCALE; |