# FFmpeg WebAssembly license and corresponding source

The browser converter files in this directory are generated from `@ffmpeg/core 0.12.10`. That package is licensed under `GPL-2.0-or-later`; the full GPL version 2 text is available in [COPYING.GPLv2](./COPYING.GPLv2).

## Corresponding source

The upstream source and build files for this exact package version are published in the ffmpeg.wasm `v12.15` release:

- Source: https://github.com/ffmpegwasm/ffmpeg.wasm/tree/v12.15
- Release commit: `71aa99d37c02a7b4c435275ca9ef50e612f6efa1`

Retrieve the complete source, including submodules, with:

```sh
git clone --recurse-submodules --branch v12.15 https://github.com/ffmpegwasm/ffmpeg.wasm.git
cd ffmpeg.wasm
make prd
```

The release's `packages/core/package.json` identifies the resulting package as `@ffmpeg/core 0.12.10`. This site copies the single-threaded `ffmpeg-core.js` and `ffmpeg-core.wasm` outputs. Its asset sync step removes trailing horizontal whitespace from the JavaScript, splits the WebAssembly file into deployment-sized chunks without changing its bytes, and records SHA-256 checksums in `manifest.json`. These packaging operations do not change the FFmpeg program source.
