Source code
The video engine that runs in your browser on 20mb.net is free software under the GNU GPL version 2 or later. Here is its complete corresponding source code, on the same server that delivers the engine.
Engine version: FFmpeg 9.1, built with Emscripten 7.0.1. Full SHA-256 checksums: SHA256SUMS. Licenses: open-source licenses.
Source archives
| File | What it is | Size | SHA-256 |
|---|---|---|---|
| dav1d-1.5.5.tar.xz | dav1d 1.5.5 | 1.1 MB | ca96b1d0ba3f01f5… |
| emscripten-7.0.1-runtime-source.tar.xz | Emscripten 7.0.1 runtime sources linked into the engine (musl libc, libc++, libc++abi, compiler-rt, dlmalloc) and the JavaScript library used to generate ffw.mjs | 5.6 MB | 87a9c6180f3ae77f… |
| ffmpeg-9.1.tar.xz | FFmpeg 9.1 (official release archive) | 12.6 MB | 1a4d394ae63d190a… |
| ffmpeg-9.1.tar.xz.asc | FFmpeg release signature | 0.001 MB | 8c0bf6017492434e… |
| lame-4.0.tar.gz | LAME 4.0 | 1.5 MB | 3df5124d5ad3a983… |
| libvpx-1.17.0.tar.gz | libvpx 1.17.0 | 5.7 MB | 1020f184046187ba… |
| opus-1.6.1.tar.gz | Opus 1.6.1 | 10.5 MB | 6ffcb593207be925… |
| x264-b35605a.tar.gz | x264, stable branch at commit b35605ace3ddf7c1a5d67a2eb553f034aef41d55 | 1.0 MB | 2f93c7a0011865f3… |
| zimg-3.0.6.tar.gz | zimg 3.0.6 (release-3.0.6, with its submodule) | 1.2 MB | 7393f2304ec87d7f… |
| zlib-1.3.2.tar.gz | zlib 1.3.2 | 1.5 MB | bb329a0a2cd0274d… |
Build scripts and our code
The engine is built reproducibly with Docker from the archives above: docker build -f engine/Dockerfile engine --target dist --output type=local,dest=engine/dist. These files are exactly the ones used for the version on this site; build/ffw/ffw.c is our transcoder and build/ffmpeg-configuration.txt the exact FFmpeg configure line.
| File | What it is | Size | SHA-256 |
|---|---|---|---|
| build/scripts/build-ffmpeg-wasm.sh | 0.003 MB | 576a215953364f0a… | |
| build/scripts/build-ffw-wasm.sh | 0.002 MB | f53333160028479c… | |
| build/scripts/components.sh | 0.002 MB | 0ba199bc7274469f… | |
| build/scripts/emscripten.cross | 0.000 MB | 0070e4d417372d4a… | |
| build/scripts/env.sh | 0.001 MB | 2b04bd035ce35a3d… | |
| build/scripts/x264-version.sh | 0.000 MB | f8325a1f2a8b2c44… | |
| build/Dockerfile | 0.007 MB | 75289f80ad63145c… | |
| build/ffw/ffw.c | 0.066 MB | 2381714f57208e23… | |
| build/versions.json | 0.000 MB | 924a5835059f0ed2… | |
| build/BUILDING.md | 0.002 MB | 543660ee670c3f1a… | |
| build/ffmpeg-configuration.txt | 0.003 MB | 2a60732c3ea621d2… |
Website JavaScript (unminified)
The JavaScript that loads and drives the engine, in its original, readable form (MIT license):
- site-js/app.js
- site-js/calculator.js
- site-js/consent.js
- site-js/engine/compressor.js
- site-js/engine/formats.js
- site-js/engine/jobs.js
- site-js/engine/planner.js
- site-js/engine/pool.js
- site-js/engine/worker.js
Questions
If anything is missing or you would like the source on another medium, write to contact@20mb.net.