Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiyueGuan committed Mar 1, 2024
1 parent 7aaaf9d commit a97ef68
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,7 @@
* 字幕亮度峰值,默认 100 nit

如果输出字幕太亮,可以调低。反之亦然。

* `-o --output-brightness`
* 屏幕亮度峰值,默认 1000 nit

实际只会使用字幕与屏幕亮度比例,可以无视

* `-c --colourspace`
* 输出色域,可选值为 dcip3 与 bt2020,默认bt2020

如果希望颜色更艳丽一些可以调为dcip3

* `-g --gamma`
* 调整输出时使用的oetf,可选值为pq, hlg, 和hybrid。默认pq
* 该值需要吻合视频显示时使用的OETF
* pq: 大多数视频在显示时会使用PQ 作为OETF
* hlg: 少数视频,通常来自于传统电视台,可能会使用HLG
* hybrid: 实验性功能。由于在HDR视频master时昏暗的场景通常比SDR版本更暗,
所以暗色调字幕在观看时更容易出现过亮情况。hybrid模式在低亮度时使用hlg,在高亮度时使用pq
可以一定程度上缓解这一问题。(不过这做法没任何严谨性可言恩≡ω≡...)


* `-f --file`
* 字幕文件,缺失状态下会弹出文件选择窗口。

Expand Down Expand Up @@ -121,29 +102,6 @@ The script supports some simple command line options. All arguments are optional

If the processed subtitle is too bright, decrease this value, and vice versa.

* `-o --output-brightness`
* Peak brightness for the display. Default: 1000 nit

The important part is the ratio between screen and subtitle brightness.
You can probably ignore this.

* `-c --colourspace`
* Output colourspace, value should be one of dcip3 and bt2020. Default: bt2020

Use dcip3 if you prefer slightly more saturated colours.

* `-g --gamma`
* Change the OETF used for output RGB conversion. Options values are pq, hlg,
and hybrid.
* This should match the OETF expected by the display.
* pq: most content should use the PQ curve for OETF.
* hlg: some content, likely from traditional broadcasts, might use HLG
* hybrid: experimental feature. When in HDR mastering, dark scenes tends
to be darker than the same scene in SDR. This would lead make darker subtitle
appear brighter than it should be, even after processing. Hybrid mode attempt
to solve this by using HLG for darker subtitles and PQ for brighter ones.
(and yes, this is technically wrong in many many ways)

* `-f --file`
* Subtitle files. A popup will be used if this is missing.

Expand Down

0 comments on commit a97ef68

Please sign in to comment.