@blit-sh/bin-gpl
v0.55.1
Published
Installs the prebuilt GPL (x264) blit binary for your Linux platform; default export is the binary path.
Maintainers
Readme
@blit-sh/bin-gpl
The GPL flavor of the blit binary, distributed via npm. It is
the same build as @blit-sh/bin
except that software H.264 encodes with x264 (GPL-2.0-or-later) instead of
openh264: better compression, and 4:4:4 rather than 4:2:0. Linux only — x64 and
arm64, glibc and musl.
Installing it pulls in exactly one prebuilt package for your platform
(@blit-sh/bin-gpl-linux-<cpu>[-musl]) through optional dependencies.
The default export is the absolute path to the executable:
const blit = require("@blit-sh/bin-gpl");
require("child_process").spawn(blit, ["open"], { stdio: "inherit" });There is no blit CLI shim here, so this package can be installed next to
@blit-sh/bin. For the GPL binary on your PATH use
curl -sf https://install.blit.sh | BLIT_GPL=1 sh.
This binary includes libx264 and is therefore covered by GPL-2.0-or-later.
Complete corresponding source: https://github.com/indent-com/blit
(x264: https://code.videolan.org/videolan/x264). blit --license prints the
exact terms.
