ToolPetal Discord video compressor: license and source notes ============================================================= The Discord video compressor (https://toolpetal.com/discord-video-compressor) runs a WebAssembly build of FFmpeg in your browser. These files are served unmodified from the @ffmpeg/core 0.12.10 package published on npm by the ffmpeg.wasm project: ffmpeg-core-0.12.10.js = dist/umd/ffmpeg-core.js (unchanged) ffmpeg-core-0.12.10.part1.wasm = first 16,200,000 bytes of dist/umd/ffmpeg-core.wasm ffmpeg-core-0.12.10.part2.wasm = the remaining 16,032,419 bytes The .wasm file is split in two only because our host limits single files to 25 MiB. The page joins the two parts back together, byte for byte, before starting it. SHA-256 of the joined file (and of the npm original): 9f57947a5bd530d8f00c5b3f2cb2a3492faa7e5d823315342d6a8656d0a6b7b7 What is inside -------------- FFmpeg 5.1.4, built by ffmpeg.wasm with Emscripten 3.1.40 and configured with --enable-gpl --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libopus --enable-zlib --enable-libwebp --enable-libfreetype --enable-libfribidi --enable-libass --enable-libzimg Because it includes x264 and x265 and is configured with --enable-gpl, the combined program is licensed under the GNU General Public License, version 2 or later. The full license text: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt FFmpeg https://ffmpeg.org/ LGPL-2.1+ / GPL-2.0+ (GPL build) ffmpeg.wasm core https://github.com/ffmpegwasm/ffmpeg.wasm GPL-2.0-or-later x264 https://www.videolan.org/developers/x264.html GPL-2.0+ x265 https://www.x265.org/ GPL-2.0+ libvpx https://chromium.googlesource.com/webm/libvpx BSD-3-Clause LAME https://lame.sourceforge.io/ LGPL-2.0+ libtheora, libvorbis, libogg https://xiph.org/ BSD-3-Clause libopus https://opus-codec.org/ BSD-3-Clause zlib https://zlib.net/ zlib license libwebp https://chromium.googlesource.com/webm/libwebp BSD-3-Clause FreeType https://freetype.org/ FTL / GPL-2.0 FriBidi https://github.com/fribidi/fribidi LGPL-2.1+ libass https://github.com/libass/libass ISC zimg https://github.com/sekrit-twc/zimg WTFPL Source code ----------- The complete build recipe (Dockerfile and scripts that fetch and pin each library above) is in the ffmpeg.wasm repository at the v0.12.10 release: https://github.com/ffmpegwasm/ffmpeg.wasm/tree/v0.12.10 The npm package these files come from: https://www.npmjs.com/package/@ffmpeg/core/v/0.12.10 Written offer: for at least three years from the date we last serve these files, we will give anyone a copy of the complete corresponding source code for them, for no more than the cost of making the copy. Ask through https://toolpetal.com/contact . ToolPetal's own page code (discord-video.js, discord-video-worker.js) calls the engine in your browser. Your video is never uploaded.