Skip to content

deskangel/dasubtitle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DASUBTITLE

简介

一个电影字幕工具,提供以下功能:

- 平移时间轴 (ASS, SRT文件格式已经支持)
- 平移区间时间轴(ASS, SRT文件格式已经支持)
- 合并字幕 (未实现)

使用

usage: dasubtitle -t [+/-]milliseconds input_file -o output_file

-t, --time            in milliseconds. positive to delay and negative to rush
-b, --begin           in milliseconds. start position in timeline
-e, --end             in milliseconds. end position in timeline
-o, --output          if no outpath specified, the default one `newsubtitle.ass` will be used.
-v, --[no-]version    show the version

如果字幕的文件编码不是utf-8,需要使用iconv转换成utf-8,比如:

iconv -t utf-16le -f utf8 s.ass > t.ass

s.asst.ass 分别是你的源文件和转换后的文件

编译

dart compile exe bin/dasubtitle.dart 或是使用编译脚本: ./release_build.sh

其他

如果你觉得这个 应用 有点用处,可以考虑捐助一下让我保持动力。

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published