Commit 07178d3c authored by Fiona Glaser's avatar Fiona Glaser
Browse files

Add "veryslow" preset

Apparently some people are actually *using* placebo, so I've added this preset to bridge the gap.
parent 835ccc3c
...@@ -168,8 +168,8 @@ static void Help( x264_param_t *defaults, int b_longhelp ) ...@@ -168,8 +168,8 @@ static void Help( x264_param_t *defaults, int b_longhelp )
H0( " - baseline,main,high\n" ); H0( " - baseline,main,high\n" );
H0( " --preset Use a preset to select encoding settings [medium]\n" ); H0( " --preset Use a preset to select encoding settings [medium]\n" );
H0( " Overridden by user settings\n"); H0( " Overridden by user settings\n");
H0( " - ultrafast,veryfast,faster,fast\n" H0( " - ultrafast,veryfast,faster,fast,medium\n"
" - medium,slow,slower,placebo\n" ); " - slow,slower,veryslow,placebo\n" );
H0( " --tune Tune the settings for a particular type of source\n" ); H0( " --tune Tune the settings for a particular type of source\n" );
H0( " Overridden by user settings\n"); H0( " Overridden by user settings\n");
H1( " - film,animation,grain,psnr,ssim\n" H1( " - film,animation,grain,psnr,ssim\n"
...@@ -600,6 +600,19 @@ static int Parse( int argc, char **argv, ...@@ -600,6 +600,19 @@ static int Parse( int argc, char **argv,
param->analyse.i_trellis = 2; param->analyse.i_trellis = 2;
param->rc.i_lookahead = 60; param->rc.i_lookahead = 60;
} }
else if( !strcasecmp( optarg, "veryslow" ) )
{
param->analyse.i_me_method = X264_ME_UMH;
param->analyse.i_subpel_refine = 10;
param->analyse.i_me_range = 24;
param->i_frame_reference = 16;
param->i_bframe_adaptive = X264_B_ADAPT_TRELLIS;
param->analyse.i_direct_mv_pred = X264_DIRECT_PRED_AUTO;
param->analyse.inter |= X264_ANALYSE_PSUB8x8;
param->analyse.i_trellis = 2;
param->i_bframe = 8;
param->rc.i_lookahead = 60;
}
else if( !strcasecmp( optarg, "placebo" ) ) else if( !strcasecmp( optarg, "placebo" ) )
{ {
param->analyse.i_me_method = X264_ME_TESA; param->analyse.i_me_method = X264_ME_TESA;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment