Move librist from EXTERNAL_LIBRARY_LIST to EXTERNAL_AUTODETECT_LIBRARY_LIST
so that ffmpeg's RIST input and output protocol are available out of
the box on any system where libRIST is installed, matching the
behaviour of other system-level integration libraries already in the
autodetect list (zlib, sdl2, schannel, securetransport, ...).

libRIST is a BSD 2-Clause implementation of the VSF TR-06-1 / TR-06-2
RIST specifications. It has stabilised since the previous required-
version bump (0.2.7 in 2022, now 0.2.15 in 2026) and is broadly
packaged.

A non-exhaustive survey, per Repology:

  Linux:
    Alpine (community), Arch (extra), Chimera (main), Debian (main,
    since 12/bookworm), Devuan, Fedora (since 38), EPEL 9/10, Gentoo
    (net-libs), Kali, Mageia, Manjaro, MX Linux, NixOS / nixpkgs
    (since 23.11), openmamba, openSUSE Leap and Tumbleweed, Parabola,
    Parrot, PLD, Pisi, PureOS, Raspbian, Rosa, SlackBuilds, Solus,
    T2 SDE, Ubuntu (since 24.04 noble), Void Linux.

  macOS:
    Homebrew (current 0.2.15).

  Windows:
    MSYS2 in all four toolchain variants (mingw64, ucrt64, clang64,
    clangarm64). Shipped indirectly via VLC's contrib on official
    Windows builds.

  BSD:
    FreeBSD Ports (multimedia/librist).

The current default-disabled posture means the typical distribution
ffmpeg build omits RIST input/output even though libRIST is installed
on the same system. The asymmetry is not by design - it predates
libRIST being widely packaged - and end users with libRIST installed
expect to be able to use it from ffmpeg without rebuilding from source
with --enable-librist.

End users who want to exclude librist explicitly can pass
--disable-librist, exactly as with any other autodetected library.
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f17ae9b095..e704a46f12 100755
--- a/configure
+++ b/configure
@@ -269,7 +269,7 @@ External library support:
   --enable-libquirc        enable QR decoding via libquirc [no]
   --enable-librabbitmq     enable RabbitMQ library [no]
   --enable-librav1e        enable AV1 encoding via rav1e [no]
-  --enable-librist         enable RIST via librist [no]
+  --enable-librist         enable RIST via librist [autodetect]
   --enable-librsvg         enable SVG rasterization via librsvg [no]
   --enable-librubberband   enable rubberband needed for rubberband filter [no]
   --enable-librtmp         enable RTMP[E] support via librtmp [no]
@@ -2015,6 +2015,7 @@ EXTERNAL_AUTODETECT_LIBRARY_LIST="
     bzlib
     coreimage
     iconv
+    librist
     libxcb
     libxcb_shm
     libxcb_shape
@@ -2122,7 +2123,6 @@ EXTERNAL_LIBRARY_LIST="
     libquirc
     librabbitmq
     librav1e
-    librist
     librsvg
     librtmp
     libshaderc
-- 
2.45.1

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to