Files
mpv-config/DEPENDENCIES.md
2026-04-03 11:59:18 +02:00

34 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 外部依赖
## 必需
| 依赖 | 用途 | 安装 |
| --------- | --------------------------------------- | --------------------- |
| mpv | 播放器本体(需 gpu-next + vulkan 支持) | `pacman -S mpv` |
| yt-dlp | URL 解析与流媒体播放 | `pacman -S yt-dlp` |
| ffmpeg | 字幕导出、缩略图生成、字幕同步 | `pacman -S ffmpeg` |
| curl | 字幕搜索下载、更新检查 | `pacman -S curl` |
| trash-cli | 安全删除文件(移至回收站) | `pacman -S trash-cli` |
## 可选
| 依赖 | 用途 | 安装 |
| ---------- | ------------------------------------- | ---------------------------------------------- |
| alass | 字幕自动同步autosubsync 脚本) | `paru -S alass` |
| ffsubsync | 字幕自动同步alass 的替代) | `pip install ffsubsync` |
## 字体
弹幕中可能出现 emoji, 因此需要使用支持的字体, 例如将 Symbola 加到 Noto Sans CJK SC 的末尾:
```xml
<match target="pattern">
<test name="family">
<string>Noto Sans CJK SC</string>
</test>
<edit mode="append" name="family">
<string>Symbola</string>
</edit>
</match>
```