diff --git a/NVEnc/NVEnc_readme.txt b/NVEnc/NVEnc_readme.txt index 65e78cc2..a88ed584 100644 --- a/NVEnc/NVEnc_readme.txt +++ b/NVEnc/NVEnc_readme.txt @@ -209,11 +209,16 @@ NVIDIA グラフィックドライバ 528.02 NVIDIA グラフィックドライバ 531.68 NVIDIA グラフィックドライバ 536.23 NVIDIA グラフィックドライバ 545.92 +NVIDIA グラフィックドライバ 551.23 【お断り】 今後の更新で設定ファイルの互換性がなくなるかもしれません。 【メモ】 +2024.05.04 (7.52) +- VapourSynthのportable版に対応。(--vsdir) [Windowsのみ] + R66のスクリプトにより導入された環境を想定。 + 2024.05.01 (7.51) - 新たなノイズ除去フィルタを追加。(--vpp-nlmeans) - 音声エンコード時に一致するチャンネル数のフォーマットで出力できない場合に、最も近いチャンネル数のフォーマットで出力するように。 diff --git a/NVEncC_Options.en.md b/NVEncC_Options.en.md index 741f72d1..db493e26 100644 --- a/NVEncC_Options.en.md +++ b/NVEncC_Options.en.md @@ -234,7 +234,7 @@ - [--max-procfps \](#--max-procfps-int) - [--lowlatency](#--lowlatency) - [--avsdll \](#--avsdll-string) - - [--vpydir \](#--vpydir-string) + - [--vsdir \](#--vsdir-string) - [--process-codepage \ \[Windows OS only\]](#--process-codepage-string-windows-os-only) - [--perf-monitor \[\\[,\\]...\]](#--perf-monitor-stringstring) - [--perf-monitor-interval \](#--perf-monitor-interval-int) @@ -2849,7 +2849,7 @@ Tune for lower transcoding latency, but will hurt transcoding throughput. Not re ### --avsdll <string> Specifies AviSynth DLL location to use. When unspecified, the default AviSynth.dll will be used. -### --vpydir <string> +### --vsdir <string> Specifies vapoursynth portable directory to use. Supported on Windows only. ### --process-codepage <string> [Windows OS only] diff --git a/NVEncC_Options.ja.md b/NVEncC_Options.ja.md index 7e65c221..48477462 100644 --- a/NVEncC_Options.ja.md +++ b/NVEncC_Options.ja.md @@ -230,7 +230,7 @@ - [--max-procfps \](#--max-procfps-int) - [--lowlatency](#--lowlatency) - [--avsdll \](#--avsdll-string) - - [--vpydir \ \[Windows専用\]](#--vpydir-string-windows専用) + - [--vsdir \ \[Windows専用\]](#--vsdir-string-windows専用) - [--process-codepage \](#--process-codepage-string) - [--perf-monitor \[\\[,\\]...\]](#--perf-monitor-stringstring) - [--perf-monitor-interval \](#--perf-monitor-interval-int) @@ -2908,7 +2908,7 @@ NVEncCのプロセスやスレッドのスレッドアフィニティを設定 ### --avsdll <string> 使用するAvsiynth.dllを指定するオプション。特に指定しない場合、システムのAvisynth.dllが使用される。 -### --vpydir <string> [Windows専用] +### --vsdir <string> [Windows専用] VapoursynthのPortable版を使用する際に、インストールしたフォルダを指定する。特に指定しない場合、システムにインストールされたVapoursynthが使用される。 ### --process-codepage <string> diff --git a/NVEncCore/rgy_cmd.cpp b/NVEncCore/rgy_cmd.cpp index ab7e6094..2df249d9 100644 --- a/NVEncCore/rgy_cmd.cpp +++ b/NVEncCore/rgy_cmd.cpp @@ -5789,9 +5789,9 @@ int parse_one_ctrl_option(const TCHAR *option_name, const TCHAR *strInput[], int return 0; } #if defined(_WIN32) || defined(_WIN64) - if (IS_OPTION("vpydir")) { + if (IS_OPTION("vsdir")) { i++; - ctrl->vpydir = strInput[i]; + ctrl->vsdir = strInput[i]; return 0; } #endif @@ -7078,7 +7078,7 @@ tstring gen_cmd(const RGYParamControl *param, const RGYParamControl *defaultPrm, OPT_BOOL(_T("--skip-hwenc-check"), _T(""), skipHWEncodeCheck); OPT_BOOL(_T("--skip-hwdec-check"), _T(""), skipHWDecodeCheck); OPT_STR_PATH(_T("--avsdll"), avsdll); - OPT_STR_PATH(_T("--vpydir"), vpydir); + OPT_STR_PATH(_T("--vsdir"), vsdir); if (param->perfMonitorSelect != defaultPrm->perfMonitorSelect) { auto select = (int)param->perfMonitorSelect; std::basic_stringstream tmp; @@ -8029,7 +8029,7 @@ tstring gen_cmd_help_ctrl() { _T(" --avsdll specifies AviSynth DLL location to use.\n")); #if defined(_WIN32) || defined(_WIN64) str += strsprintf(_T("\n") - _T(" --vpydir specifies VapourSynth portable directory to use.\n")); + _T(" --vsdir specifies VapourSynth portable directory to use.\n")); str += strsprintf(_T("\n") _T(" --process-codepage utf8 ... use UTF-8 (default)\n") _T(" os ... use the codepage set in Operating System.\n")); diff --git a/NVEncCore/rgy_input.cpp b/NVEncCore/rgy_input.cpp index d3244d0f..6313be7e 100644 --- a/NVEncCore/rgy_input.cpp +++ b/NVEncCore/rgy_input.cpp @@ -579,7 +579,7 @@ RGY_ERR initReaders( #if ENABLE_VAPOURSYNTH_READER case RGY_INPUT_FMT_VPY: case RGY_INPUT_FMT_VPY_MT: - inputPrmVpy.vpydir = ctrl->vpydir; + inputPrmVpy.vsdir = ctrl->vsdir; pInputPrm = &inputPrmVpy; log->write(RGY_LOG_DEBUG, RGY_LOGT_IN, _T("vpy reader selected.\n")); pFileReader.reset(new RGYInputVpy()); diff --git a/NVEncCore/rgy_input_vpy.cpp b/NVEncCore/rgy_input_vpy.cpp index 2b8f0ac0..5482ee35 100644 --- a/NVEncCore/rgy_input_vpy.cpp +++ b/NVEncCore/rgy_input_vpy.cpp @@ -36,7 +36,7 @@ RGYInputVpyPrm::RGYInputVpyPrm(RGYInputPrm base) : RGYInputPrm(base), - vpydir() { + vsdir() { } @@ -186,7 +186,7 @@ RGY_ERR RGYInputVpy::Init(const TCHAR *strFileName, VideoInfo *pInputInfo, const m_inputVideoInfo = *pInputInfo; auto vpyPrm = reinterpret_cast(prm); - if (load_vapoursynth(vpyPrm->vpydir)) { + if (load_vapoursynth(vpyPrm->vsdir)) { return RGY_ERR_NULL_PTR; } diff --git a/NVEncCore/rgy_input_vpy.h b/NVEncCore/rgy_input_vpy.h index ebdc8ae0..b849bf02 100644 --- a/NVEncCore/rgy_input_vpy.h +++ b/NVEncCore/rgy_input_vpy.h @@ -73,7 +73,7 @@ typedef struct { class RGYInputVpyPrm : public RGYInputPrm { public: - tstring vpydir; + tstring vsdir; RGYInputVpyPrm(RGYInputPrm base); virtual ~RGYInputVpyPrm() {}; @@ -92,7 +92,7 @@ class RGYInputVpy : public RGYInput { virtual RGY_ERR LoadNextFrameInternal(RGYFrame *pSurface) override; void release_vapoursynth(); - int load_vapoursynth(const tstring& vpydir); + int load_vapoursynth(const tstring& vsdir); int initAsyncEvents(); void closeAsyncEvents(); const VSFrameRef* getFrameFromAsyncBuffer(int n) { diff --git a/NVEncCore/rgy_prm.cpp b/NVEncCore/rgy_prm.cpp index 770c836a..6514cdd4 100644 --- a/NVEncCore/rgy_prm.cpp +++ b/NVEncCore/rgy_prm.cpp @@ -1797,7 +1797,7 @@ RGYParamControl::RGYParamControl() : skipHWEncodeCheck(false), skipHWDecodeCheck(false), avsdll(), - vpydir(), + vsdir(), enableOpenCL(true), avoidIdleClock(), outputBufSizeMB(RGY_OUTPUT_BUF_MB_DEFAULT) { diff --git a/NVEncCore/rgy_prm.h b/NVEncCore/rgy_prm.h index 669cd21c..84aa9c62 100644 --- a/NVEncCore/rgy_prm.h +++ b/NVEncCore/rgy_prm.h @@ -1808,7 +1808,7 @@ struct RGYParamControl { bool skipHWEncodeCheck; bool skipHWDecodeCheck; tstring avsdll; - tstring vpydir; + tstring vsdir; bool enableOpenCL; RGYParamAvoidIdleClock avoidIdleClock; diff --git a/NVEncCore/rgy_version.h b/NVEncCore/rgy_version.h index d5d34154..a80babf9 100644 --- a/NVEncCore/rgy_version.h +++ b/NVEncCore/rgy_version.h @@ -29,9 +29,9 @@ #ifndef __RGY_CONFIG_H__ #define __RGY_CONFIG_H__ -#define VER_FILEVERSION 0,7,51,0 -#define VER_STR_FILEVERSION "7.51" -#define VER_STR_FILEVERSION_TCHAR _T("7.51") +#define VER_FILEVERSION 0,7,52,0 +#define VER_STR_FILEVERSION "7.52" +#define VER_STR_FILEVERSION_TCHAR _T("7.52") #ifdef _M_IX86 #define BUILD_ARCH_STR _T("x86")