FFmpeg and ffprobe for Swale workflows. Backs the ffmpeg task.
198
Swale-built image backing the ffmpeg task definition. It is Debian's own
FFmpeg build — ffmpeg and ffprobe with the full CPU
codec set (libx264, libx265, libvpx, libaom, libsvtav1, libopus, ...) — on a
slim base, so a workflow can transcode, cut, stitch, extract frames from, or
assemble frames into video inside the shared workspace.
debian:13-slimffmpeg package from Debian 13 (FFmpeg 7.1), signed and
kept patched by Debian; nothing compiled hereswale (uid 1000)exec.args are the full command line
(bash -lc <script>), exactly like the bash task, with ffmpeg and
ffprobe on PATHWORKDIR /mnt/workspaceDebian's build lists the NVENC/NVDEC encoders (h264_nvenc, hevc_nvenc);
they need the NVIDIA driver, which is only present on a GPU compute type, and
the image does not request the driver's video capability — treat them as
unverified here and use the CPU encoders.
The ffmpeg task is free-form: the platform delivers the caller's script as
INPUT_SCRIPT, the command line writes it to /tmp/run.sh and executes it with
bash. Inside the script $WORKFLOW_STORAGE names the shared workspace and
$WORKFLOW_TASK_STORAGE the task's private scratch.
Each tag is the version of FFmpeg the image packages, such as 7.1.5. A
rebuild that keeps that version, to pick up a fixed base image or wrapper,
adds -r1, -r2, and so on. A tag is never reused; latest follows the
newest publish.
From the repository root:
docker build -t swaleio/ffmpeg:dev images/ffmpeg
Merging a change under images/ffmpeg publishes the image under its next tag;
task definitions reference it by digest.
Built from images/ffmpeg in the
swaleio/task-definitions repository. For how a task definition
references an image, see the
task definition reference
in the Swale documentation.
The Dockerfile is covered by the MIT License. FFmpeg as Debian builds it is GPL-2.0-or-later.
This image also contains software from other projects, each under its own
license. The license texts its Debian packages ship, FFmpeg's among them, are
inside the image, in /usr/share/doc/<package>/copyright. Source code for its
GPL and LGPL components, FFmpeg among them:
https://snapshot.debian.org/package/<source-package>/<version>/.
We also provide that source code on request: see
Third-party software.
docker pull swaleio/ffmpeg:latest