feat: publish av-tools 0.2.0
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
# FFmpeg WebAssembly Corresponding Source
|
||||
|
||||
This archive accompanies the exact `@ffmpeg/core` and `@ffmpeg/core-mt`
|
||||
0.12.10 object code distributed by av-tools 0.1.0.
|
||||
This archive accompanies the reviewed single-thread and multithread FFmpeg
|
||||
WebAssembly core profile distributed by av-tools. The profile retains the
|
||||
upstream core version 0.12.10 and FFmpeg n5.1.4 identities, but it is rebuilt
|
||||
from source rather than copied from the published `@ffmpeg/core` packages.
|
||||
|
||||
`SOURCE_LOCK.json` records the immutable Git commit for ffmpeg.wasm, FFmpeg and
|
||||
every external library selected by the upstream v12.15 build. The source trees
|
||||
@@ -18,10 +20,15 @@ The original build-control files are in `sources/ffmpeg.wasm/`, including:
|
||||
- `build/ffmpeg-wasm.sh`;
|
||||
- the other dependency scripts under `build/`.
|
||||
|
||||
The upstream build selects Emscripten SDK 3.1.40 and FFmpeg n5.1.4. av-tools
|
||||
does not modify the five published JavaScript/WebAssembly core assets. Their
|
||||
exact sizes, hashes and embedded configure arguments are recorded in the
|
||||
application's `SOURCE.md` and `docs/FFMPEG_BUILD.md`.
|
||||
The build uses Emscripten SDK 3.1.40 and FFmpeg n5.1.4. Its one source patch
|
||||
applies upstream ffmpeg.wasm commit
|
||||
`b409e36475bc21f0451b5b1e1d126fa82871439a`, which raises the Emscripten stack
|
||||
to 5 MiB and fixes the libopus encode failure reported upstream. The tracked
|
||||
`scripts/build-reviewed-ffmpeg-core.sh` driver in the matching av-tools source
|
||||
release also isolates optional host dependencies and records the exact
|
||||
toolchain identities. The generated assets' exact sizes, hashes and embedded
|
||||
configure arguments are recorded in the application's `SOURCE.md`,
|
||||
`scripts/reviewed-ffmpeg-core-lock.json` and `docs/FFMPEG_BUILD.md`.
|
||||
|
||||
The source archive preserves each component's own licence and copyright
|
||||
notices. av-tools itself is distributed separately under
|
||||
@@ -37,14 +44,11 @@ test "$(git -C source-check rev-parse FETCH_HEAD)" = "<revision>"
|
||||
```
|
||||
|
||||
The included ffmpeg.wasm Dockerfile documents the historical upstream build,
|
||||
but still names remote tags and branches. It is not a turnkey offline or
|
||||
byte-for-byte reproducible build recipe. To reconstruct a pinned build,
|
||||
adapt each remote `ADD` to use the corresponding bundled source tree. Replace
|
||||
the zimg `git clone -b ... --recursive` step with the bundled `sources/zimg/`
|
||||
tree, which already contains its pinned GoogleTest submodule at
|
||||
`test/extra/googletest/`. Keep the included build scripts and Emscripten
|
||||
version unchanged. The upstream targets are `make prd` for single-thread and
|
||||
`make prd-mt` for multithread.
|
||||
but still names remote tags and branches. For the distributed reviewed
|
||||
profile, use this archive together with the matching av-tools source release
|
||||
and invoke its `scripts/build-reviewed-ffmpeg-core.sh` driver. The bundled
|
||||
`sources/zimg/` tree already contains its pinned GoogleTest submodule at
|
||||
`test/extra/googletest/`.
|
||||
|
||||
General-purpose build tooling such as Git, Docker/BuildKit and the Emscripten
|
||||
3.1.40 container image is not copied into this archive.
|
||||
|
||||
Reference in New Issue
Block a user