如何通过 VLC 使用字幕
VLC
![](/data/attachment/album/202401/29/181554ruyylfyiusdq9yla.jpg)



> 
> 使用 VLC 媒体播放器播放和管理字幕的新手指南。
> 
> 
> 


我是一个超级动漫迷，如果你想观看最新的剧集，那么你只能观看日语音频，因此字幕对于非日语观众来说是必不可少的。


值得庆幸的是，我最喜欢的视频播放器 VLC 很好地支持字幕。难怪它是有史以来 [最好的视频播放器](https://itsfoss.com/video-players-linux/) 之一。


VLC 实际上可以做的不仅仅是播放提供的字幕。


在本指南中，我将引导你完成以下内容：


* 如何使用可用的字幕（如果有的话）
* 如何使用下载的字幕
* 如何自动下载字幕（使用 vlsub 扩展）
* 如何将字幕与视频同步
* VLC 支持哪些字幕格式


那么让我们从第一个开始。


### 如何在 VLC 中启用字幕


有些视频附带字幕文件。如果字幕与视频文件位于同一文件夹中，你可以轻松启用字幕。


虽然启用字幕的方法有多种，但我将向你展示两种有效的方法。


#### 按 V 键（最简单的方法）


如果当前播放的视频有一个或多个字幕，那么你可以按 `V` 键，它将在可用选项之间更改字幕。


正如你所看到的，当我按下 `V` 时，它会在多个字幕之间漫游，甚至可以选择完全禁用字幕。


#### 使用顶部菜单栏或右键单击上下文菜单


虽然按 `V` 键是启用字幕的最简单方法，但如果你有多个字幕文件（可能有多种语言）并且必须选择其中之一，那么按 `V` 键的效果就不是最好了。


假设你要查找的字幕位于最后一个位置，那么你必须按 `V` 键几次，如果你错过了，请再次重复该过程。


因此，在这种情况下，从顶部菜单中选择字幕轨道是一种简单方便的方法。


要使用此方法，你必须遵循两个简单的步骤：


* 单击顶部菜单栏中的 “<ruby> 字幕 <rt>  Subtitle </rt></ruby>” 菜单
* 选择 “<ruby> 子轨道 <rt>  Sub Track </rt></ruby>”，然后选择所需的字幕轨道


![](/data/attachment/album/202401/29/182017abzabesa67811af9.jpg)


你还可以通过右键单击正在播放的视频，并选择字幕选项来完成此操作。


### 如何在 VLC 中使用下载的字幕


如果你从网上下载了字幕，但不知道如何在 VLC 中使用它们，那么本节将解决该问题。


要使用下载的字幕，你必须将其导入 VLC。并且可以通过遵循给定的简单步骤轻松完成：


* 首先，单击顶部菜单栏中的 “字幕”
* 选择第一个 “<ruby> 添加字幕文件 <rt>  Add Subtitle File </rt></ruby>” 选项，它将打开文件管理器
* 从这里找到字幕文件所在的位置并选择它


![](/data/attachment/album/202401/29/181623c7sk2nrs7cqx1k7r.png)


完成后，可以通过顶部菜单栏中的`字幕`菜单访问添加的字幕：


![](/data/attachment/album/202401/29/181623ypp2wz2m9mpeemu8.png)



> 
> ? 如果你要保存视频以供将来使用，我建议将字幕文件复制到与视频文件本身相同的文件夹中。更好的方法是将文件重命名为与视频文件相同的名称。因此，如果视频文件是 `my-xyz.mp4`，则字幕文件应该是 `my-xyz.srt`。这样，字幕要么自动播放，要么在你按 `v` 键时被识别。
> 
> 
> 


### 如何在 VLC 中自动下载字幕（适用于 Linux 用户）


你是否知道 VLC 有一个名为 VLsub 的插件，可用于从网络下载字幕并直接在 VLC 中访问它们？


如果你是 Linux 用户，请按照给定的说明将其添加到 VLC 中。


首先，[使用 wget 命令](https://learnubuntu.com/install-wget/?ref=itsfoss.com) 下载 zip 文件：



```
wget https://github.com/exebetche/vlsub/archive/master.zip

```

接下来，如下所示 [使用 unzip 命令解压文件](https://learnubuntu.com/unzip-file/?ref=itsfoss.com)：



```
unzip master.zip

```

之后，你需要 [创建一个新目录](https://linuxhandbook.com/mkdir-command/?ref=itsfoss.com)：



```
mkdir -p ~/.local/share/vlc/lua/extensions

```

最后，使用 [mv 命令](https://linuxhandbook.com/mv-command/?ref=itsfoss.com) 将文件移动到创建的目录，如下所示：



```
mv ~/vlsub-master/vlsub.lua ~/.local/share/vlc/lua/extensions

```

现在，打开VLC播放器，在 “<ruby> 视图 <rt>  View </rt></ruby>” 菜单下，你将找到 “VLsub”：


![](/data/attachment/album/202401/29/181624nycy4zb6c6feapju.png)


要使用 VLsub 下载字幕，首先，输入电影名称和年份以获得更好的结果，然后点击“<ruby> 按名称搜索 <rt>  Search by name </rt></ruby>”按钮，从结果中选择字幕文件，然后单击“<ruby> 下载选择 <rt>  Download selection </rt></ruby>”按钮，如图所示 :


![](/data/attachment/album/202401/29/181624z67w1fwe155el56z.png)


就是这样！


要了解有关如何使用 VLsub 扩展的更多信息，请参阅我们有关该主题的 [详细指南](https://itsfoss.com/download-subtitles-automatically-vlc-media-player-ubuntu/)。


### 如何在 VLC 中将字幕与电影同步


有时，下载的字幕可能会比电影中发生的事情稍微落后或提前，这可能会令人沮丧！


不用担心！ VLC也有解决这个问题的方法！


在 VLC 中，你可以通过按 `G` 和 `H` 键前进或后退字幕。


* `G` 键将使字幕快进 50 毫秒
* `H` 键将使字幕后退 50 毫秒


虽然 50 毫秒听起来太短，但你会在 2-3 次按键内注意到显着差异。


**如果你在实际场景中跑得太超前或落后，也可以按住它们。**


还感到困惑吗？ 你可以参考我们的 [如何在 VLC 中同步字幕的详细指南](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/)。


### VLC 支持哪些字幕格式？


如果你想从互联网上下载字幕，那么你必须了解 VLC 支持的字幕格式。


以下是 VLC 支持的字幕格式列表：


* \*.idx（VOBSub）
* \*.cvd（Chaoji VCD）
* \*.usf（通用字幕）
* \*.ttxt（MPEG-4 定时文本）
* \*.srt（SubRip）
* \*.ssa（Sub Station Alpha）
* \*.smi（SAMI）
* \*.aqt（AQTitle）
* \*.txt（ML2/VPlayer）
* \*.rt（RealText/Smil）
* \*.psb（PowerDivX）
* \*.pjs（Phoenix Subtitle）
* \*.dks（DKS）
* \*.mpl（ML2）
* \*.jss（JACOSub）
* \*.svcd（Super Video CD）
* \*.txt（ML2/VPlayer）


但最流行的微妙类型是 `*.srt`，并且通常在你下载视频文件时默认提供。


### VLC 的功能远不止播放视频


你知道可以使用 VLC 下载 YouTube 视频吗？ 嗯，它可以做的远不止这些。


为此，我们制作了关于 [你可以使用 VLC 播放器做的很酷的事情](https://itsfoss.com/simple-vlc-tips/) 的详细指南。


以下是如何充分利用 VLC 的方法：



> 
> **[让 VLC 播放器在 Linux 中发挥更大作用的 5 个技巧](https://itsfoss.com/vlc-pro-tricks-linux/)**
> 
> 
> 


我希望本指南对你有所帮助。


*（题图：DA/39a917f2-a1b3-4167-8393-1af0859105b0）*




---


via: <https://itsfoss.com/vlc-use-subtitles/>


作者：[Sagar Sharma](https://itsfoss.com/author/sagar/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [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)

I'm a huge fan of anime and if you want to watch the latest episodes, then you have to watch in Japanese audio only making subtitles essential for non-japanese audiences.

Thankfully, my favorite video player VLC supports subtitles pretty well. No wonder it is one of the [best video players](https://itsfoss.com/video-players-linux/) of all time.

VLC can actually do a lot more than just playing the provided subtitles.

In this guide, I will walk you through the following:

- How to use available subtitles (if there are any)
- How to use downloaded subtitles
- How to download subtitles automatically (using the vlsub extension)
- How to synchronize subtitles with video
- What are the supported subtitle formats with VLC

So let's start with the first one.

## How to enable subtitles in VLC

Some videos come with companion subtitle files. If the subtitles are in the same folder as the video file, you can enable subtitles easily.

While there are several ways to enable subtitles, I will show you two effective ways to do so.

### By pressing `V`

(easiest way)

If you have one or more subtitles for the currently playing video, then you can press the `V`

button and it will change the subtitles between the available options:

And as you can see when I pressed the `V`

, it roamed through multiple subtitles and even had the option to disable the subtitles completely.

### Using top menubar or right click context menu

While pressing the `V`

key is the easiest way to enable subtitles but it won't work best if you have multiple subtitle files (perhaps in multiple languages) and you have to select one of them.

Suppose that the subtitle which you're looking for is in the last position then you have to press the `V`

key several times and if you missed it, repeat the process again.

So in that case, choosing a subtitle track from the top menu is an easy and convenient way.

To use this method, you have to follow two simple steps:

- Click on
`Subtitle`

menu, located in the top menu bar - Choose
`Sub Track`

and then, select the preferred subtitle track

![](https://itsfoss.com/content/images/2023/08/Enable-subtitles-from-menu-bar-in-VLC.png)

You can also do it by pressing the right-click on the playing video and choosing the subtitles option.

## How to use downloaded subtitles in VLC

If you have downloaded subtitles from the web and have no idea how you can use them in VLC, then this section will solve the problem.

To use the downloaded subtitle, you'll have to import it to VLC. And can easily be done by following the given simple steps:

- First, click on the
`Subtitle`

from the top menubar - Choose the first
`Add Subtitle File`

option and it will open the file manager - From here, navigate to where the subtitle file is located and select it

![](https://itsfoss.com/content/images/2023/08/Use-subtitles-downloaded-from-web-in-VLC.png)

Once done, added subtitles can be accessed through the `Subtitle`

menu located in the top menubar:

![Add subtitles in VLC](https://itsfoss.com/content/images/2023/08/Add-subtitles-in-VLC.png)

## How to download subtitles automatically in VLC (for Linux users)

Did you know that VLC has a plugin called VLsub that can be used to download subtitles from the web and accessed them directly in VLC?

And if you're a Linux user, then follow the given instructions to add it in VLC.

First, download the zip file [using the wget command](https://learnubuntu.com/install-wget/):

`wget https://github.com/exebetche/vlsub/archive/master.zip`


Next, [unzip the file using the unzip command](https://learnubuntu.com/unzip-file/) as shown:

`unzip master.zip`


After that, you'd need to [create a new directory](https://linuxhandbook.com/mkdir-command/):

`mkdir -p ~/.local/share/vlc/lua/extensions`


And finally, move files to the created directory using [the mv command](https://linuxhandbook.com/mv-command/) as shown:

`mv ~/vlsub-master/vlsub.lua ~/.local/share/vlc/lua/extensions`


Now, open the VLC player, and under the `View`

menu, you'll find `VLsub`

:

![use VLsub extension in VLC to download subtitles easily](https://itsfoss.com/content/images/2023/08/use-VLsub-extension-in-VLC-to-download-subtitles-easily.png)

To download subtitles using VLsub, first, enter the name of the movie with the year to have better results, and hit `Search by name`

button, select the subtitle file from the results, and click on the `Download selection`

button as shown:

![How to download subtitles in VLC using VLsub extension](https://itsfoss.com/content/images/2023/08/How-to-download-subtitles-in-VLC-using-VLsub-extension.png)

That's it!

To learn more about [how to use the VLsub extension](https://itsfoss.com/download-subtitles-automatically-vlc-media-player-ubuntu/), refer to our detailed guide on that topic:

[Download Subtitles Automatically With VLC Media PlayerVLC is a versatile media player. One of the lesser known features is the automatic subtitle download. Here’s how to use it.](https://itsfoss.com/download-subtitles-automatically-vlc-media-player-ubuntu/)![](https://itsfoss.com/content/images/2023/05/download-subtitles-automatically-in-vlc.png)


![](https://itsfoss.com/content/images/2023/05/download-subtitles-automatically-in-vlc.png)

## How to synchronize subtitles with the movie in VLC

Sometimes the downloaded subtitles may be a little behind or forward to what's going on in the movie which can be frustrating!

Worry not! VLC has a solution for this problem too!

In VLC, you can forward or backward subtitles by pressing `G`

and `H`

keys.

- The
`G`

key will forward the subtitle by 50 milliseconds - The
`H`

key will backward the subtitle by 50 milliseconds

While 50 milliseconds sounds too less, you will notice a significant difference within 2-3 keystrokes.

**You can also press and hold them if you're running too ahead or behind the actual scenes.**

Still confused? You may refer to our [detailed guide on how to synchronize subtitles in VLC](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/):

[How To Synchronize Subtitles With Movie [Quick Tip]Some people, especially the non-native English speakers prefer to watch a movie or TV program with subtitles. Even the native English speakers need use subtitles if it is in a language other than English. Normally, you download movies from one source and the subtitles from another source. And t…](https://itsfoss.com/how-to-synchronize-subtitles-with-movie-quick-tip/)![](https://itsfoss.com/content/images/wordpress/2012/09/synchronize-subtitles-with-movie-linux.jpg)


![](https://itsfoss.com/content/images/wordpress/2012/09/synchronize-subtitles-with-movie-linux.jpg)

## What are the supported subtitle formats in VLC?

If you wish to download subtitles from the internet, then, you must know the supported subtitle formats by VLC.

Here is the list of the supported subtitle formats by VLC:

- *.idx (VOBSub)
- *.cvd (Chaoji VCD)
- *.usf (Universal Subtitle)
- *.ttxt (MPEG-4 Timed Text)
- *.srt (SubRip)
- *.ssa (Sub Station Alpha)
- *.smi (SAMI)
- *.aqt (AQTitle)
- *.txt (ML2/VPlayer)
- *.rt (RealText/Smil)
- *.psb (PowerDivX)
- *.pjs (Phoenix Subtitle)
- *.dks (DKS)
- *.mpl (ML2)
- *.jss (JACOSub)
- *.svcd (Super Video CD)
- *.txt (ML2/VPlayer)

But the most popular subtle type is `*.srt`

and often shipped by default when you download video files.

[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)

## VLC can do a lot more than playing videos

Did you know that you can download YouTube videos using VLC? Well, it can do a lot more than just that.

And for that purpose, we made a detailed guide on [cool things you can do with VLC](https://itsfoss.com/simple-vlc-tips/) player:

[Make VLC More Awesome With These Simple TipsVLC is one of the best open source video players, if not the best. What most people don’t know about it is that it is a lot more than just a video player. You can do a lot of complex tasks like broadcasting live videos, capturing devices etc. Just](https://itsfoss.com/simple-vlc-tips/)![](https://itsfoss.com/content/images/wordpress/2019/12/VLC_TIPS.png)


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

And here's how you can get more out of VLC:

[5 Tricks To Get More Out Of VLC Player In LinuxBrief: This article shows you some expert VLC tips that will help you use this great video player for greater causes. VLC tips to get more out of it Do you know VLC, the ubiquitous media player, flagship of the VideoLAN project? VLC is a cross-platform tool and you can](https://itsfoss.com/vlc-pro-tricks-linux/)![](https://itsfoss.com/content/images/wordpress/2017/05/vlc-tips-tricks-linux.jpg)


![](https://itsfoss.com/content/images/wordpress/2017/05/vlc-tips-tricks-linux.jpg)

I hope you will find this guide helpful.