diff --git a/NVEncCore/rgy_cmd.cpp b/NVEncCore/rgy_cmd.cpp index d4af6d4e..9fea7bee 100644 --- a/NVEncCore/rgy_cmd.cpp +++ b/NVEncCore/rgy_cmd.cpp @@ -6982,6 +6982,7 @@ tstring gen_cmd(const RGYParamVpp *param, const RGYParamVpp *defaultPrm, bool sa ADD_FLOAT(_T("black_cutoff"), libplacebo_tonemapping.black_cutoff, 3); ADD_LST(_T("gamut_mapping"), libplacebo_tonemapping.gamut_mapping, list_vpp_libplacebo_tone_mapping_gamut_mapping); ADD_LST(_T("tonemapping_function"), libplacebo_tonemapping.tonemapping_function, list_vpp_libplacebo_tone_mapping_function); + ADD_LST(_T("metadata"), libplacebo_tonemapping.metadata, list_vpp_libplacebo_tone_mapping_metadata); ADD_FLOAT(_T("contrast_recovery"), libplacebo_tonemapping.contrast_recovery, 3); ADD_FLOAT(_T("contrast_smoothness"), libplacebo_tonemapping.contrast_smoothness, 3); ADD_BOOL(_T("visualize_lut"), libplacebo_tonemapping.visualize_lut); @@ -8467,12 +8468,12 @@ tstring gen_cmd_help_vpp() { _T(" --vpp-libplacebo-tonemapping [=][,=][...]\n") _T(" Converts colorspace of the video.\n") _T(" params\n") - _T(" src_csp= input colorspace (default: %s)\n") - _T(" dst_csp= output colorspace (default: %s)\n"), + _T(" src_csp= input colorspace (default: %s)\n") + _T(" dst_csp= output colorspace (default: %s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_csp, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_SRC_CSP), get_cx_desc(list_vpp_libplacebo_tone_mapping_csp, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_DST_CSP)) + print_list(list_vpp_libplacebo_tone_mapping_csp) + _T("\n"); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" src_max= input max (nits) (default: %d(HDR)/%d(SDR))\n") _T(" src_min= input min (nits) (default: %.4f(HDR)/%.4f(SDR))\n") _T(" dst_max= output max (nits) (default: %d(HDR)/%d(SDR))\n") @@ -8499,18 +8500,18 @@ tstring gen_cmd_help_vpp() { _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_gamut_mapping, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_GAMUT_MAPPING)); str += print_list(list_vpp_libplacebo_tone_mapping_gamut_mapping); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" tonemapping_function= Tone mapping function\n") _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_function, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_TONEMAPPING_FUNCTION)); str += print_list(list_vpp_libplacebo_tone_mapping_function); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" tone_constants= Tone mapping constants (e.g. \"exposure=0.25\")\n") - _T(" metadata= Metadata source to use\n") + _T(" metadata= Metadata source to use\n") _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_metadata, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_METADATA)); str += print_list(list_vpp_libplacebo_tone_mapping_metadata); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" contrast_recovery= Contrast recovery strength (default:%.1f)\n") _T(" contrast_smoothness= Contrast recovery lowpass kernel size (default:%.1f)\n") _T(" visualize_lut= Visualize tone mapping curve (default:%s)\n") @@ -8526,17 +8527,17 @@ tstring gen_cmd_help_vpp() { _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_lut_type, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_LUT_TYPE)); str += print_list(list_vpp_libplacebo_tone_mapping_lut_type); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" dst_pl_transfer= Output transfer function (must be used with dst_colorprim)\n") _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_transfer, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_DST_PL_TRANSFER)); str += print_list(list_vpp_libplacebo_tone_mapping_transfer); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" dst_pl_colorprim= Output primaries (must be used with dst_transfer)\n") _T(" (default:%s)\n"), get_cx_desc(list_vpp_libplacebo_tone_mapping_colorprim, FILTER_DEFAULT_LIBPLACEBO_TONEMAPPING_DST_PL_COLORPRIM)); str += print_list(list_vpp_libplacebo_tone_mapping_colorprim); - str += strsprintf(_T("") + str += strsprintf(_T("\n") _T(" knee_adaptation= Knee adaptation speed (default:%.2f)\n") _T(" knee_min= Minimum knee point (default:%.2f)\n") _T(" knee_max= Maximum knee point (default:%.2f)\n")