Ass-shifter – .ass 字幕批量偏移工具[开源,跨平台]
2024-8-27 15:47:31 Author: www.appinn.com(查看原文) 阅读量:6 收藏

Ass-shifter 是一款针对 .ass 字幕批量偏移的命令行工具,开源,支持 Windows、Linux、macOS。@Appinn

Ass-shifter 是一款针对 .ass 字幕批量偏移的命令行工具,开源,支持 Windows、Linux、macOS。@Appinn

来自发现频道,开发者 @Nigh 自荐:https://meta.appinn.net/t/topic/59774

Ass-shifter 字幕批量偏移工具

这是一个用来批量对 ass 字幕添加偏移的命令行小工具,注意,工具会直接替换原文件,操作前请记得备份。开源,可自行编译至更多平台。

用法

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

简单易用,ass-shifter.exe ../S05 -t -1002 表示:处理上级目录下的 S05 目录文件,-t 代表需要偏移,后跟 -1002 为具体的偏移时间,这里是负数。

获取


原文:https://www.appinn.com/ass-shifter/


文章来源: https://www.appinn.com/ass-shifter/
如有侵权请联系:admin#unsafe.sh