Index: libmpcodecs/ve_x264.c =================================================================== RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v retrieving revision 1.49 diff -u -r1.49 ve_x264.c --- libmpcodecs/ve_x264.c 21 Mar 2006 21:26:40 -0000 1.49 +++ libmpcodecs/ve_x264.c 22 Apr 2006 08:00:39 -0000 @@ -104,6 +104,7 @@ static int me_range = 16; static int trellis = 1; static int fast_pskip = 1; +static int dct_decimate = 1; static int noise_reduction = 0; static int threads = 1; static int level_idc = 51; @@ -192,6 +193,8 @@ {"trellis", &trellis, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, {"fast_pskip", &fast_pskip, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nofast_pskip", &fast_pskip, CONF_TYPE_FLAG, 0, 0, 0, NULL}, + {"dct_decimate", &dct_decimate, CONF_TYPE_FLAG, 0, 0, 1, NULL}, + {"nodct_decimate", &dct_decimate, CONF_TYPE_FLAG, 0, 0, 0, NULL}, {"nr", &noise_reduction, CONF_TYPE_INT, CONF_RANGE, 0, 100000, NULL}, {"level_idc", &level_idc, CONF_TYPE_INT, CONF_RANGE, 10, 51, NULL}, {"threads", &threads, CONF_TYPE_INT, CONF_RANGE, 1, 4, NULL}, @@ -303,6 +306,7 @@ mod->param.analyse.b_mixed_references = mixed_references; mod->param.analyse.i_trellis = trellis; mod->param.analyse.b_fast_pskip = fast_pskip; + mod->param.analyse.b_dct_decimate = dct_decimate; mod->param.analyse.i_noise_reduction = noise_reduction; mod->param.analyse.b_bframe_rdo = bframe_rdo; Index: DOCS/man/en/mplayer.1 =================================================================== RCS file: /cvsroot/mplayer/main/DOCS/man/en/mplayer.1,v retrieving revision 1.1258 diff -u -r1.1258 mplayer.1 --- DOCS/man/en/mplayer.1 18 Apr 2006 08:02:39 -0000 1.1258 +++ DOCS/man/en/mplayer.1 22 Apr 2006 08:00:45 -0000 @@ -9086,6 +9086,15 @@ artifacts in areas with no details, like sky. . .TP +.B (no)dct_decimate +Eliminate dct blocks on P-frames containing only a small single coefficient +(default: enabled). +This will remove some details, so it will save bits that can be spent +again on other frames, hopefully raising overall subjective quality. +If you are compressing non-anime content with a high target bitrate, you +may want to disable this to preserve as much details as possible. +. +.TP .B nr=<0\-100000> Noise reduction, 0 means disabled. 100\-1000 is a useful range for typical content, but you may want to turn it Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.1162 diff -u -r1.1162 configure --- configure 18 Apr 2006 21:16:46 -0000 1.1162 +++ configure 22 Apr 2006 08:00:47 -0000 @@ -6354,7 +6354,7 @@ cat > $TMPC << EOF #include #include -#if X264_BUILD < 45 +#if X264_BUILD < 46 #error We do not support old versions of x264. Get the latest from SVN. #endif int main(void) { x264_encoder_open((void*)0); return 0; }