Complete corresponding source of /ffmpeg/ffmpeg-core.wasm ============================================================================== ffmpeg-core.wasm is FFmpeg built with x264 and x265 under the GNU GPL v2 or later. Its complete source code, and the scripts used to build it, are in this folder. The GPL v2 text is in COPYING.GPLv2. Binary: @ffmpeg/core 0.12.10 from npm, served unmodified from /ffmpeg/: ffmpeg-core.wasm sha256 9f57947a5bd530d8f00c5b3f2cb2a3492faa7e5d823315342d6a8656d0a6b7b7 ffmpeg-core.js sha256 67a48f11645f85439f3fde4f2119042c16b374b910206b7a7a24f342e28dcae3 How it was built ------------------------------------------------------------------------------ Build scripts: https://github.com/ffmpegwasm/ffmpeg.wasm at commit 71aa99d37c02a7b4c435275ca9ef50e612f6efa1 "RELEASE: @ffmpeg/core and @ffmpeg/core-mt v0.12.10", 2025-01-07T10:12:48Z (tag v12.15). npm published @ffmpeg/core 0.12.10 26 seconds later. The repo's v0.12.10 tag is a different release (@ffmpeg/ffmpeg 0.12.10 with core 0.12.6, Dec 2023) and is NOT this build. Command: make prd (= docker buildx build --build-arg FFMPEG_ST=yes --build-arg EXTRA_CFLAGS="-O3 -msimd128" -o ./packages/core .) Toolchain: emscripten/emsdk:3.1.40 Docker image (the compiler and its system libraries, https://github.com/emscripten-core/emsdk); Docker syntax docker/dockerfile-upstream:master-labs. The Dockerfile in the build-scripts archive lists every library and the exact configure line; the configure line compiled into ffmpeg-core.wasm is identical to it (--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). The binary also reports FFmpeg 5.1.4, libvpx 1.13.1 and FriBidi 1.0.9, and contains ffprobe, which the build scripts gained in Aug 2024, after the v0.12.10 tag. To rebuild: unpack the build-scripts archive and run the command above. The Dockerfile fetches each library from the repository and ref listed below; the archives here are those exact revisions. Archives ------------------------------------------------------------------------------ ffmpeg.wasm-core-v0.12.10-71aa99d.tar.gz ffmpeg.wasm build scripts (Dockerfile, Makefile, build/*.sh, src/bind, src/fftools) Origin: https://github.com/ffmpegwasm/ffmpeg.wasm (commit 71aa99d (core 0.12.10 release)) Revision: 71aa99d37c02a7b4c435275ca9ef50e612f6efa1 Licence: MIT (scripts); src/fftools is FFmpeg code (LGPL-2.1-or-later/GPL) SHA-256: 53c5842f160cece0e39345876f9483b56aa84b966637ff6f624353a0fa884219 ffmpeg-n5.1.4.tar.gz FFmpeg Origin: https://github.com/FFmpeg/FFmpeg (tag n5.1.4) Revision: 4729204c17f756e186d622060088371d10b34f7e Licence: LGPL-2.1-or-later, GPL-2.0-or-later as built SHA-256: 0d7ad57d4dd851d577fc6c19e5cec5b6e5faaeb2dbd52ab76127e3c3763fec6d x264-4-cores-33cac6b.tar.gz x264 Origin: https://github.com/ffmpegwasm/x264 (branch 4-cores (head since 2022-08-22, before the 2025-01-07 build)) Revision: 33cac6b77d5b9259c552156013a817ab23119612 Licence: GPL-2.0-or-later SHA-256: 75434a5a1f2d7d4314821c6054dd300731d69e2fa73314ba4a5ec9df38d4ec80 x265-3.4.tar.gz x265 Origin: https://github.com/ffmpegwasm/x265 (tag 3.4) Revision: 2bb5520e9596f361bf0ed81b3b8da0d7fd999069 Licence: GPL-2.0-or-later SHA-256: e5254828f5db7bc375d385e31247861d25facee87b43fa2d08ea3ab5569672ab libvpx-v1.13.1.tar.gz libvpx Origin: https://github.com/ffmpegwasm/libvpx (tag v1.13.1) Revision: 10b9492dcf05b652e2e4b370e205bd605d421972 Licence: BSD-3-Clause SHA-256: 12181ed27342415e8b01bf09abfbf1dfa27a6a32f302fb78b48bd70efe50f702 lame-master-2badea1.tar.gz LAME 3.100 Origin: https://github.com/ffmpegwasm/lame (branch master (head since 2020-10-29, before the 2025-01-07 build)) Revision: 2badea1974ae36cb8312afe99cff1e6b3b5decee Licence: LGPL-2.0-or-later SHA-256: 0d97ba0776988f5730e0ce1fa936e7c5d6836c757993ba55073513fe89cf410a ogg-v1.3.4.tar.gz libogg Origin: https://github.com/ffmpegwasm/Ogg (tag v1.3.4) Revision: bada45718453ac27b56773ae663f7e65112f6a6e Licence: BSD-3-Clause SHA-256: 4d61f8dfa248276c42bd5404b1a87ae9d8a0d58791f55e20018c7b39b38d8823 theora-v1.1.1.tar.gz libtheora Origin: https://github.com/ffmpegwasm/theora (tag v1.1.1) Revision: 7ffd8b2ecfc2d93ae5e16028e7528e609266bfbf Licence: BSD-3-Clause SHA-256: c38e6a3fb19566a44dcb283323c48311dd484f1416f3f34676d3e7fd252dfbc5 opus-v1.3.1.tar.gz libopus Origin: https://github.com/ffmpegwasm/opus (tag v1.3.1) Revision: e85ed7726db5d677c9c0677298ea0cb9c65bdd23 Licence: BSD-3-Clause SHA-256: c6d574b17d70b8c289d997a8ac81314cf1fd8c52237c421b2ee34e69cea85bf8 vorbis-v1.3.3.tar.gz libvorbis Origin: https://github.com/ffmpegwasm/vorbis (tag v1.3.3) Revision: 7798164043197d7e33f02de4353ce2aa5b248225 Licence: BSD-3-Clause SHA-256: 69b87cafe2815d02609886a63b9d4c0b7461e1e2f6ecf3960ede04053da6e96a zlib-v1.2.11.tar.gz zlib Origin: https://github.com/ffmpegwasm/zlib (tag v1.2.11) Revision: cacf7f1d4e3d44d871b605da3b647f07d718623f Licence: Zlib SHA-256: 6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45 libwebp-v1.3.2.tar.gz libwebp Origin: https://github.com/ffmpegwasm/libwebp (tag v1.3.2) Revision: ca332209cb5567c9b249c86788cb2dbf8847e760 Licence: BSD-3-Clause SHA-256: 1676107dc385f9bf6cb4c2b94d4a9359d1fd95ab6309cb587191a742df292fe2 freetype-VER-2-10-4.tar.gz FreeType Origin: https://github.com/ffmpegwasm/freetype2 (tag VER-2-10-4) Revision: 6a2b3e4007e794bfc6c91030d0ed987f925164a8 Licence: FTL (elected) or GPL-2.0 SHA-256: 09acceb42508c65b7b744cc2ad01d7548868ca57babc39f7683ec3c0f7541e8c fribidi-v1.0.9.tar.gz GNU FriBidi Origin: https://github.com/fribidi/fribidi (tag v1.0.9) Revision: f9e8e71a6fbf4a4619481284c9f484d10e559995 Licence: LGPL-2.1-or-later SHA-256: 65ff6fb1a478c4d90ae16825da8c97b8a63e2674f8a2d6dae8800f89089640ba harfbuzz-5.2.0.tar.gz HarfBuzz Origin: https://github.com/harfbuzz/harfbuzz (tag 5.2.0) Revision: 4a1d891c6317d2c83e5f3c2607ec5f5ccedffcde Licence: Old MIT SHA-256: 69ba7c7a42643a3654781242016dd09245cab7353fc2a02cecb710e479c9a881 libass-0.15.0.tar.gz libass Origin: https://github.com/libass/libass (tag 0.15.0) Revision: d149636f502f5774ae1a8fb4c554b122674393b2 Licence: ISC SHA-256: 5cfe23562fa623a3b209d156ad469aeb2e31f69bf6b256ea737d87d9ed89301d zimg-release-3.0.5.tar.gz zimg Origin: https://github.com/sekrit-twc/zimg (tag release-3.0.5 (its only submodule, test/extra/googletest, is test code and not built)) Revision: e5b0de6bebbcbc66732ed5afaafef6b2c7dfef87 Licence: WTFPL SHA-256: 3ab062eff30067799997bc3e911c0108a5b8cbcd6e0ef14053f17ff0ecd0add8 Each archive is GitHub's tarball of the revision above (https://codeload.github.com///tar.gz/).