summaryrefslogtreecommitdiff
path: root/mkvtool
diff options
context:
space:
mode:
authorb5f0d6c3 <[email protected]>2022-04-27 23:52:49 +0800
committerb5f0d6c3 <[email protected]>2022-04-27 23:52:49 +0800
commit44500449bcdf6826647f9816ca50cc38a7c98753 (patch)
tree134b9b8e2c50a713edbca6d34e1ac36abeafbc59 /mkvtool
parent5f8672ac65ef6d4a19fc70a39798a4921690b407 (diff)
update mkvtool:mkvlib bump to v1.5.5
Diffstat (limited to 'mkvtool')
-rw-r--r--mkvtool/go.mod2
-rw-r--r--mkvtool/main.go10
-rw-r--r--mkvtool/spp2pgs.exebin3914240 -> 0 bytes
3 files changed, 6 insertions, 6 deletions
diff --git a/mkvtool/go.mod b/mkvtool/go.mod
index e33399c..8dfdd9d 100644
--- a/mkvtool/go.mod
+++ b/mkvtool/go.mod
@@ -2,7 +2,7 @@ module github.com/KurenaiRyu/MkvAutoSubset/mkvtool
go 1.18
-require github.com/KurenaiRyu/MkvAutoSubset/mkvlib v0.0.0-20220427135727-b02315947a36
+require github.com/KurenaiRyu/MkvAutoSubset/mkvlib v0.0.0-20220427153339-1927ddd43cad
require (
github.com/antchfx/xmlquery v1.3.10 // indirect
diff --git a/mkvtool/main.go b/mkvtool/main.go
index 087afbf..3e24c7d 100644
--- a/mkvtool/main.go
+++ b/mkvtool/main.go
@@ -65,15 +65,15 @@ func main() {
flog := ""
co := ""
asses := new(arrayArg)
- pf := 0
- pr := 0
+ pf := ""
+ pr := ""
flag.StringVar(&s, "s", "", "Source folder.")
flag.StringVar(&f, "f", "", "MKV file. (join single mode)")
flag.BoolVar(&c, "c", false, "Create mode.")
flag.BoolVar(&d, "d", false, "Dump mode.")
flag.BoolVar(&m, "m", false, "Make mode.")
flag.BoolVar(&q, "q", false, "Query mode.")
- flag.BoolVar(&a2p, "a2p", false, "Enable ass2pgs(only work in win64 and need spp2pgs)")
+ flag.BoolVar(&a2p, "a2p", false, "Enable ass2pgs(need ass2bdnxml)")
flag.BoolVar(&apc, "apc", false, "Ass and pgs coexist")
flag.BoolVar(&mks, "mks", false, "Enable mks mode")
flag.BoolVar(&l, "l", false, "Show fonts list.")
@@ -92,8 +92,8 @@ func main() {
flag.StringVar(&data, "data", "data", "Subtitles & Fonts folder (dump & make mode only)")
flag.StringVar(&dist, "dist", "dist", "Results output folder (make mode only)")
flag.StringVar(&flog, "log", "", "Log file path")
- flag.IntVar(&pf, "pf", 23, "PGS frame rate:23,24,25,29,30,50,59,60. (ass2pgs only)")
- flag.IntVar(&pr, "pr", 1080, "PGS resolution:480,576,720,1080,2160. (ass2pgs only)")
+ flag.StringVar(&pf, "pf", "23.976", "PGS frame rate:23.976, 24, 25, 30, 29.97, 50, 59.94, 60 or custom fps like 15/1. (ass2pgs only)")
+ flag.StringVar(&pr, "pr", "1920*1080", "PGS resolution:720p, 1080p, 2k, or with custom resolution like 720*480. (ass2pgs only)")
flag.BoolVar(&v, "v", false, "Show app info.")
flag.Parse()
diff --git a/mkvtool/spp2pgs.exe b/mkvtool/spp2pgs.exe
deleted file mode 100644
index a07e6a8..0000000
--- a/mkvtool/spp2pgs.exe
+++ /dev/null
Binary files differ