debian/ffmpeg-v4l2-request-fourier: new package

Mirror of arch/ffmpeg-v4l2-request-fourier into the Debian tree.
Same source pin (Kwiboo v4l2-request-n8.1 @ b57fbbe), same 2
patches (libudev-bypass-fallback + nv15-to-p010-unpack), same
configure flag policy (drop X11/AMF/CUDA/Bluray/Vulkan/SDL2/etc.
per Fourier fleet focus).

Output: single .deb at /usr/bin/ffmpeg + /usr/bin/ffprobe +
/usr/lib/aarch64-linux-gnu/libav*.so.61.  Conflicts/Replaces
the stock Debian ffmpeg + per-lib packages; takes epoch 2
(matches Debian's existing ffmpeg epoch).

Provides 'ffmpeg -hwaccel v4l2request' + '-hwaccel drm' routes
that drive rkvdec / hantro / cedrus / rpi-hevc-dec /
daedalus_v4l2 stateless decoders through libavcodec's hwdevice
DRM path, bypassing libva.  Required by mpv-fourier and
firefox-fourier as their backing FFmpeg; also the kdirect
bit-exact reference for libva-v4l2-request-fourier validation.

NOT strictly required for the VAAPI-only path on
daedalus-v4l2 hosts (stock Debian ffmpeg + libva-v4l2-request-
fourier covers that).  Install only when going firefox-fourier
or kdirect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-18 19:01:18 +00:00
parent 1bd11eaf27
commit 45f4b5e56f
6 changed files with 617 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
ffmpeg-v4l2-request-fourier (2:8.1+rfourier+gb57fbbe-1) bookworm trixie; urgency=medium
* Initial Debian packaging for the Kwiboo FFmpeg fork with V4L2
Request API hwaccel patches.
* Mirror of arch/ffmpeg-v4l2-request-fourier (same pin b57fbbe,
same configure flags, same 2 patches: libudev-bypass-fallback +
nv15-to-p010-unpack).
* Drop-in replacement for Debian's stock ffmpeg + libav*; takes
epoch 2 to win the apt version comparison.
* Required by mpv-fourier and firefox-fourier; not strictly
required for the VAAPI-only path on daedalus-v4l2 hosts (stock
libva + Debian ffmpeg works there).
-- Markus Fritsche <mfritsche@reauktion.de> Mon, 18 May 2026 23:00:00 +0000
+61
View File
@@ -0,0 +1,61 @@
Source: ffmpeg-v4l2-request-fourier
Section: video
Priority: optional
Maintainer: Markus Fritsche <mfritsche@reauktion.de>
Build-Depends: debhelper-compat (= 13),
git,
nasm,
pkg-config,
libass-dev,
libdrm-dev,
libfontconfig1-dev,
libfreetype6-dev,
libfribidi-dev,
libgnutls28-dev,
libmp3lame-dev,
libopus-dev,
libpulse-dev,
libudev-dev,
libv4l-dev,
libva-dev,
libvorbis-dev,
libvpx-dev,
libwebp-dev,
libx264-dev,
libx265-dev,
libxml2-dev,
libdav1d-dev,
linux-libc-dev
Standards-Version: 4.6.2
Homepage: https://github.com/Kwiboo/FFmpeg
Package: ffmpeg-v4l2-request-fourier
Architecture: arm64
Depends: ${misc:Depends}, ${shlibs:Depends}
Conflicts: ffmpeg,
libavcodec61, libavformat61, libavutil59,
libswresample5, libswscale8, libavdevice61, libavfilter10,
libpostproc58
Replaces: ffmpeg,
libavcodec61, libavformat61, libavutil59,
libswresample5, libswscale8, libavdevice61, libavfilter10,
libpostproc58
Provides: ffmpeg (= ${binary:Version}),
libavcodec.so.61,
libavformat.so.61,
libavutil.so.59
Description: FFmpeg with V4L2 Request API hwaccel (Kwiboo fork)
FFmpeg 8.1 patched with the V4L2 Request API stateless video decoder
hwaccel — Kwiboo's long-running rebase of Jernej Škrabec's
v4l2-request patchset onto FFmpeg release tags.
.
Provides 'ffmpeg -hwaccel v4l2request' / '-hwaccel drm' routes that
drive rkvdec / hantro / cedrus / rpi-hevc-dec / daedalus_v4l2
stateless decoders directly through libavcodec's hwdevice DRM path,
bypassing libva. Used by mpv-fourier and firefox-fourier as their
backing FFmpeg, and as the kdirect bit-exact reference in
libva-v4l2-request-fourier validation.
.
Drops X11/AMF/CUDA/Bluray/JACK/Vulkan/SDL2/Theora/XVid/Speex/JPEG-XL
per Fourier fleet policy (Wayland + ARM + video-decode focus). No
'ffplay' binary; mpv-fourier covers interactive playback.
+21
View File
@@ -0,0 +1,21 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: FFmpeg (Kwiboo v4l2-request fork)
Upstream-Contact: Niklas Haas <niklas@haasn.dev>, Jernej Škrabec, Kwiboo
Source: https://github.com/Kwiboo/FFmpeg
Files: *
Copyright: 2000-2026 The FFmpeg developers
License: GPL-3.0-or-later
Files: 0001-libudev-bypass-fallback.patch 0002-nv15-to-p010-unpack.patch
Copyright: 2024-2026 Markus Fritsche <fritsche.markus@gmail.com>
License: GPL-3.0-or-later
License: GPL-3.0-or-later
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
On Debian systems, the complete text of the GNU General Public
License v3 can be found in `/usr/share/common-licenses/GPL-3'.