HUB
Sign inSign up

ovalbee/ffmpeg-lgpl

By ovalbee

•Updated 19 days ago

LGPL FFmpeg with dav1d and SVT-AV1, PyAV wheels, and their source code.

Image
0

574

ovalbee/ffmpeg-lgpl repository overview

⁠OvalBee FFmpeg (LGPL) build base

A build base, not a runtime: the files OvalBee images copy in to read and write video. It holds FFmpeg⁠ 8.1.2 built without GPL or nonfree parts, with dav1d⁠ for AV1 decoding and SVT-AV1⁠ for AV1 encoding, the PyAV⁠ 18.1.0 wheels built against it, and the source code of all of it. Images are available for linux/amd64 and linux/arm64.

PathContents
/opt/ffmpeg/libThe FFmpeg, dav1d and SVT-AV1 shared libraries
/opt/ffmpeg/srcThe source archives they were built from, the build recipe and a README naming where each came from
/opt/ffmpeg/shareLicense texts, FFmpeg's configure flags, and the samples each image's PyAV must decode
/opt/pyavPyAV wheels for CPython 3.11 and 3.14, which find the libraries at /opt/ffmpeg/lib

An image takes it as a build stage, copies /opt/ffmpeg whole and installs the wheel for its Python:

FROM ovalbee/ffmpeg-lgpl:8.1.2-1 AS ffmpeg

COPY --from=ffmpeg /opt/ffmpeg /opt/ffmpeg
RUN --mount=from=ffmpeg,source=/opt/pyav,target=/tmp/pyav \
    pip install --no-deps /tmp/pyav/av-*-cp311-*.whl

The libraries link the glibc and zlib of Debian 13, which the Docker Hardened Images⁠ Python images that OvalBee builds on provide.

⁠Tags

The version is the FFmpeg version and a build number:

docker pull ovalbee/ffmpeg-lgpl:8.1.2-1

Build on a version tag. nightly is for development and testing.

⁠Source code

The corresponding source is in the image, next to the libraries, in /opt/ffmpeg/src: the unmodified FFmpeg, dav1d, SVT-AV1 and PyAV release archives, build.sh, build-requirements.txt and the Dockerfile. Its README gives each archive's download address and SHA-256. Every OvalBee image that ships these libraries carries the same directory. To copy it out:

docker create --name ffmpeg-lgpl-source ovalbee/ffmpeg-lgpl:8.1.2-1 none
docker cp ffmpeg-lgpl-source:/opt/ffmpeg/src ./ffmpeg-lgpl-source
docker rm ffmpeg-lgpl-source

The recipe is also on GitHub: nodes/docker/images/ffmpeg-lgpl⁠.

⁠License

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License, version 2.1⁠ for more details; its text is in /opt/ffmpeg/share/licenses/ffmpeg-COPYING.LGPLv2.1.

It is configured without --enable-gpl, --enable-version3 or --enable-nonfree; the flags are in /opt/ffmpeg/share/ffmpeg-configure-flags.txt. dav1d is licensed under the BSD 2-Clause License, SVT-AV1 under the BSD 3-Clause Clear License with the Alliance for Open Media Patent License 1.0, and PyAV under the BSD 3-Clause License; their texts are in /opt/ffmpeg/share/licenses. See also FFmpeg in THIRD-PARTY-NOTICES.md⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:7c150d676…
Size
61 MB
Last updated
19 days ago
docker pull ovalbee/ffmpeg-lgpl:nightly