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

Upstream source archives used to build the engine
FileWhat it isSizeSHA-256
dav1d-1.5.5.tar.xzdav1d 1.5.51.1 MBca96b1d0ba3f01f5…
emscripten-7.0.1-runtime-source.tar.xzEmscripten 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.mjs5.6 MB87a9c6180f3ae77f…
ffmpeg-9.1.tar.xzFFmpeg 9.1 (official release archive)12.6 MB1a4d394ae63d190a…
ffmpeg-9.1.tar.xz.ascFFmpeg release signature0.001 MB8c0bf6017492434e…
lame-4.0.tar.gzLAME 4.01.5 MB3df5124d5ad3a983…
libvpx-1.17.0.tar.gzlibvpx 1.17.05.7 MB1020f184046187ba…
opus-1.6.1.tar.gzOpus 1.6.110.5 MB6ffcb593207be925…
x264-b35605a.tar.gzx264, stable branch at commit b35605ace3ddf7c1a5d67a2eb553f034aef41d551.0 MB2f93c7a0011865f3…
zimg-3.0.6.tar.gzzimg 3.0.6 (release-3.0.6, with its submodule)1.2 MB7393f2304ec87d7f…
zlib-1.3.2.tar.gzzlib 1.3.21.5 MBbb329a0a2cd0274d…

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.

Build scripts
FileWhat it isSizeSHA-256
build/scripts/build-ffmpeg-wasm.sh0.003 MB576a215953364f0a…
build/scripts/build-ffw-wasm.sh0.002 MBf53333160028479c…
build/scripts/components.sh0.002 MB0ba199bc7274469f…
build/scripts/emscripten.cross0.000 MB0070e4d417372d4a…
build/scripts/env.sh0.001 MB2b04bd035ce35a3d…
build/scripts/x264-version.sh0.000 MBf8325a1f2a8b2c44…
build/Dockerfile0.007 MB75289f80ad63145c…
build/ffw/ffw.c0.066 MB2381714f57208e23…
build/versions.json0.000 MB924a5835059f0ed2…
build/BUILDING.md0.002 MB543660ee670c3f1a…
build/ffmpeg-configuration.txt0.003 MB2a60732c3ea621d2…

Website JavaScript (unminified)

The JavaScript that loads and drives the engine, in its original, readable form (MIT license):

Questions

If anything is missing or you would like the source on another medium, write to contact@20mb.net.