HUB
Sign inSign up
ffmpeg logo

swaleio/ffmpeg

By swaleio

•Updated 10 days ago

FFmpeg and ffprobe for Swale workflows. Backs the ffmpeg task.

Image
0

198

swaleio/ffmpeg repository overview

⁠ffmpeg

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.

  • Base: debian:13-slim
  • Installed: the ffmpeg package from Debian 13 (FFmpeg 7.1), signed and kept patched by Debian; nothing compiled here
  • User: non-root swale (uid 1000)
  • No ENTRYPOINT: the task's exec.args are the full command line (bash -lc <script>), exactly like the bash task, with ffmpeg and ffprobe on PATH
  • WORKDIR /mnt/workspace

Debian'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.

⁠Invocation

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.

⁠Tags

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.

⁠Building

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⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:c8f36e72a…
Size
191.5 MB
Last updated
10 days ago
docker pull swaleio/ffmpeg:latest