Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / 
ffmpeg


Commits:
556a8bc7 by delthas at 2024-09-10T17:27:56+00:00
add support for ZeroMQ

ZeroMQ can be used in FFmpeg to dynamically control filters while
FFmpeg is running, by sending ZeroMQ messages to FFmpeg.

This is the only (good) way for scripts to interactively vary a
filter values in real time, for example to change the volume
applied to a source in real time in response to some user input.

ZeroMQ support is built in to the Debian [1] and Fedora [2]
packages at the time of writing, is quite small, and fits an
important need, so I believe it makes sense to add this to the
Archlinux build as well.

[1]: https://sources.debian.org/src/ffmpeg/7%3A7.0.2-3/debian/control/#L194
[2]: https://src.fedoraproject.org/rpms/ffmpeg/blob/main/f/ffmpeg.spec#_680

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -83,6 +83,7 @@ pkgbase = ffmpeg
        depends = x265
        depends = xvidcore
        depends = xz
+       depends = zeromq
        depends = zimg
        depends = zlib
        optdepends = avisynthplus: AviSynthPlus support
@@ -173,6 +174,7 @@ pkgname = ffmpeg
        depends = x265
        depends = xvidcore
        depends = xz
+       depends = zeromq
        depends = zimg
        depends = zlib
        depends = libass.so
@@ -197,4 +199,5 @@ pkgname = ffmpeg
        depends = libx264.so
        depends = libx265.so
        depends = libxvidcore.so
+       depends = libzmq.so
        depends = libzimg.so


=====================================
PKGBUILD
=====================================
@@ -79,6 +79,7 @@ depends=(
   x265
   xvidcore
   xz
+  zeromq
   zimg
   zlib
 )
@@ -205,6 +206,7 @@ build() {
     --enable-libxml2 \
     --enable-libxvid \
     --enable-libzimg \
+    --enable-libzmq \
     --enable-nvdec \
     --enable-nvenc \
     --enable-opencl \
@@ -243,6 +245,7 @@ package() {
     libx265.so
     libxvidcore.so
     libzimg.so
+    libzmq.so
   )
 
   make DESTDIR="${pkgdir}" -C ffmpeg install install-man



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/commit/556a8bc7ee4fb649a71d6144f867c87f9c300a33

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/commit/556a8bc7ee4fb649a71d6144f867c87f9c300a33
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to