---
title: "运行时库"
description: "Options 中十二项运行时库的加载状态、版本、路径和平台查找规则。"
---

> Documentation Index
> Fetch the complete documentation index at: https://treble.harekaze.win/llms.txt
> Use this file to discover all available pages before exploring further.

# 运行时库

## 状态列表

Options → Runtime libraries 列出 12 项：mpg123、Opusfile、Ogg、Vorbis、libFLAC、WavPack、TAK、APE、SoX NG、MediaInfo、FAAD2、FFmpeg。

- 已加载：显示库报告的版本（若可查询）、能力说明和实际加载路径。
- 未探测或未加载：显示 “Not loaded” 或失败原因。
- 这些行是只读状态，不是开关；缺失的运行时库只让对应格式不可用。
- 查找顺序：可执行文件旁优先；Linux 再回退到系统 soname。SoX NG 仅查找可执行文件旁。

运行时库缺失不会阻止应用启动。各格式需要哪些库见[格式支持矩阵](https://treble.harekaze.win/reference/formats/)，平台差异见[平台输出与运行时](https://treble.harekaze.win/guides/platforms/)。

## Windows 下载入口

DLL 不随 Git 仓库提交。下载脚本从根目录 `vendor-sources.json` 读取固定版本、地址、SHA-256 和许可证信息，校验后解包到 `vendor/`：

```sh
mise run mediainfo:dll
mise run sox:dll
mise run opus:dll
```

其他可用入口包括 `flac:dll`、`mpg123:dll`、`wavpack:dll`、`vorbis:dll` 和 `faad:dll`。这些任务需要网络，不会随默认构建自动执行。SoX NG 使用固定的 library-only DLL 包，无需本地编译；头文件和许可证仍保留在仓库中。

Source: https://treble.harekaze.win/reference/runtime-libraries/index.mdx
