wasm-media-encoders 0.7.0 — Corresponding Source and Distribution Record ========================================================================== Purpose ------- The audio compressor (tool-s-comp) encodes MP3 with LAME 3.100 and OGG Vorbis with libvorbis 1.3.7 / libogg 1.3.4, both compiled to WebAssembly by the wasm-media-encoders project. LAME is licensed under the GNU Library General Public License version 2 or (at your option) any later version. This record documents the distributed files, their hashes, and where the Corresponding Source is hosted so that the LGPL obligations can be verified. Distributed files (served from /tl/common/libs/wasm-media-encoders/0.7.0/) ---------------------------------------------------------------------------- - WasmMediaEncoder.min.js (5887 bytes) MIT (wrapper, Copyright (c) 2020-2024 arseneyr) SHA-256: dd4e17abf5377dfecc726d6ec5e7b72dab01cf3522974278e5347f4e68480fb3 - mp3.wasm (132999 bytes) LGPL-2.0-or-later (LAME 3.100) SHA-256: 85e81719250b9a667b1258143f689dda70e3e57a7e7c29ab0b4cef65c8f6eb9a - ogg.wasm (450589 bytes) BSD-3-Clause (libvorbis 1.3.7, libogg 1.3.4) SHA-256: cd1f50349e58e650e33e3f0b850a785ed612c4abaa4756e520e50b2583cf07ed - LICENSE, README.md copied verbatim from the npm package All three runtime files are byte-for-byte identical to the files in the official npm package wasm-media-encoders@0.7.0 (dist/umd/WasmMediaEncoder.min.js, wasm/mp3.wasm, wasm/ogg.wasm). The library code is unmodified. The .wasm files are loaded at run time as separate files by tool-s-comp/assets/js/worker.js (fetched as an ArrayBuffer and passed to WasmMediaEncoder.createEncoder), so a compatible modified version can be substituted by replacing the file. Official npm package -------------------- Name: wasm-media-encoders Version: 0.7.0 (published 2024-05-24) Registry: https://registry.npmjs.org/wasm-media-encoders/-/wasm-media-encoders-0.7.0.tgz Repository: https://github.com/arseneyr/wasm-media-encoders (tag v0.7.0) License declared by package metadata: MIT Hosted copy: wasm-media-encoders-0.7.0-npm.tgz SHA-256: 1ffcadae8dd439253148dfc5e73dd1a0be89b61ba342886707d8b39123f26adc npm shasum (SHA-1): 107502a817ba1c42c64d94d4220b0c53792427ed (matches registry) npm integrity: sha512-Sp4wUasgxOK/IFfNhpon6LQQgYGwtpxyV4isjGIe1rvhnJL3w2KYr4f+CdqDNtGPDcgCDRY+uBanVfSx6Si0WQ== (matches registry) Corresponding Source (hosted in this directory) ----------------------------------------------- 1. wasm-media-encoders-0.7.0-source.tar.gz SHA-256: aa3f4829f17265333aeeddc1480887b5d74c95e5914c3dde467b22893ac1c221 Source tree of https://github.com/arseneyr/wasm-media-encoders at tag v0.7.0 (GitHub archive), containing the WebAssembly glue code (src/wasm/lame/lame_enc.c, src/wasm/vorbis/vorbis_enc.c, src/wasm/common_params.h), the Makefile (emcc flags: -Oz -flto for release), the JavaScript wrapper sources, package.json and yarn.lock. Excluded from the hosted archive because they are not part of the library build: .yarn/ (offline cache of npm dependencies, 180 MB), .pnp.cjs, .pnp.loader.mjs, .devcontainer/corepack.tgz, src/__tests__/ (test fixtures including a 5.7 MB test.wav). The complete tree can be obtained from the repository URL above. Build environment stated by the project: Emscripten SDK 2.0.8, Node 20, Yarn 4. 2. lame-98db548-source.tar.gz SHA-256: ed3a6fa3ff2a9780552fa14c1228d3cd006f2e396128a62212617e387e2af996 Source of the LAME submodule used for the build: https://github.com/arseneyr/lame at commit 98db548e8e851defbba3184125ce10725355c332 (LAME 3.100 based; the binary reports version 3.100). COPYING in this tree is the GNU Library General Public License, Version 2 (June 1991); source headers state "version 2 of the License, or (at your option) any later version". The upstream LICENSE note is copied to lame-98db548-LICENSE.txt. 3. libvorbis-1.3.7-0657aee-source.tar.gz SHA-256: 6ccc3fa4cfd3072f9a772025cc8fd712098d081c00171b09b6627ffced7faa88 https://github.com/xiph/vorbis at commit 0657aee69dec8508a0011f47f3b69d7538e9d262 (configure.ac: libvorbis 1.3.7; binary reports "Xiph.Org libVorbis I 20200704"). License: BSD 3-Clause, Copyright (c) 2002-2020 Xiph.org Foundation (copied to libvorbis-1.3.7-COPYING.txt). 4. libogg-1.3.4-bada457-source.tar.gz SHA-256: c157fd177bcfade344e26b93cc8b0f14ab2022e05132b148623fb5319fd43ed6 https://github.com/xiph/ogg at commit bada45718453ac27b56773ae663f7e65112f6a6e (configure.ac: libogg 1.3.4). License: BSD 3-Clause, Copyright (c) 2002, Xiph.org Foundation (copied to libogg-1.3.4-COPYING.txt). Copyright notices found in the LAME sources (libmp3lame/, verbatim) -------------------------------------------------------------------- - Copyright (c) 1999-2000 Mark Taylor - Copyright (c) 1999 Albert L Faber - Copyright (c) 1999-2005 Takehiro Tominaga - Copyright (c) 2000-2017 Robert Hegemann - Copyright (c) 2000-2005 Gabriel Bouvigne - Copyright (c) 2001-2005 Alexander Leidinger - Copyright (c) 2001-2002 Naoki Shibata - Copyright (C) 2001 David Robinson and Glen Sawyer - (and others: Jonathan Dee, John Dahlstrom, Olcios, Ron Mayer) The distributed mp3.wasm carries no header notice. License texts hosted alongside this record ------------------------------------------ - LGPL-2.0.txt (identical to https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt and to COPYING in the LAME tree; SHA-256 cc535c21133c895b56b374c8a1dc1eb948d99003ed2b47372069456b62f42b24) - GPL-2.0.txt - MIT.txt (wrapper entry), BSD-3-Clause.txt, libvorbis-1.3.7-COPYING.txt, libogg-1.3.4-COPYING.txt Record prepared: 2026-09-14