[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: ffmpeg-jami: Enable pipewire support.
From: |
guix-commits |
Subject: |
06/08: gnu: ffmpeg-jami: Enable pipewire support. |
Date: |
Wed, 29 May 2024 21:42:03 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 9e5d9f4a2dce590e306ff99770cf51e55b5a8fab
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue May 28 23:27:36 2024 -0400
gnu: ffmpeg-jami: Enable pipewire support.
* gnu/packages/video.scm (ffmpeg-jami)
[arguments]: Update configure flags.
[inputs]: Add pipewire.
* gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch: Fix
includes.
Change-Id: Ife3bf532496bc06144c1cbbcea50e406a58ecc7a
---
.../patches/ffmpeg-jami-pipewiregrab-source-filter.patch | 4 +++-
gnu/packages/video.scm | 9 ++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch
b/gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch
index f2da4f478f..53b6ad7da2 100644
--- a/gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch
+++ b/gnu/packages/patches/ffmpeg-jami-pipewiregrab-source-filter.patch
@@ -75,7 +75,7 @@ new file mode 100644
index 0000000000..ff9c3468ab
--- /dev/null
+++ b/libavfilter/vsrc_pipewiregrab.c
-@@ -0,0 +1,1373 @@
+@@ -0,0 +1,1375 @@
+/*
+ * PipeWire input grabber (ScreenCast)
+ * Copyright (C) 2024 Savoir-faire Linux, Inc.
@@ -117,6 +117,8 @@ index 0000000000..ff9c3468ab
+#include <sys/mman.h>
+#include <sys/queue.h>
+
++#include "libavfilter/formats.h"
++#include "libavfilter/video.h"
+#include "libavutil/internal.h"
+#include "libavutil/mathematics.h"
+#include "libavutil/opt.h"
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2e7ba6d10e..0960410498 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2050,6 +2050,11 @@ audio/video codec library.")
"--disable-programs"
"--disable-postproc"
+ "--enable-libpipewire"
+ "--enable-filter=pipewiregrab"
+ "--enable-indev=lavfi"
+ "--enable-decoder=wrapped_avframe"
+
"--disable-protocols"
"--enable-protocol=crypto"
"--enable-protocol=file"
@@ -2257,7 +2262,9 @@ audio/video codec library.")
"--enable-encoder=vp8_vaapi"
"--enable-encoder=mjpeg_vaapi"
"--enable-encoder=hevc_vaapi")
- '())))))))
+ '())))))
+ (inputs (modify-inputs (package-inputs ffmpeg)
+ (append pipewire)))))
(define-public ffmpegthumbnailer
(package
- branch master updated (a3acb471d3 -> a05c130435), guix-commits, 2024/05/29
- 06/08: gnu: ffmpeg-jami: Enable pipewire support.,
guix-commits <=
- 05/08: gnu: dhtnet: Update to 0.0.1-3.7733109., guix-commits, 2024/05/29
- 04/08: gnu: pjproject-jami: Update to 2.13.1-2.797f1a3., guix-commits, 2024/05/29
- 07/08: gnu: jami: Update to 20240524.0., guix-commits, 2024/05/29
- 08/08: gnu: jami: Work toward reinstating functional tests., guix-commits, 2024/05/29
- 01/08: gnu: Add libgit2-1.8., guix-commits, 2024/05/29
- 03/08: gnu: opendht: Update to 3.1.11-0.318d02c., guix-commits, 2024/05/29
- 02/08: gnu: opendht: Update to 3.1.11., guix-commits, 2024/05/29