Skip to content

Commit

Permalink
--fpsは--raw以外では非推奨であることを明記。 ( #640 )
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Nov 8, 2024
1 parent 774f7a3 commit 86e7fe3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion NVEncC_Options.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ Number of pixels to cropped from left, top, right, bottom.
Number of frames to input. (Note: input base, not output base)

### --fps <int>/<int> or <float>
Set the input frame rate. Only valid for raw format, otherwise it will be ignored or only treated as a hint.
Set the input frame rate when --raw is used. Not recommended to be used with readers other than --raw.

Only valid for raw format (when --raw is used), otherwise it will be ignored or only treated as a hint.

### --input-res <int>x<int>
Set input resolution. Only valid for raw format, otherwise it will be ignored.
Expand Down
4 changes: 3 additions & 1 deletion NVEncC_Options.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ avformat + cuvid decoderを使用して読み込む。
読み込むフレーム数。 (注: 入力ベースである点に注意、出力ベースではない)

### --fps <int>/<int> or <float>
入力フレームレートの設定。raw形式の場合のみ有効で、その他の場合は無視されるか、fps推定のヒントとしてのみ扱われる。
--rawを使用した時の入力フレームレートの設定。--raw以外での使用は非推奨。

raw形式の場合のみ有効で、その他の場合は無視されるか、fps推定のヒントとしてのみ扱われる。

### --input-res <int>x<int>
入力解像度の設定。raw形式の場合の場合のみ有効。
Expand Down
3 changes: 2 additions & 1 deletion NVEncCore/rgy_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8422,7 +8422,8 @@ tstring gen_cmd_help_input() {
_T(" ignore_sar=<bool> ignore sar when using negative value.\n")
_T("\n")
_T(" --frames <int> frames to encode (based on input frames)\n")
_T(" --fps <int>/<int> or <float> set framerate\n")
_T(" --fps <int>/<int> or <float> set framerate when --raw is used.\n")
_T(" not recommended for other readers.\n");
_T(" --interlace <string> set input as interlaced\n")
_T(" tff, bff\n");
str += print_list_options(_T("--input-csp <string> set input colorspace for raw reader"),
Expand Down

0 comments on commit 86e7fe3

Please sign in to comment.