3.4 KiB
License Audit
审计基线:MPV 182fa6ca49f455cadb884858f386e2f00540aeb7,Phase 1 实际构建。本文是工程记录,不构成法律意见。
Conclusion
Velix-MPV-Core 与最终 libmpv 按 MPV 默认 GPL-2.0-or-later 路线管理。独立仓库及私有 Gitea 不改变 upstream 义务,也不使许可证自动隔离。当前不得宣称 LGPL-only。
FFmpeg 实际配置为 CONFIG_GPL=0、CONFIG_VERSION3=0、CONFIG_NONFREE=0。所有第三方库静态进入 libmpv,因此正式发布仍需满足 LGPL 组件的源码、版权、修改说明与可重新链接要求。
| Component | Version / Commit | License | Feature | Link | Modified | Source Location |
|---|---|---|---|---|---|---|
| MPV | 0.41.0-UNKNOWN / 182fa6ca49 |
GPL-2.0-or-later default | libmpv, plain-gl, subtitles, network | Shared output | Yes, OHOS Meson detection | upstream remote / current repository |
| FFmpeg | 3acec0a1 |
LGPL-2.1-or-later configuration | decode, demux, filter, network, HTTPS, OHCodec | Static | No | https://git.ffmpeg.org/ffmpeg.git |
| libplacebo | 7.360.1 / cee9b076 |
LGPL-2.1-or-later | core/shader generation | Static | No | https://code.videolan.org/videolan/libplacebo.git |
| libass | 0.17.5 / 4a05d812 |
ISC | subtitle rendering | Static | No | https://github.com/libass/libass.git |
| FreeType | 2.14.3 / 0a0221a1 |
FreeType License or GPL-2.0 | font rasterization | Static | No | https://github.com/freetype/freetype.git |
| HarfBuzz | 14.4.0 / 36cb489c |
MIT | text shaping | Static | No | https://github.com/harfbuzz/harfbuzz.git |
| FriBidi | 1.0.16 / 68162bab |
LGPL-2.1-or-later | bidirectional text | Static | No | https://github.com/fribidi/fribidi.git |
| OpenSSL | 3.6.4 / d3c1b116 |
Apache-2.0 | FFmpeg TLS/HTTPS | Static | No | https://github.com/openssl/openssl.git |
| zlib | SDK 1.2.13 | Zlib | FFmpeg/FreeType/MPV compression | System dynamic | No | HarmonyOS Native SDK |
| HarmonyOS Native SDK stubs | 6.1.1.125 / API 24 | SDK terms and header notices | libc, zlib, OHCodec, native window | System dynamic | No | DevEco Studio SDK |
Phase 4 additions
Phase 4 新增的 MPV 代码(video/harmony_hwdec.[ch]、video/out/hwdec/hwdec_ohcodec.c、Playback Lab diagnostics)沿用本仓库 MPV GPL-2.0-or-later 路线;没有复制 FFmpeg 源码,也没有修改锁定的 FFmpeg commit。OHCodec capability、NativeWindow 和 NativeBuffer 仅通过 HarmonyOS Native SDK 的公开头文件/系统库使用。harmony-ohcodec-gl 是 disabled-by-default 的实验性 API probe,当前因 upstream output ownership blocker 不构成产品 interop 实现。
Actual Link State
libmpv.so.2.5.0 的 DT_NEEDED 仅包含 libc.so、libz.so、libnative_media_vdec.so、libnative_media_venc.so、libnative_media_codecbase.so、libnative_media_core.so、libnative_window.so。其余依赖为静态链接。未发现 FFmpeg nonfree、Homebrew 或 macOS target library。
Release Gates
- 保存锁定 commit、构建选项、
config.h、link state 与 archive 清单。 - 随发行物提供对应许可证正文、版权声明、源码获取方式和修改说明。
- 为静态 LGPL 组件提供满足许可证要求的重新链接材料。
- 复核 OpenSSL、FFmpeg、MPV GPLv2+ 组合以及 HarmonyOS SDK redistributable 边界。
- 商业发布前完成法务审核;
THIRD_PARTY_NOTICES.md当前仍不是最终 Release notice。