# Build recipe for the engine

Generated by `scripts/fetch-build-recipe.mjs`. Do not edit by hand.

These files belong to the ffmpeg.wasm project (MIT license, notice in `LICENSE`),
copied from commit [`c3a76385`](https://github.com/ffmpegwasm/ffmpeg.wasm/tree/c3a76385),
the one that published `@ffmpeg/core@0.12.10`. The binary this site serves is
byte for byte the `ffmpeg-core.js` and `ffmpeg-core.wasm` published in that
package, with no changes; the sha256 of both are in
[checksums.txt](../checksums.txt) and can be checked with
`node scripts/fetch-ffmpeg-core.mjs --verify`. These files are reproduced here, on
fileclay's own domain, so that the recipe behind the binary can be read without
leaving this site.

To rebuild the binary from scratch you also need:

1. The sources of each library, at the branches listed in the `Dockerfile` (they are
   listed in [SOURCE.md](/licenses/ffmpeg/SOURCE.md)).
2. The FFmpeg `n5.1.4` sources, which the `Dockerfile` clones.
3. Docker and the `emscripten/emsdk:3.1.40` image.

The command that produces the binary is `make prd` (the production target).

| File | Path in the source repository | sha256 |
| --- | --- | --- |
| [Dockerfile](/licenses/ffmpeg/build/Dockerfile) | `Dockerfile` | `2501ef0a2c0a374b7e575160fb3d203cb36e698f5d72f963c70f050f02bb7dee` |
| [Makefile](/licenses/ffmpeg/build/Makefile) | `Makefile` | `ce971124b4fe6699a5b9bb7f55bdb67c53a61863a721834b5552ce8e3daaeb37` |
| [LICENSE](/licenses/ffmpeg/build/LICENSE) | `LICENSE` | `3e123e29517d76504ffce77b3f8e2ccffd4712493f27694b0aba3e376676459f` |
| [build-ffmpeg.sh](/licenses/ffmpeg/build/build-ffmpeg.sh) | `build/ffmpeg.sh` | `be107d2237b61ad301b488954e25c42cdae9e198ff4398b4a3455a3ccc2192bc` |
| [build-x264.sh](/licenses/ffmpeg/build/build-x264.sh) | `build/x264.sh` | `80b701e2d49f0a9d6f23d9f8217a047ab37bd4b9eb49cf6da19168e9835f5b21` |
| [build-x265.sh](/licenses/ffmpeg/build/build-x265.sh) | `build/x265.sh` | `d2a61579db858c6a58e8c014df09d5202c655d23e3e9c43b7ffac6028ac71a36` |
| [build-libvpx.sh](/licenses/ffmpeg/build/build-libvpx.sh) | `build/libvpx.sh` | `2630a89ce739969ecac8d774909d708f95f87b65ae1947a48a00b1df117007ce` |
| [build-lame.sh](/licenses/ffmpeg/build/build-lame.sh) | `build/lame.sh` | `867662408018d29fce02a319d990a36df3b406fd9ae45ae23baa2ea134b69340` |
| [build-ogg.sh](/licenses/ffmpeg/build/build-ogg.sh) | `build/ogg.sh` | `c38cab5100834423dd0343c7fcbcc761afa97456518ff7bf3c7662720ec1d261` |
| [build-theora.sh](/licenses/ffmpeg/build/build-theora.sh) | `build/theora.sh` | `9112b73e29b5ea67b9a155601c9149deeb89fe9721f2ce3a90f7aedb344e6024` |
| [build-opus.sh](/licenses/ffmpeg/build/build-opus.sh) | `build/opus.sh` | `107b5903b8c15cba8a9abaa7db8cfffdb36b01969909a2a4a2696cefe14b3fdc` |
| [build-vorbis.sh](/licenses/ffmpeg/build/build-vorbis.sh) | `build/vorbis.sh` | `75d96e8ca8c1b6844b1d1df76ac0c7a19002b4ab7b9657f061851e1e9213788e` |
| [build-zlib.sh](/licenses/ffmpeg/build/build-zlib.sh) | `build/zlib.sh` | `e3554ff2ce73b752f752ca3b4aa86b8727a9d5a8c65e3e51cb78492b4ece6998` |
| [build-libwebp.sh](/licenses/ffmpeg/build/build-libwebp.sh) | `build/libwebp.sh` | `1f2b9aeab3f3bfe35e2876276050648ac0c7eb2b22ccc1c7bad7710025810c8f` |
| [build-freetype2.sh](/licenses/ffmpeg/build/build-freetype2.sh) | `build/freetype2.sh` | `63c3c328548e5684704ed28c1b191a08eb6d356aa5272d59bff9909a7fe00491` |
| [build-fribidi.sh](/licenses/ffmpeg/build/build-fribidi.sh) | `build/fribidi.sh` | `110753bb63466c2c24b302cd15a6ddf8c92a2af603fd642843c3e6f551a1a518` |
| [build-harfbuzz.sh](/licenses/ffmpeg/build/build-harfbuzz.sh) | `build/harfbuzz.sh` | `24595ec8a4921ed46c1f0f2ae367051cbe0531f9fe7140e4b3798b9132e8b301` |
| [build-libass.sh](/licenses/ffmpeg/build/build-libass.sh) | `build/libass.sh` | `0e17bc8b8876f165cf88572bacbcd4faf4e22b33b4c6fa98b85d5c45aa0a0ecf` |
| [build-zimg.sh](/licenses/ffmpeg/build/build-zimg.sh) | `build/zimg.sh` | `7f5a44356cff2a3050feb342bd7e6beb15890feddcd6b7360f1fdfbdb87c38f8` |

---

# Receta del build del nucleo

Generado por `scripts/fetch-build-recipe.mjs`. No editar a mano.

Estos ficheros son del proyecto ffmpeg.wasm (licencia MIT, aviso en `LICENSE`),
copiados del commit [`c3a76385`](https://github.com/ffmpegwasm/ffmpeg.wasm/tree/c3a76385),
que es el que publico `@ffmpeg/core@0.12.10`. El binario que sirve este sitio es,
byte a byte, el `ffmpeg-core.js` y el `ffmpeg-core.wasm` publicados en ese paquete,
sin cambios; sus sha256 estan en [checksums.txt](../checksums.txt) y se pueden
comprobar con `node scripts/fetch-ffmpeg-core.mjs --verify`. Estos ficheros se
reproducen aqui, en el dominio de fileclay, para que la receta que esta detras del
binario se pueda leer sin salir de este sitio.

Para reconstruir el binario de principio a fin hacen falta, ademas de esto:

1. Las fuentes de cada libreria, en las ramas que indica el `Dockerfile` (estan
   listadas en [SOURCE.md](/licenses/ffmpeg/SOURCE.md)).
2. Las fuentes de FFmpeg `n5.1.4`, que el `Dockerfile` clona.
3. Docker y la imagen `emscripten/emsdk:3.1.40`.

El comando que produce el binario es `make prd` (el target de produccion).

| Fichero | Ruta en el repo de origen | sha256 |
| --- | --- | --- |
| [Dockerfile](/licenses/ffmpeg/build/Dockerfile) | `Dockerfile` | `2501ef0a2c0a374b7e575160fb3d203cb36e698f5d72f963c70f050f02bb7dee` |
| [Makefile](/licenses/ffmpeg/build/Makefile) | `Makefile` | `ce971124b4fe6699a5b9bb7f55bdb67c53a61863a721834b5552ce8e3daaeb37` |
| [LICENSE](/licenses/ffmpeg/build/LICENSE) | `LICENSE` | `3e123e29517d76504ffce77b3f8e2ccffd4712493f27694b0aba3e376676459f` |
| [build-ffmpeg.sh](/licenses/ffmpeg/build/build-ffmpeg.sh) | `build/ffmpeg.sh` | `be107d2237b61ad301b488954e25c42cdae9e198ff4398b4a3455a3ccc2192bc` |
| [build-x264.sh](/licenses/ffmpeg/build/build-x264.sh) | `build/x264.sh` | `80b701e2d49f0a9d6f23d9f8217a047ab37bd4b9eb49cf6da19168e9835f5b21` |
| [build-x265.sh](/licenses/ffmpeg/build/build-x265.sh) | `build/x265.sh` | `d2a61579db858c6a58e8c014df09d5202c655d23e3e9c43b7ffac6028ac71a36` |
| [build-libvpx.sh](/licenses/ffmpeg/build/build-libvpx.sh) | `build/libvpx.sh` | `2630a89ce739969ecac8d774909d708f95f87b65ae1947a48a00b1df117007ce` |
| [build-lame.sh](/licenses/ffmpeg/build/build-lame.sh) | `build/lame.sh` | `867662408018d29fce02a319d990a36df3b406fd9ae45ae23baa2ea134b69340` |
| [build-ogg.sh](/licenses/ffmpeg/build/build-ogg.sh) | `build/ogg.sh` | `c38cab5100834423dd0343c7fcbcc761afa97456518ff7bf3c7662720ec1d261` |
| [build-theora.sh](/licenses/ffmpeg/build/build-theora.sh) | `build/theora.sh` | `9112b73e29b5ea67b9a155601c9149deeb89fe9721f2ce3a90f7aedb344e6024` |
| [build-opus.sh](/licenses/ffmpeg/build/build-opus.sh) | `build/opus.sh` | `107b5903b8c15cba8a9abaa7db8cfffdb36b01969909a2a4a2696cefe14b3fdc` |
| [build-vorbis.sh](/licenses/ffmpeg/build/build-vorbis.sh) | `build/vorbis.sh` | `75d96e8ca8c1b6844b1d1df76ac0c7a19002b4ab7b9657f061851e1e9213788e` |
| [build-zlib.sh](/licenses/ffmpeg/build/build-zlib.sh) | `build/zlib.sh` | `e3554ff2ce73b752f752ca3b4aa86b8727a9d5a8c65e3e51cb78492b4ece6998` |
| [build-libwebp.sh](/licenses/ffmpeg/build/build-libwebp.sh) | `build/libwebp.sh` | `1f2b9aeab3f3bfe35e2876276050648ac0c7eb2b22ccc1c7bad7710025810c8f` |
| [build-freetype2.sh](/licenses/ffmpeg/build/build-freetype2.sh) | `build/freetype2.sh` | `63c3c328548e5684704ed28c1b191a08eb6d356aa5272d59bff9909a7fe00491` |
| [build-fribidi.sh](/licenses/ffmpeg/build/build-fribidi.sh) | `build/fribidi.sh` | `110753bb63466c2c24b302cd15a6ddf8c92a2af603fd642843c3e6f551a1a518` |
| [build-harfbuzz.sh](/licenses/ffmpeg/build/build-harfbuzz.sh) | `build/harfbuzz.sh` | `24595ec8a4921ed46c1f0f2ae367051cbe0531f9fe7140e4b3798b9132e8b301` |
| [build-libass.sh](/licenses/ffmpeg/build/build-libass.sh) | `build/libass.sh` | `0e17bc8b8876f165cf88572bacbcd4faf4e22b33b4c6fa98b85d5c45aa0a0ecf` |
| [build-zimg.sh](/licenses/ffmpeg/build/build-zimg.sh) | `build/zimg.sh` | `7f5a44356cff2a3050feb342bd7e6beb15890feddcd6b7360f1fdfbdb87c38f8` |
