diff options
author | John Stebbins <[email protected]> | 2016-05-27 13:51:41 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-05-27 13:53:16 -0600 |
commit | 51828385f150b3fdc075f0f0489e8cba7b42aecb (patch) | |
tree | 469f29fafe7cbd20e0c9d1d02fce2da1caa8b108 /libhb/encavcodec.c | |
parent | 3cf696625766bfd2016c9df625e14cbf6342de47 (diff) |
vpx: use faster settings
cpu-used=0 is very slow, and the various recommendations are to use
cpu-used=2
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r-- | libhb/encavcodec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 677f8a22e..1e3729d98 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -211,11 +211,8 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job ) char quality[7]; snprintf(quality, 7, "%.2f", job->vquality); av_dict_set( &av_opts, "crf", quality, 0 ); - //Setting the deadline to good and cpu-used to 0 - //causes the encoder to balance video quality and - //encode time, with a bias to video quality. av_dict_set( &av_opts, "deadline", "good", 0); - av_dict_set( &av_opts, "cpu-used", "0", 0); + av_dict_set( &av_opts, "cpu-used", "2", 0); //This value was chosen to make the bitrate high enough //for libvpx to "turn off" the maximum bitrate feature //that is normally applied to constant quality. |