diff options
author | John Stebbins <[email protected]> | 2016-05-29 09:43:56 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-05-29 09:46:12 -0600 |
commit | 1db4f9898de375ee7d83fdf56e2af5de3ef53671 (patch) | |
tree | 09508f3552acd9d169f312529d95e0cc2364315e /libhb/common.c | |
parent | aae64bbd7be3907633e833d30edde605a5887de1 (diff) |
vpx: add encoder presets
presets are
veryfast - deadline=good:cpu-used=5
faster - deadline=good:cpu-used=4
fast - deadline=good:cpu-used=3
medium - deadline=good:cpu-used=2
slow - deadline=good:cpu-used=1
slower - deadline=good:cpu-used=0
veryslow - deadline=best:cpu-used=0
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c index c6a272cae..c75e4e564 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -1332,6 +1332,11 @@ const char* const* hb_video_encoder_get_presets(int encoder) } #endif + if (encoder & HB_VCODEC_FFMPEG_MASK) + { + return hb_av_preset_get_names(encoder); + } + switch (encoder) { case HB_VCODEC_X264_8BIT: |