开源

基于开源构建,并如实署名。

Ninja 建立在 FFmpeg 以及一长串由愿意分享成果的人编写的库之上。本页与应用中“设置”→“开源许可”下的声明相同,无需安装任何东西就能阅读。

最后更新:

FFmpeg 与书面源代码要约

Ninja 以动态加载的共享库形式使用未经修改的 FFmpeg n8.1.2,依据 GNU Lesser General Public License v3.0(GNU 宽通用公共许可证)。因为它是独立的共享库,你可以自由地把应用中的它替换为你自己构建的、接口兼容的版本。

书面要约,自你获得本应用之日起三年内有效:应要求,我们会向任何持有本要约的人提供本版本中受 LGPL 约束的库——FFmpeg n8.1.2 及链接到其中的库——对应源代码的完整机器可读副本,连同用于配置和构建它们的脚本,以及 GNU GPL v3 和 LGPL v3 的副本,收取的费用不超过我们进行分发的成本。

请写信到 support@ninjacompress.app,并注明“设置”页面上显示的应用版本。同样的源代码也是公开的:ffmpeg.org/download(FFmpeg,标签 n8.1.2),以及位于 github.com/arthenica/ffmpeg-kit 和 github.com/sk3llo/ffmpeg_kit_flutter 的 ffmpeg-kit 构建脚本。

许可

组件许可证完整文本
FFmpeg n8.1.2
Copyright (c) the FFmpeg developers. Licensed under the GNU LGPL v3.0 (built with --enable-version3, and without --enable-gpl or --enable-nonfree) — so no libx264, libx265 or xvid is present anywhere in the app. H.264 and HEVC encoding goes through the operating system's hardware encoders. Dynamically linked and replaceable; source offer below.
GNU LGPL v3.0LGPL-3.0.txt
GNU GPL v3
The GNU General Public License, version 3 — the document LGPL v3 is written as a set of additional permissions to.
Referenced by the LGPL v3GPL-3.0.txt
FFmpeg components
Parts of FFmpeg, and several of the libraries linked into it, are licensed under the GNU LGPL v2.1 or later. The written offer covers them too.
GNU LGPL v2.1LGPL-2.1.txt
Apache License 2.0
AndroidX Media3, AndroidX Core KTX, Kotlin, kotlinx.coroutines, and Apache-licensed libraries linked into FFmpeg.
Apache-2.0Apache-2.0.txt
Inter
Copyright 2020 The Inter Project Authors.
SIL Open Font License 1.1OFL-Inter.txt
Space Grotesk
Copyright 2020 The Space Grotesk Project Authors.
SIL Open Font License 1.1OFL-SpaceGrotesk.txt
JetBrains Mono
Copyright 2020 The JetBrains Mono Project Authors.
SIL Open Font License 1.1OFL-JetBrainsMono.txt

链接到 FFmpeg 中的库

这些库被编译进 FFmpeg 共享库本身,所以即使 Ninja 从不直接调用它们,它们也会随应用一起分发。

  • dav1d — BSD 2-Clause
  • fontconfig — MIT-style (fontconfig license)
  • FreeType — FreeType License (BSD-style, credit required)
  • FriBidi — LGPL v2.1 or later
  • GMP — LGPL v3 or later
  • GnuTLS — LGPL v2.1 or later (Android build)
  • HarfBuzz — MIT (Old MIT)
  • libass — ISC
  • libilbc — BSD 3-Clause
  • libaom — BSD 2-Clause + AOM patent license (iOS build)
  • LAME — LGPL v2 or later
  • libopencore-amrnb — Apache 2.0
  • libvo-amrwbenc — Apache 2.0
  • libwebp — BSD 3-Clause
  • libxml2 — MIT
  • kvazaar — BSD 3-Clause
  • OpenH264 — BSD 2-Clause, Cisco (iOS build)
  • OpenSSL — Apache 2.0 (iOS build)
  • Opus — BSD 3-Clause
  • Shine — LGPL v2.1
  • Snappy — BSD 3-Clause
  • SoX Resampler (soxr) — LGPL v2.1 or later
  • Speex — BSD 3-Clause
  • SRT — Mozilla Public License 2.0 (iOS build)
  • Tesseract — Apache 2.0 (iOS build)
  • Theora — BSD 3-Clause
  • TwoLAME — LGPL v2.1
  • Vorbis — BSD 3-Clause
  • libvpx — BSD 3-Clause + patent grant
  • zimg — WTFPL
  • zlib — zlib license
  • bzip2 — BSD-style bzip2 license (iOS build)

平台库

  • AndroidX Media3 (Transformer, Effect, Common, Muxer) — Apache 2.0
  • AndroidX Core KTX — Apache 2.0
  • Kotlin and kotlinx.coroutines — Apache 2.0
  • SQLite — public domain

Flutter 框架和应用使用的每个 Dart 软件包,都完整列在应用内的“设置”→“开源许可”→“所有 Flutter 软件包许可”中。

本网站

本网站使用与应用相同的三种字体,依据 SIL 开放字体许可证(SIL Open Font License)自行托管,并使用 Astro(MIT)构建。