summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorb5f0d6c3 <[email protected]>2021-10-20 19:59:19 +0800
committerb5f0d6c3 <[email protected]>2021-10-20 19:59:19 +0800
commit47e518716e67bb520d9143b8598dab0972165221 (patch)
tree6b37fe2f426f9ac7142423f85d5693bba198c3e8
parent9d9068cf4a6eb8d8b8f48005a9c6db0dea135c80 (diff)
parent2fc4bf820cfb8fa6cd0a47b85d7d0eabeaf6dca6 (diff)
Merge branch 'master' of github.com:KurenaiRyu/MkvAutoSubset
-rw-r--r--README.md10
-rw-r--r--mkvtool/mkvtool.174
2 files changed, 83 insertions, 1 deletions
diff --git a/README.md b/README.md
index f1f0936..583d1e2 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,14 @@ ASS字幕字体子集化 MKV批量提取/生成
```shell
go install https://github.com/KurenaiRyu/MkvAutoSubset/mkvtool@latest #安装和更新
```
+
+- Arch Linux用户(通过Arch User Repository):
+ - 点击[这里](https://aur.archlinux.org/packages/mkvautosubset/) 查看具体信息或使用AUR Helper
+ ```shell
+ yay -S mkvautosubset #yay
+ paru -S mkvautosubset #paru
+ ```
+
- 手动安装:
[点此下载](https://github.com/KurenaiRyu/MkvAutoSubset/releases/latest)
@@ -175,4 +183,4 @@ ASS字幕字体子集化 MKV批量提取/生成
```
- 字幕语言代码表:
- [点此获取](https://www.science.co.il/language/Codes.php) \ No newline at end of file
+ [点此获取](https://www.science.co.il/language/Codes.php)
diff --git a/mkvtool/mkvtool.1 b/mkvtool/mkvtool.1
new file mode 100644
index 0000000..ef8bc3d
--- /dev/null
+++ b/mkvtool/mkvtool.1
@@ -0,0 +1,74 @@
+.TH MKVTOOL 1
+.SH NAME
+mkvtool \- Automatic fonts subset tool.
+.SH SYNOPSIS
+.B mkvtool
+.RB [ input_options ]
+.RB [ input_url ]
+.RB [ output_options ]
+.RB [ output_url ]
+.SH DESCRIPTION
+mkvtool is an automatic fonts subset tool. It can help you extract certain character(letter) fonts in special effect subtitles(.ass or .ssa format) from videos, and re-package mkv files in order to decrease file size.
+.SH OPTIONS
+.TP
+.B \-a [value]
+ASS files. (multiple & join ass mode)
+.TP
+.B \-af [string]
+ASS fonts folder. (ass mode only)
+.TP
+.B \-ans
+ASS output not to the new "subsetted" folder. (ass mode only)
+.TP
+.B \-ao [string]
+ASS output folder. (ass mode only)
+.TP
+.B \-c
+Create mode.
+.TP
+.B \-clean
+Clean original file subtitles and fonts. (create mode only)
+.TP
+.B \-d
+Dump mode.
+.TP
+.B \-data [string]
+Subtitles & Fonts folder (dump & make mode only) (default "data")
+.TP
+.B \-dist [string]
+Results output folder (make mode only) (default "dist")
+.TP
+.B \-f [string]
+MKV file. (join single mode)
+.TP
+.B \-log [string]
+Log file path
+.TP
+.B \-m
+Make mode.
+.TP
+.B \-n
+Not do ass font subset. (dump mode only)
+.TP
+.B \-q
+Query mode.
+.TP
+.B \-s [string]
+Source folder.
+.TP
+.B \-sl [string]
+Subtitle language. (create & make mode only) (default "chi")
+.TP
+.B \-st [string]
+Subtitle title. (create & make mode only)
+.TP
+.B \-v
+Show app info.
+.SH EXAMPLES
+You can find examples in README.md.
+.SH BUGS
+UNKNOWN
+.SH AUTHOR
+Written by anonym.
+.SH COPYRIGHT
+Under GNU GENERAL PUBLIC LICENSE Version 3. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.