【自荐】Ass-shifter 字幕批量偏移工具

因为发布时间是August Second Saturday,所以叫ass-shifter

Ass-shifter

是一个用来批量对ass字幕添加偏移的命令行小工具。

注意,工具会直接替换原文件,操作前请记得备份。

平台

  • Windows
  • Linux
  • MacOS

软件开源,可自行编译至更多平台。

用法

ass-shifter [path] -t [shift ms]

  Positional Variables:
    path   the subtitle path to shift (Required)
  Flags:
       --version   Displays the program version string.
    -h --help      Displays help with available flag, subcommand, and positional value parameters.
    -t --shift     shift ms (default: 0)

用例

ass-shifter.exe ../S05 -t -1002
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E01.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E02.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E03.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E04.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E05.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E06.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E07.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E08.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E09.2020.1080p.BluRay.x265.10bit.ass
[SUCCESS] Shifted -1002ms -> Better.Call.Saul.S05E10.2020.1080p.BluRay.x265.10bit.ass

下载

2 个赞

什么歪屁股的东西呀~

1 个赞

v1.0.0 版本更新,添加了对 .srt 格式的支持