@project516/ffmpeg-wasm-core-mt 0.13.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE ADDED
@@ -0,0 +1,126 @@
1
+ ffmpeg.wasm
2
+ Copyright (C) 2019 Jerome Wu and contributors
3
+ Copyright (C) 2024 Project516 and contributors
4
+
5
+ This project is licensed as a whole under the GNU Affero General Public
6
+ License, version 3 or later (AGPL-3.0-or-later). See LICENSE at the
7
+ repository root for the full license text.
8
+
9
+ Project516/ffmpeg.wasm is a fork of ffmpegwasm/ffmpeg.wasm, which was
10
+ originally released under the MIT license by Jerome Wu and contributors. That
11
+ MIT notice is kept, unmodified, at LICENSES/MIT-ffmpegwasm.txt, as required by
12
+ the MIT license's own terms. Relicensing the wrapper code to AGPL-3.0-or-later
13
+ is permitted because MIT allows sublicensing and relicensing of derivative
14
+ works, provided the original copyright notice and license text travel with
15
+ the distribution; that is what LICENSES/MIT-ffmpegwasm.txt is for.
16
+
17
+ Why the core packages are AGPL-3.0-or-later
18
+ --------------------------------------------
19
+
20
+ @project516/ffmpeg-wasm-core and @project516/ffmpeg-wasm-core-mt embed FFmpeg
21
+ built with --enable-gpl, plus the third-party libraries listed below. FFmpeg's
22
+ own project states that building with --enable-gpl changes its effective
23
+ license from LGPL-2.1-or-later to GPL-2.0-or-later (https://ffmpeg.org/legal.html).
24
+ Every GPL-licensed library this project links in is licensed "or later," not
25
+ GPLv2-only, so combining them with this project's AGPL-3.0-or-later code is
26
+ permitted: GPLv3 section 13 and AGPLv3 section 13 each grant explicit
27
+ permission to combine a covered work with code licensed under the other, and a
28
+ work licensed "GPL-2.0-or-later" already carries permission to be used under
29
+ GPLv3 terms. The wasm binaries in the core packages are therefore distributed
30
+ as a whole under AGPL-3.0-or-later.
31
+
32
+ FFmpeg is never configured with --enable-nonfree, and no library with a
33
+ GPL-incompatible license (such as fdk-aac) is linked in, so the core binaries
34
+ are redistributable.
35
+
36
+ Corresponding source
37
+ ---------------------
38
+
39
+ - This repository is the corresponding source for this project's own code
40
+ (the TypeScript wrapper, the build scripts, and the JS glue in src/bind).
41
+ - FFmpeg and each third-party library below are built from the pinned
42
+ versions and upstream URLs in Dockerfile and build/*.sh in this repository.
43
+ Their own corresponding source is each project's own upstream repository at
44
+ the tag or commit pinned there.
45
+
46
+ FFmpeg and third-party libraries built into the core packages
47
+ ---------------------------------------------------------------
48
+
49
+ FFmpeg
50
+ https://ffmpeg.org
51
+ License: LGPL-2.1-or-later; GPL-2.0-or-later when built with --enable-gpl
52
+ (this project's build). Versions used: n5.1.10 (single-thread core),
53
+ n9.0.2 (multi-thread core). See Dockerfile.
54
+
55
+ x264
56
+ https://www.videolan.org/developers/x264.html
57
+ License: GPL-2.0-or-later
58
+
59
+ x265
60
+ https://bitbucket.org/multicoreware/x265_git
61
+ License: GPL-2.0-or-later
62
+
63
+ libvpx
64
+ https://chromium.googlesource.com/webm/libvpx
65
+ License: BSD-3-Clause
66
+
67
+ LAME
68
+ https://lame.sourceforge.io
69
+ License: LGPL-2.0-or-later
70
+
71
+ libogg
72
+ https://www.xiph.org/ogg
73
+ License: BSD-3-Clause
74
+
75
+ libtheora
76
+ https://www.theora.org
77
+ License: BSD-3-Clause
78
+
79
+ libvorbis
80
+ https://www.xiph.org/vorbis
81
+ License: BSD-3-Clause
82
+
83
+ Opus
84
+ https://opus-codec.org
85
+ License: BSD-3-Clause
86
+
87
+ zlib
88
+ https://zlib.net
89
+ License: zlib License
90
+
91
+ libwebp
92
+ https://chromium.googlesource.com/webm/libwebp
93
+ License: BSD-3-Clause
94
+
95
+ FreeType
96
+ https://freetype.org
97
+ License: FreeType License (FTL), a permissive license; FreeType also offers
98
+ GPL-2.0-or-later as an alternative, this project uses the FTL option.
99
+
100
+ FriBidi
101
+ https://github.com/fribidi/fribidi
102
+ License: LGPL-2.1-or-later
103
+
104
+ HarfBuzz
105
+ https://harfbuzz.github.io
106
+ License: Old MIT License (permissive)
107
+
108
+ libass
109
+ https://github.com/libass/libass
110
+ License: ISC License
111
+
112
+ zimg
113
+ https://github.com/sekrit-twc/zimg
114
+ License: WTFPL
115
+
116
+ Exact pinned versions and download locations for all of the above are in
117
+ Dockerfile and build/*.sh in this repository.
118
+
119
+ wasmpeg
120
+ https://github.com/wasmpeg/wasmpeg
121
+ License: LGPL-2.1-or-later
122
+
123
+ wasmpeg is credited here as design inspiration only (see issue #49). No code
124
+ from wasmpeg has been copied into this project. If code from wasmpeg is
125
+ adapted in the future, its LGPL notices will be preserved and this NOTICE
126
+ will be updated to reflect that.