Skip to content
azsupportPublic

About

FFmpeg and ImageMagick 7 for Ubuntu 22.04 and 24.04 and Debian 12 and 13: current releases with the fixes the distributions lack, NVIDIA NVENC, NVDEC and CUDA, in a signed apt repository for amd64 (x86-64-v3, v2)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deb.azsupport.dev

FFmpeg 9.1 and ImageMagick 7 for Ubuntu 24.04 and 22.04 and Debian 13 and 12: current, hardened, limited to the formats a site needs, updated with apt upgrade. README.ru.md: по-русски.

Not affiliated with Canonical, the Debian Project, FFmpeg or ImageMagick. Provided as is, without warranty, by aZsupport.com.

Why

On Ubuntu, ffmpeg and imagemagick are in universe: a free apt upgrade brings them no security fixes, Ubuntu gives those to the subscribers of Ubuntu Pro only. By Ubuntu's own security notices (USN), counted on 25.11.2026:

What Ubuntu 22.04 Ubuntu 24.04
ffmpeg 4.4.2, the last free update of 19.05.2022 6.1.1, no free update since its package of 05.04.2024
ImageMagick 6.9.11-60, no ImageMagick 7 6.9.12-98, no ImageMagick 7
CVEs Ubuntu has fixed, open without Pro (ffmpeg, ImageMagick and the libraries they load) 223 180

A server that turns uploaded files into video and pictures also needs fewer formats, not more: the ffmpeg of Ubuntu reads 341 (22.04) and 367 (24.04) formats and speaks 35 and 40 network protocols; its ImageMagick opens SVG, MSL scripts and the text files of the server (text:), and on 24.04 PostScript through Ghostscript.

What you get

What In detail
Current FFmpeg 9.1 and ImageMagick 7.1.2, and their libraries current too (libheif, libde265, dav1d, SVT-AV1, x264, FreeType, libpng, libwebp, ...), all inside the programs: of the system ffmpeg takes only libc, libm and zlib
Hardened PIE, full RELRO (BIND_NOW), _FORTIFY_SOURCE=2, the stack protector and the stack clash protection in every program; the ffmpeg of Ubuntu 24.04 loads 215 libraries, 80 of them without BIND_NOW, its ImageMagick 232 libraries and modules, 164 without
Only what a site needs ffmpeg: a short list of formats and decoders, the protocols file and pipe only; ImageMagick: JPEG, PNG, WebP, GIF, BMP, HEIC and AVIF, and a policy that refuses the rest (SVG, PDF, PostScript, MSL, TIFF, text:, URLs, @ files)
Lighter JPEG ImageMagick and an own JPEG encoder of ffmpeg on mozjpeg: at the same quality a file is 6.5% smaller than with libjpeg-turbo (the median of 24 photos); the accurate DCT at any quality; a thumbnail straight from the frame of a video, compressed once and in its colours
Plays everywhere H.264 always 8-bit 4:2:0 in the limited range, which phones and Safari play, also from a 10-bit or 4:2:2 source
NVIDIA NVENC (H.264, HEVC, AV1), NVDEC and the CUDA filters with a driver 530.41 or newer; without a GPU ffmpeg works as usual
Tested the tests of the FreeBSD packages of azsupport/ports, about 200 checks of ffmpeg and 80 of ImageMagick, on all eight builds (four releases, two processor levels)
Updated by apt the repository is made anew right after each build and comes with apt upgrade; the version before the newest stays in the pool for a way back

FFmpeg is built with the AAC encoder libfdk_aac (--enable-nonfree): FFmpeg calls such a build unredistributable; it is here on the owner's responsibility until the nonfree part goes, as its package for FreeBSD in azsupport/ports.

Contents

The packages

The apt repository of azsupport for Ubuntu 24.04 (noble) and 22.04 (jammy) and for Debian 13 (trixie) and 12 (bookworm), amd64:

  • azsupport-ffmpeg — FFmpeg 9.1 (/usr/local/bin/ffmpeg, ffprobe), with the NVIDIA codecs and CUDA filters;
  • azsupport-imagemagick7 — ImageMagick 7 (/usr/local/bin/magick and convert, identify…), with a strict policy.

They are built by azsupport/ports (tools/ubuntu/, the workflow ubuntu.yml: the versions, patches and options of its FreeBSD packages, the libraries inside the programs) and published in its releases azsupport-<ubuntu24|ubuntu22|debian13|debian12>-amd64-<v3|v2> (each built on its release); this repository makes the apt repository of them (tools/build.sh, the workflow apt.yml, on GitHub Pages: run right after each new build, and by an hourly schedule, which GitHub runs every few hours).

Install

The level of the processor:

/lib64/ld-linux-x86-64.so.2 --help | grep supported

x86-64-v3 (or x86-64-v4) — the component v3; only x86-64-v2 — v2. A package of the wrong level refuses to install.

sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL -o /etc/apt/keyrings/azsupport.gpg https://deb.azsupport.dev/azsupport.gpg
echo "deb [signed-by=/etc/apt/keyrings/azsupport.gpg] https://deb.azsupport.dev $(. /etc/os-release && echo $VERSION_CODENAME) v3" | sudo tee /etc/apt/sources.list.d/azsupport.list
sudo apt-get update
sudo apt-get install -y azsupport-ffmpeg azsupport-imagemagick7

The release (noble, jammy, trixie, bookworm) is that of /etc/os-release. As root where sudo is not installed (Debian with a root password): the same lines without sudo; where curl is missing, apt-get install -y curl ca-certificates first.

The updates come with apt-get upgrade. To remove: sudo apt-get remove -y azsupport-ffmpeg azsupport-imagemagick7.

The key

066D1CFEC0E3E3FA2CBA4B64261ACA1444125709 — aZ <github@azsupport.com>, RSA 4096:

gpg --show-keys /etc/apt/keyrings/azsupport.gpg

Layout

pool/<v3|v2>/a/<package>/<package>_<version>_amd64.deb
dists/<noble|jammy|trixie|bookworm>/<v3|v2>/binary-amd64/Packages(.gz, .xz)
dists/<noble|jammy|trixie|bookworm>/Release, InRelease, Release.gpg
azsupport.gpg, azsupport.asc

The version before the newest stays in the pool and in Packages until the next one. The files of each suite are its own builds (the versions end in ~ubuntu24.04, ~ubuntu22.04, ~debian13, ~debian12). A suite and level that ports has not published yet, and the site has not either, is left out with a warning.

Credits and licenses

  • This repository and the builds (the build of azsupport/ports, tools/ubuntu): aZsupport.com: lease, setup and administration of FreeBSD and Linux dedicated web servers since 2004, with monthly managed support (24/7 monitoring, security patching, backups) for projects where downtime costs money.
  • FFmpeg, ImageMagick and their libraries: each under its own licence, in the package (/usr/local/share/licenses/, /usr/local/share/doc/<package>/licenses/); the note on the licence of FFmpeg is in What you get.
  • The files of this repository written for it: BSD-2-Clause, see LICENSE.

About

FFmpeg and ImageMagick 7 for Ubuntu 22.04 and 24.04 and Debian 12 and 13: current releases with the fixes the distributions lack, NVIDIA NVENC, NVDEC and CUDA, in a signed apt repository for amd64 (x86-64-v3, v2)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages