From 782d4589c41a4dc1e2acf542d6d7aec7e68a0617 Mon Sep 17 00:00:00 2001 From: rigaya Date: Sun, 17 Mar 2024 20:56:45 +0900 Subject: [PATCH] =?UTF-8?q?--function-mode=E3=81=AB=E3=81=A4=E3=81=84?= =?UTF-8?q?=E3=81=A6help=E3=81=AB=E8=BF=BD=E8=A8=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QSVEncC_Options.en.md | 19 ++++++++++++++++--- QSVEncC_Options.ja.md | 19 +++++++++++++++++-- QSVPipeline/qsv_cmd.cpp | 4 +++- 3 files changed, 36 insertions(+), 6 deletions(-) diff --git a/QSVEncC_Options.en.md b/QSVEncC_Options.en.md index 0c2c3309..9a755476 100644 --- a/QSVEncC_Options.en.md +++ b/QSVEncC_Options.en.md @@ -74,6 +74,7 @@ - [--d3d11](#--d3d11) - [--va](#--va) - [Other Options for Encoder](#other-options-for-encoder) + - [--function-mode \](#--function-mode-string) - [--fixed-func](#--fixed-func) - [--hyper-mode \](#--hyper-mode-string) - [--max-bitrate \](#--max-bitrate-int) @@ -620,10 +621,22 @@ Use va memory mode. (Linux only) ## Other Options for Encoder +### --function-mode <string> +Select QSV function mode. + +- **パラメータ** + - auto (default) + Select suitable mode automatically. + + - PG + Encode partially using GPU EU. + + - FF + Use only fixed function (fully hw encoding) and not use GPU EU. In this mode, encoding will be done in very low GPU utilization in low power. + Available features might differ from PG. + ### --fixed-func -Use only fixed function (fully hw encoding) and not use GPU EU. -In this mode, encoding will be done in very low GPU utilization in low power, -but the quality will be poor compared to ordinary mode. +Same as ```--function-mode FF```. ### --hyper-mode <string> Enable encode speed boost using Intel Deep Link Hyper Encode. diff --git a/QSVEncC_Options.ja.md b/QSVEncC_Options.ja.md index 665ebf31..3e97b6d3 100644 --- a/QSVEncC_Options.ja.md +++ b/QSVEncC_Options.ja.md @@ -74,6 +74,7 @@ - [--d3d11](#--d3d11) - [--va](#--va) - [その他のオプション](#その他のオプション) + - [--function-mode \](#--function-mode-string) - [--fixed-func](#--fixed-func) - [--hyper-mode \](#--hyper-mode-string) - [--max-bitrate \](#--max-bitrate-int) @@ -636,9 +637,23 @@ vaビデオメモリを使用する。(Linux) ## その他のオプション +### --function-mode <string> +QSVの動作モードを選択。 + +- **パラメータ** + - auto (default) + 適切なものを自動的に選択。 + + - PG + 部分的にGPU EUを使用したエンコードを行う。 + + - FF + エンコードの全工程で固定回路(Fixed Func)を使用し、完全HWエンコを行う。 + GPUに負荷をかけることなく、低電力でエンコード可能。使用可能な機能がPGと異なる場合がある。 + + ### --fixed-func -従来の部分的にGPU EUを使用したエンコードではなく、エンコードの全工程で固定回路(Fixed Func)を使用し、完全HWエンコを行う。 -GPUに負荷をかけることなく、低電力でエンコード可能だが、品質はやや劣る。 +```--function-mode FF```に同じ。 ### --hyper-mode <string> Intel Deep Linkを活用し、Intelの内蔵GPU(iGPU)と外部GPU(dGPU)を使用したエンコードの高速化(Hyper Encode)を使用する。 diff --git a/QSVPipeline/qsv_cmd.cpp b/QSVPipeline/qsv_cmd.cpp index 306a4cfa..f3bd7b76 100644 --- a/QSVPipeline/qsv_cmd.cpp +++ b/QSVPipeline/qsv_cmd.cpp @@ -249,7 +249,9 @@ tstring encoder_help() { _T(" - i420, i422, i444\n") _T("\n")); str += strsprintf(_T("\n") - _T(" --fixed-func use fixed func instead of GPU EU (default:off)\n") + _T(" --function-mode select QSV function mode.\n") + _T(" - auto, PG, FF\n") + _T(" --fixed-func same as \"--function-mode FF\"\n") _T(" --hyper-mode set Deep Link Hyper Mode\n") _T(" off (=default), on, adaptive.\n") _T("\n"));