ffmpeg7.1
Build times (auto-updated)
- x86_64: 6m52s (2026-11-24 15:16 UTC, MAKEFLAGS=-j6)
- aarch64: 37m0s (2026-11-24 16:33 UTC, remote, MAKEFLAGS=-j4)
Build times (auto-updated)
- x86_64: 7m50s (2026-09-24 14:29 UTC, MAKEFLAGS=-j6)
- aarch64: 54m9s (2026-09-24 15:23 UTC, remote, MAKEFLAGS=-j4)
Migrated 2026-09-24 from local-install/ (untracked, plain AUR clone) to
adapted/ffmpeg7.1 (git-tracked) – see that date’s entry below for why. The
install_only_packages line for it is gone.
Built x86_64 only, purely as a dependency: [[makemkv]]’s makemkv-oss
component (libffabi/src/ffabi.c) needs AVCodec struct fields (ch_layouts,
sample_fmts, supported_samplerates) that current extra/ffmpeg (9.0.1)
removed. ffmpeg4.4 doesn’t exist on the AUR; ffmpeg7.1 was the closest available
versioned build still old enough to keep those fields.
Coinstallable by design, no RPATH hacking needed
This AUR package namespaces its headers under /usr/include/ffmpeg7.1/ and
its dev symlinks + pkgconfig under /usr/lib/ffmpeg7.1/
(--incdir/--libdir in its configure call) so it doesn’t clash with the
main ffmpeg package’s own /usr/include//usr/lib files. But the actual
soname-versioned runtime libraries (libavcodec.so.61 etc.) install
straight into the normal system libdir /usr/lib/ — since ffmpeg7.1 uses soname
61 and current extra/ffmpeg (9.0.1) uses soname 63, there’s no collision, and
any binary linked against ffmpeg7.1 finds its runtime .so.61 via the normal
ld.so cache with no RPATH or ld.so.conf.d entry required. To link something
against it at build time: -I /usr/include/ffmpeg7.1 and
-L/usr/lib/ffmpeg7.1 -lavcodec ... (or
PKG_CONFIG_PATH=/usr/lib/ffmpeg7.1/pkgconfig).
2026-08-14 build
Published x86_64 7.1.3-1 (ffmpeg7.1 + ffmpeg7.1-debug), clean build (large
dependency list, most already satisfied by the system’s existing multimedia
stack).
2026-08-27 rebuild (libbluray soname bump)
libbluray 1.5.0-1 landed in extra with soname bump (libbluray.so=3),
breaking the installed ffmpeg7.1 7.1.3-1 which was linked against soname 2.
AUR itself hadn’t bumped pkgver (still 7.1.3), so this was a packaging-only
rebuild: pkgrel bumped 1 -> 1.1 (X.Y scheme per
[[feedback_local_install_rebuilds]]), no source/PKGBUILD content changes.
Fresh clone + repo_release.sh, clean x86_64-only build, published without
incident. Old 7.1.3-1 archived normally.
2026-09-24: migrated to adapted/, aarch64 added
Needed a real local deviation (aarch64 added to arch=()) to unblock
[[makemkv]]’s aarch64 build – local-install/’s whole convention is
unmodified upstream PKGBUILDs (see [[feedback_local_install_rebuilds]]),
so this no longer fit there. Moved the working tree from
/data/INSTALL/ffmpeg7.1 (dropped its nested .git, since adapted/ isn’t
itself a submodule here) into arch/adapted/ffmpeg7.1, removed the
install_only_packages line.
Depended on [[svt-av1]] being built for aarch64 first (new
adapted/svt-av1, see its own memory file) – official extra/svt-av1 never had
an aarch64 build, and it’s this package’s only genuinely-missing dependency on
that arch (every other apparent gap from pacman -Si was a false negative
against a provides= match: jack2 satisfies jack, libglvnd satisfies libgl,
sdl2-compat satisfies sdl2, libvpl satisfies onevpl).
pkgrel 1.1 -> 1.2. Built + published clean: x86_64 (refresh, 7m50s) and
aarch64 (new, 54m9s on eurobuild14 with a temporary MAKEFLAGS=-j4 override,
reverted back to the standing -j1 right after this session’s builds – see
config/remote_build.conf).
Gotcha hit twice: eurobuild14’s local pacman db was stale right after each of
svt-av1’s and this package’s own publish – pacman -Si <newly-published-pkg>
returned nothing until a manual sudo pacman -Sy on the board. Worth doing
proactively before any remote build that depends on something just published
this same session.
i686 still not built for this package (arch=(x86_64 aarch64) only) – not
attempted, no immediate consumer needs it yet ([[makemkv]]’s own i686 arch
fails for exactly this reason, but that’s pending too).
2026-11-16 rebuild (libplacebo soname bump)
libplacebo 7.387.0-1 landed in extra (soname bump from .so=360 the
installed system had, confirmed via pacman -Si/-Qi), breaking the
installed ffmpeg7.1 7.1.3-1.2 (pacman -Syyu refused: “installing
libplacebo (7.387.0-1) breaks dependency ‘libplacebo.so=360-64’ required
by ffmpeg7.1”). Same class of issue as the 2026-08-27 libbluray bump –
packaging-only rebuild, no source/PKGBUILD content change, pkgrel
1.2 -> 1.3 (X.Y scheme). Ran scripts/update_pgp_key_dir.sh-equivalent
diligence wasn’t needed here (no validpgpkeys in this PKGBUILD).
eurobuild14 (the aarch64 remote board) was powered off when this
started – user brought the ARM cluster up mid-build. Local x86_64 leg
built first as usual (no remote dependency), giving enough time for the
board to come up before the aarch64 step. Checked readiness with a plain
ssh build@eurobuild14 'uptime' (showed up 0 min, i.e. just booted),
then sudo /root/mount_data.sh on it – first attempt failed
(Socket failed: No route to host reaching the NBD server eurobuild3,
right at boot), a few seconds’ retry succeeded once the board’s network
had settled. No need to kill/restart the already-running repo_release.sh
– it reached the aarch64 remote dispatch step naturally after the board
was confirmed ready, and that leg just worked.
Built + published clean: x86_64 and aarch64, old 1.2 archived on both.
2026-11-24: stale sodeps broke eurobuild14’s pacman -Syu; pkgrel 1.4 -> 1.5
Reported as a failing upgrade on eurobuild14 (aarch64):
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libjxl.so=0.12-64' required by ffmpeg7.1
:: unable to satisfy dependency 'libplacebo.so=360-64' required by ffmpeg7.1
Cause: ARM builds bake sodeps from the board’s own installed libraries.
remote_build.sh runs a plain makepkg -s directly on the board – the ARM
boards have no chroot/archbuild tooling at all – so the published aarch64
package recorded libjxl.so=0.12-64 / libplacebo.so=360-64 (verified
straight out of the published package’s .PKGINFO), matching what eurobuild14
had installed on 2026-11-20. ALARM has since moved to libjxl 0.13.0-1
(libjxl.so=0.13-64) and libplacebo 7.387.0-1 (libplacebo.so=387-64), so
pacman refused the upgrade. x86_64 was never affected – its 1.4 package
already required 0.13/387, since the local chroot syncs current libs.
The circularity, worth recognising immediately next time: the fix is a
rebuild, but a rebuild needs makepkg -s to install the new libjxl/
libplacebo on the board, which pacman refuses while the old ffmpeg7.1 is
still installed. So the board has to be cleared first. Here that was painless:
pacman -Qi ffmpeg7.1 on eurobuild14 showed Required By: None and
Install Reason: Installed as a dependency (makemkv isn’t installed there at
all) – i.e. an orphan, so a plain pacman -R ffmpeg7.1 sufficed, no -Rdd
and nothing to reinstall afterwards: a future makemkv aarch64 build will pull
the new one from our repo by itself.
pkgrel 1.4 -> 1.5 (packaging-only rebuild, per
[[feedback_pkgrel_vs_pkgver]]; X=1 still matches the AUR fork point).
Rebuilt both archs deliberately, not just the broken aarch64 one: leaving
x86_64 published at 1.4 against a 1.5 PKGBUILD would park a permanent CHANGED
row in OVERVIEW.md and get swept up by the next repo_release_changed.sh
cycle anyway, and x86_64 only costs ~8 min.
x86_64 1.5 published first try. aarch64 took three detours, none of them
about this package – all recorded in memory/TOOLING_NOTES.md under
2026-11-24: the cluster stop/start cycle had left /data (NBD) unmounted so
there was no /data/INSTALL staging tree; that surfaced as a phantom board
lock (remote_build_lock’s mkdir fails ENOENT on the missing parent and
fails closed, printing “already building something else” with an empty
holder name); and /root/mount_data.sh then couldn’t attach NBD because the
-Syu had upgraded linux-aarch64 out from under the running kernel, so
modprobe nbd had nothing to load until the board was rebooted.
After the reboot + mount_data.sh, the aarch64 build ran clean in 37m and
published. Verified the actual fix rather than assuming it – the
published package’s own .PKGINFO now reads
depend = libjxl.so=0.13-64 / depend = libplacebo.so=387-64 (was
0.12-64 / 360-64), and eurobuild14 resolves pacman -Sp ffmpeg7.1
to the 1.5 URL with nothing pending in -Sup. Both archs published, 1.4
archived on each.