summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJøger Hansegård <joger.hansegard@qt.io>2023-11-02 15:52:32 +0100
committerJøger Hansegård <joger.hansegard@qt.io>2023-12-05 09:08:27 +0100
commit335ee775db270158455d9fbf89db5c7671003d8a (patch)
tree562c33ea02252802d9314e7cff201cca8ff20763 /src
parent678720188b9c2a8b23480075c0a895cd24853228 (diff)
Add Qt Multimedia attributions to "Licenses Used in Qt" page
This patch adds an attribution to FFmpeg which is used by QtMultimedia. Note that Qt Multimedia's landing page already had an attribution section. This content is now moved into the qt_attribution.json file for FFmpeg. The QtMultimedia landing page is simplified and refers to the attributions instead of going into the licensing details. This patch has one weakness. The automatic attribution generation adds a path to where the sources can be found. On the ffmpeg attribution page, it will state "The sources can be found in qtmultimedia/src/3rdparty/ffmpeg." This is not true, because the ffmpeg sources are not part of the Qt source tree, and are not located in the 3rdparty/ffmpeg directory. It is hard to find an appropriate copyright string for FFmpeg from their documentation. However, when running ffmpeg.exe, the text "Copyright (c) 2000-2023 the FFmpeg developers" shows up. This is used as a copyright string in this patch. The licensing terms for FFmpeg refers to use of libjpeg in FFmpeg. It is not possible to find which version of libjpeg is being used by FFmpeg, or what modifications have been made. We therefore just add the general Independent JPEG Group License. Change-Id: Ie8eba1fef0ac3b2e4283f7d88c20163eee49763e Task-number: QTBUG-118734 Fixes: QTBUG-118204 Pick-to: 6.6 6.5 Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/ffmpeg/qt_attribution.json55
-rw-r--r--src/multimedia/doc/src/qtmultimedia-index.qdoc12
2 files changed, 59 insertions, 8 deletions
diff --git a/src/3rdparty/ffmpeg/qt_attribution.json b/src/3rdparty/ffmpeg/qt_attribution.json
new file mode 100644
index 000000000..ce1bc5b19
--- /dev/null
+++ b/src/3rdparty/ffmpeg/qt_attribution.json
@@ -0,0 +1,55 @@
+[
+ {
+ "Id": "ffmpeg",
+ "Name": "FFmpeg",
+ "QDocModule": "qtmultimedia",
+ "Description": "FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles, and related metadata.",
+ "QtUsage": "The FFmpeg media backend uses the \\l {https://ffmpeg.org}{FFmpeg framework}. FFmpeg is licensed under LGPLv2.1 or later versions of the licenses. Note that, while FFMpeg also features some optional components available under GPL or LGPLv3, the binaries that ship with Qt in the online installer do not contain these components. See the \\l {https://ffmpeg.org/legal.html}{FFmpeg licensing page} for further details.",
+ "Homepage": "https://ffmpeg.org/",
+ "DownloadLocation": "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n6.0.zip",
+ "SecurityCritical": true,
+ "Version": "n6.0",
+ "LicenseId": "LGPL-2.1-or-later AND BSD-3-Clause AND BSD-2-Clause AND BSD-Source-Code AND ISC AND MIT AND MPL-2.0",
+ "License": "GNU Lesser General Public License v2.1 or later and BSD 3-Clause \"New\" or \"Revised\" License and BSD 2-Clause \"Simplified\" License and BSD Source Code Attribution and ISC License and MIT License and Mozilla Public License 2.0",
+ "Copyright": "Copyright (c) 2000-2023 the FFmpeg developers"
+ },
+ {
+ "Id": "ffmpeg-libjpeg",
+ "Name": "libjpeg",
+ "QDocModule": "qtmultimedia",
+ "Description": "libjpeg is a widely used C library for reading and writing JPEG image files.",
+ "QtUsage": "The FFMpeg media backend uses modified code from libjpeg in `libavcodec/jfdctfst.c`, `libavcodec/jfdctint_template.c` and `libavcodec/jrevdct.c`. For list of modifications, see \\l {https://git.ffmpeg.org/ffmpeg.git}{FFmpeg source code management system}.",
+ "SecurityCritical": true,
+ "Homepage": "https://libjpeg.sourceforge.net/",
+ "DownloadLocation": "https://libjpeg.sourceforge.net/",
+ "License": "Independent JPEG Group License",
+ "LicenseId": "IJG",
+ "Copyright": "Copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding."
+ },
+ {
+ "Id": "ffmpeg-zlib",
+ "Name": "zlib",
+ "QDocModule": "qtmultimedia",
+ "Description": "Zlib is a software library used for data compression",
+ "QtUsage": "The FFMpeg media backend uses the Adler-32 algorithm from zlib",
+ "SecurityCritical": false,
+ "Homepage": "https://www.zlib.net/",
+ "DownloadLocation": "https://www.zlib.net/",
+ "License": "zlib License",
+ "LicenseId": "Zlib",
+ "Copyright": "Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler."
+ },
+ {
+ "Id": "ffmpeg-boost",
+ "Name": "boost",
+ "QDocModule": "qtmultimedia",
+ "Description": "Boost is a set of libraries for the C++ programming language ",
+ "QtUsage": "The FFMpeg media backend uses algorithms from the Boost math library",
+ "SecurityCritical": false,
+ "Homepage": "https://www.boost.org/",
+ "DownloadLocation": "https://www.boost.org/",
+ "License": "Boost Software License 1.0",
+ "LicenseId": "BSL-1.0",
+ "Copyright": "(C) Copyright John Maddock 2006. Copyright (c) 2006 Xiaogang Zhang"
+ }
+]
diff --git a/src/multimedia/doc/src/qtmultimedia-index.qdoc b/src/multimedia/doc/src/qtmultimedia-index.qdoc
index 3d652c686..7eb131062 100644
--- a/src/multimedia/doc/src/qtmultimedia-index.qdoc
+++ b/src/multimedia/doc/src/qtmultimedia-index.qdoc
@@ -164,14 +164,10 @@
the \l{GNU General Public License, version 2}.
See \l{Qt Licensing} for further details.
- The FFmpeg backend uses the \l {https://ffmpeg.org}{FFmpeg framework}.
- FFmpeg is licensed under LGPLv2.1, GPLv2, or later versions of the licenses.
- Some optional components of FFmpeg are only available under GPL. The FFmpeg
- backend shipped with the Qt binary packages is configured to not contain any
- of the components that are available under GPLv2 only.
-
- See the \l {https://ffmpeg.org/legal.html}{FFmpeg licensing page} for further
- details.
+ Furthermore, Qt Multimedia in Qt \QtVersion may contain third-party modules
+ under following permissive licenses:
+
+ \generatelist{groupsbymodule attributions-qtmultimedia}
Note that video compression standards, such as the H.264 media compression
standard, may be covered by patents and can incur royalty fees. This can