---
title: "Ass-shifter - .ass 字幕批量偏移工具[开源，跨平台]"
date: 2024-08-27T07:47:31Z
modified: 2024-08-27T07:47:36Z
permalink: "https://www.appinn.com/ass-shifter/"
type: post
status: publish
excerpt: ""
categories:
  - Windows
  - linux
  - macOS
tags:
  - Windows
  - linux
  - macOS
  - ass
  - 字幕
featured_image: "https://www.appinn.com/wp-content/uploads/2024/08/Appinn-feature-images-2024-08-27T153608.123.jpg"
author: 青小蛙
timestamp: 2024-08-27T07:47:36Z
---

**Ass-shifter** 是一款针对 .ass 字幕批量偏移的命令行工具，开源，支持 Windows、Linux、macOS。@[Appinn](https://www.appinn.com/ass-shifter.md)

![Ass-shifter 是一款针对 .ass 字幕批量偏移的命令行工具，开源，支持 Windows、Linux、macOS。@Appinn](https://www.appinn.com/wp-content/uploads/2024/08/Appinn-feature-images-2024-08-27T153608.123.jpg)

来自[**发现频道**](https://meta.appinn.net/c/faxian/10)，开发者 @Nigh 自荐：[https://meta.appinn.net/t/topic/59774](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` 为具体的偏移时间，这里是负数。

## 获取

- [GitHub](https://github.com/Nigh/subtitle-ass-shifter/releases)
- [搬运](https://pan.quark.cn/s/77ab67d3b770)

---

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

## Topics

**分类目录:** [Windows](https://www.appinn.com/category/windows/?output_format=md), [linux](https://www.appinn.com/category/linux/?output_format=md), [macOS](https://www.appinn.com/category/mac/?output_format=md)

**标签:** [ass](https://www.appinn.com/tag/ass/?output_format=md), [字幕](https://www.appinn.com/tag/%e5%ad%97%e5%b9%95/?output_format=md)