使用 SubSync 自动同步视频字幕
视频 字幕
![](/data/attachment/album/202108/27/100003ts3j0odw05j0ooy3.jpg)


让我分享一个场景：当你想要观看一部电影或视频，而又需要字幕时，在你下载字幕后，却发现字幕没有正确同步，也没有其他更好的字幕可用。现在该怎么做？


你可以 [在 VLC 中按 G 或 H 键来同步字幕](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/)。它可以为字幕增加延迟。如果字幕在整个视频中的时间延迟相同，这可能会起作用。但如果不是这种情况，就需要 SubSync 出场了。


### SubSync: 字幕语音同步器


[SubSync](https://subsync.online/) 是一款实用的开源工具，可用于 Linux、macOS 和 Windows。


它通过监听音轨来同步字幕，这就是它的神奇之处。即使音轨和字幕使用的是不同的语言，它也能发挥作用。如果有必要，它也支持翻译，但我没有测试过这个功能。


我播放一个视频不同步的字幕进行了一个简单的测试。令我惊讶的是，它工作得很顺利，我得到了完美的同步字幕。


使用 SubSync 很简单。启动这个应用，它会让你添加字幕文件和视频文件。


![SubSync 用户界面](/data/attachment/album/202108/27/100010fwxflhvlhilrsvhh.png)


你需要在界面上选择字幕和视频的语言。它可能会根据选择的语言下载额外的资源。


![SubSync 可下载附加语言支持包](/data/attachment/album/202108/27/100011tzxi4k59ijk5z9in.png)


请记住，同步字幕需要一些时间，这取决于视频和字幕的长度。在等待过程完成时，你可以喝杯茶/咖啡或啤酒。


你可以看到正在进行同步的状态，甚至可以在完成之前保存它。


![SubSync 同步中](/data/attachment/album/202108/27/100012mbcyyi7cc9e9ikcz.png)


同步完成后，你就可以点击保存按钮，把修改的内容保存到原文件中，或者把它保存为新的字幕文件。


![同步完成](/data/attachment/album/202108/27/100012ofsmr22u1s5zc5p1.png)


我不能保证所有情况下都能正常工作，但在我运行的样本测试中它是正常的。


### 安装 SubSync


SubSync 是一个跨平台的应用，你可以从它的 [下载页面](https://subsync.online/en/download.html) 获得 Windows 和 MacOS 的安装文件。


对于 Linux 用户，SubSync 是作为一个 Snap 包提供的。如果你的发行版已经提供了 Snap 支持，使用下面的命令来安装 SubSync：



```
sudo snap install subsync

```

请记住，下载 SubSync Snap 包将需要一些时间。所以要有一个稳定的网络连接或足够的耐心。


### 最后


就我个人而言，我很依赖字幕。即使我在 Netflix 上看英文电影，我也会把字幕打开。它有助于我清楚地理解每段对话，特别是在有强烈口音的情况下。如果没有字幕，我永远无法理解 [电影 Snatch 中 Mickey O'Neil（由 Brad Pitt 扮演）的一句话](https://www.youtube.com/watch?v=tGDO-9hfaiI)。


使用 SubSync 比 [Subtitle Editor](https://itsfoss.com/subtitld/) 同步字幕要容易得多。对于像我这样在整个互联网上搜索不同国家的冷门或推荐（神秘）电影的人来说，除了 [企鹅字幕播放器](https://itsfoss.com/penguin-subtitle-player/)，这是另一个很棒的工具。


如果你是一个“字幕用户”，你会喜欢这个工具。如果你使用过它，请在评论区分享你的使用经验。




---


via: <https://itsfoss.com/subsync/>


作者：[Abhishek Prakash](https://itsfoss.com/author/abhishek/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[turbokernel](https://github.com/turbokernel)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![Warp Terminal](/assets/images/warp-terminal.webp)


![Warp Terminal](/assets/images/warp-terminal.webp)

Let me share a scenario. You are trying to watch a movie or video and you need subtitles. You download the subtitle only to find that the subtitle is not properly synchronized. There are no other good subtitles available. What to do now?

You can [synchronize subtitles in VLC by pressing G or H keys](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/). It adds a delay to the subtitles. This could work if the subtitle is out of synch by the same time interval throughout the video. But if that’s not the case, SubSync could be of great help here.

## SubSync: Subtitle Speech Synchronizer

**SubSync**** is a nifty open source utility available for Linux, macOS and Windows.**

It synchronizes the subtitles by listening to the audio track, and that’s how it works the magic. It will work even if the audio track and the subtitles are in different languages. If necessary, it could also be translated but I did not test this feature.

I made a simple test by using a subtitle which was not in synch with the video I was playing. To my surprise, it worked pretty smooth and I got perfectly synched subtitles.

Using SubSync is simple. You start the application and it asks to add the subtitle file and the video file.

![subsync interface](https://itsfoss.com/content/images/wordpress/2021/08/subsync-interface.png)

You’ll have to specif the language of the subtitle and the video on the interface. It may download additional assets based on the language in use.

![subsync subtitle synchronize](https://itsfoss.com/content/images/wordpress/2021/08/subsync-subtitle-synchronize.png)

Please keep in mind that it takes some time to synchronize the subtitles, depending on the length of the video and subtitle. You may grab your cup of tea/coffee or beer while you wait for the process to complete.

You can see the synchronization status in progress and even save it before it gets completed.

![subsync subtitle synchronize 1](https://itsfoss.com/content/images/wordpress/2021/08/subsync-subtitle-synchronize-1.png)

Once the synchronization completes, you hit the save button and either save the changes to the original file or save it as a new subtitle file.

![subsync subtitle synchronization completed](https://itsfoss.com/content/images/wordpress/2021/08/subsync-subtitle-synchronize-2.png)

I cannot say that it will work in all the cases but it worked for the sample test I ran.

## Installing SubSync

SubSync is a cross-platform application and you can get the installer files for Windows and macOS from its [download page](https://subsync.online/en/download.html?ref=itsfoss.com).

For Linux users, SubSync is available as a Snap package. If your distribution has Snap support enabled, use the following command to install SubSync:

`sudo snap install subsync`


Please keep in mind that it will take some time to download SubSync snap package. So have a good internet connection or plenty of patience.

## In the end

Personally, I am addicted to subtitles. Even if I am watching movies in English on Netflix, I keep the subtitles on. It helps understand each dialogue clearly, specially if there is a strong accent. Without subtitles, I could never understand a [word from Mickey O’Neil (played by Brad Pitt) in the movie Snatch](https://www.youtube.com/watch?v=tGDO-9hfaiI&ref=itsfoss.com). Dags!!

Using SubSync is a lot easier than [using Subtitle Editor](https://itsfoss.com/subtitld/) for synchronizing subtitles. After [Penguin Subtitle Player](https://itsfoss.com/penguin-subtitle-player/), this is another great tool for someone like me who searches the entire internet for rare or recommended (mystery) movies from different countries.

[App Highlight: Penguin Subtitle Player for Adding Subtitles to Online VideosI must confess. I am addicted to subtitles. It helps me understand the dialogues completely, specially if some dialogues are in a different accent or in a different language. This has led to a habit of watching online videos with subtitles. While streaming services like Netflix and Amazon…](https://itsfoss.com/penguin-subtitle-player/)![](https://itsfoss.com/content/images/wordpress/2019/11/Add_subtitle_online_videos.png)


![](https://itsfoss.com/content/images/wordpress/2019/11/Add_subtitle_online_videos.png)

If you are a ‘subtitle user’, I have a feeling you would like this tool. If you do use it, please share your experience with it in the comment section.