extra/gstreamer to 1.24.9-1

This commit is contained in:
Kevin Mihelich 2024-10-31 13:30:30 +00:00
parent 129f537bef
commit 5f9756d35b
5 changed files with 380 additions and 236 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gstreamer
pkgdesc = Multimedia graph framework
pkgver = 1.24.8
pkgver = 1.24.9
pkgrel = 1
url = https://gstreamer.freedesktop.org/
arch = x86_64
@ -9,12 +9,14 @@ pkgbase = gstreamer
makedepends = a52dec
makedepends = aalib
makedepends = alsa-lib
makedepends = aom
makedepends = bash-completion
makedepends = bluez-libs
makedepends = bzip2
makedepends = cairo
makedepends = cdparanoia
makedepends = chromaprint
makedepends = curl
makedepends = faac
makedepends = faad2
makedepends = ffmpeg
@ -23,6 +25,7 @@ pkgbase = gstreamer
makedepends = gcc-libs
makedepends = gdk-pixbuf2
makedepends = git
makedepends = glib2
makedepends = glib2-devel
makedepends = glibc
makedepends = gobject-introspection
@ -31,16 +34,20 @@ pkgbase = gstreamer
makedepends = gtk3
makedepends = hicolor-icon-theme
makedepends = imath
makedepends = iso-codes
makedepends = jack2
makedepends = json-glib
makedepends = ladspa
makedepends = lame
makedepends = lcms2
makedepends = libass
makedepends = libavc1394
makedepends = libavtp
makedepends = libbs2b
makedepends = libcaca
makedepends = libcap
makedepends = libcdio
makedepends = libdc1394
makedepends = libdca
makedepends = libde265
makedepends = libdrm
@ -54,7 +61,7 @@ pkgbase = gstreamer
makedepends = libgme
makedepends = libgudev
makedepends = libiec61883
makedepends = libjpeg
makedepends = libjpeg-turbo
makedepends = liblc3
makedepends = libldac
makedepends = liblrdf
@ -69,14 +76,20 @@ pkgbase = gstreamer
makedepends = libpng
makedepends = libpulse
makedepends = libraw1394
makedepends = librsvg
makedepends = libshout
makedepends = libsndfile
makedepends = libsoup3
makedepends = libsrtp
makedepends = libtheora
makedepends = libunwind
makedepends = libusb
makedepends = libva
makedepends = libvorbis
makedepends = libvpl
makedepends = libvpx
makedepends = libwebp
makedepends = libwpe
makedepends = libx11
makedepends = libxcb
makedepends = libxdamage
@ -102,6 +115,11 @@ pkgbase = gstreamer
makedepends = openal
makedepends = opencore-amr
makedepends = opencv
makedepends = openexr
makedepends = openh264
makedepends = openjpeg2
makedepends = openmpi
makedepends = openssl
makedepends = opentimelineio
makedepends = opus
makedepends = orc
@ -117,6 +135,7 @@ pkgbase = gstreamer
makedepends = qt5-tools
makedepends = qt5-wayland
makedepends = qt5-x11extras
makedepends = qt6-base
makedepends = qt6-declarative
makedepends = qt6-shadertools
makedepends = qt6-tools
@ -129,6 +148,7 @@ pkgbase = gstreamer
makedepends = soundtouch
makedepends = spandsp
makedepends = speex
makedepends = srt
makedepends = svt-av1
makedepends = svt-hevc
makedepends = systemd-libs
@ -144,23 +164,25 @@ pkgbase = gstreamer
makedepends = wayland-protocols
makedepends = webrtc-audio-processing-1
makedepends = wildmidi
makedepends = wpebackend-fdo
makedepends = wpewebkit
makedepends = x264
makedepends = x265
makedepends = zbar
makedepends = zlib
makedepends = zvbi
makedepends = zxing-cpp
source = git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git?signed#tag=1.24.8
source = https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-1.24.8.tar.xz
source = https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-1.24.8.tar.xz.asc
source = git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git?signed#tag=1.24.9
source = https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-1.24.9.tar.xz
source = https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-1.24.9.tar.xz.asc
source = 0001-HACK-meson-Disable-broken-tests.patch
source = 0002-ges-Fix-name-of-GESFrameCompositionMeta-API-type.patch
source = 0002-x265enc-Unbreak-build-with-x265-4.0.patch
validpgpkeys = D637032E45B8C6585B9456565D2EEE6F6F349D7C
b2sums = ecdcf29ad346dc4aff966b34b4c68ac9e742b29bac86a33b289f06f213d563ac3c9264768a409c70c032694ccbfd246f772b67097456647c96c869aecd56ff96
b2sums = 5330ad9313cfcfbdd0514f8f8164440c4eb3605a1e17dda8b7a024f3c986a97042575fedd3e54d4c1b0a1476918cdbb1d1d1ee46b173d235f5e3ed34d40bf39a
b2sums = 53c72d3d88d48ab5bfe114f0d5ae8e224469811552000cba8952b8f64e8b283266bc6a397fc72586acce94439baba1a4b0ede17190e07eae83c2104ef6117461
b2sums = 45a454b6b53a16b89cf1e9bac5928f7886e666b0c82fa0cc9610a09bf35871424f291e8bdd1ae4f7fba6e18a8c98c846a2d8024b9df3ce3043e8074b912e58ff
b2sums = SKIP
b2sums = 9e277b0373c024d9ec0175e7a036f85152ce145b40d62105e660ca4f466ee0a2d70c68c11c4e6929e46117380482c70957e08e3bf6b5aca1ea0e2c7d4360f317
b2sums = ac31a75ad3086e26045d02d917fd1c0f155b9e1a6ea82aa8aaf9687500a129b80be82947f6a07928399570920bdbc829d6ff1b79d0b30538606d056a76aaab05
b2sums = b58019ca02e388925af02a98d6cc7b2c7f67692bb25b7d947f0759669c13027a069cbadd20c1119b98020085341199b5a7085ba32cc28777ed60bd2a2647d845
b2sums = 23596f6e5ba9628629f9fca36e3518427ffacdc54505224b4a6e6f039bb3fc168e20093c645b1c093ceb8280fe549a2f6d2af857afad55c28fcc5f9f26917e44
pkgname = gstreamer
pkgdesc = Multimedia graph framework - core
@ -175,8 +197,8 @@ pkgname = gstreamer
pkgname = gst-plugins-bad-libs
pkgdesc = Multimedia graph framework - bad
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
@ -198,7 +220,7 @@ pkgname = gst-plugins-bad-libs
pkgname = gst-plugins-base-libs
pkgdesc = Multimedia graph framework - base
depends = gstreamer=1.24.8-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = iso-codes
@ -217,15 +239,15 @@ pkgname = gst-plugins-base-libs
pkgname = gst-plugins-base
pkgdesc = Multimedia graph framework - base plugins
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = alsa-lib
depends = cairo
depends = cdparanoia
depends = glib2
depends = glibc
depends = graphene
depends = libjpeg
depends = libjpeg-turbo
depends = libogg
depends = libpng
depends = libtheora
@ -236,8 +258,8 @@ pkgname = gst-plugins-base
pkgname = gst-plugins-good
pkgdesc = Multimedia graph framework - good plugins
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = aalib
depends = bzip2
depends = cairo
@ -252,7 +274,7 @@ pkgname = gst-plugins-good
depends = libdv
depends = libgudev
depends = libiec61883
depends = libjpeg
depends = libjpeg-turbo
depends = libpng
depends = libpulse
depends = libraw1394
@ -279,9 +301,9 @@ pkgname = gst-plugins-good
pkgname = gst-plugins-bad
pkgdesc = Multimedia graph framework - bad plugins
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = aom
depends = bzip2
depends = cairo
@ -327,6 +349,7 @@ pkgname = gst-plugins-bad
depends = nettle
depends = openal
depends = openexr
depends = openh264
depends = openjpeg2
depends = openssl
depends = opus
@ -347,111 +370,10 @@ pkgname = gst-plugins-bad
depends = zvbi
depends = zxing-cpp
pkgname = gst-plugin-gtk
pkgdesc = Multimedia graph framework - gtk plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = cairo
depends = glib2
depends = glibc
depends = gtk3
depends = wayland
pkgname = gst-plugin-msdk
pkgdesc = Multimedia graph framework - msdk plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = glib2
depends = glibc
depends = libdrm
depends = libgudev
depends = libva
depends = libvpl
pkgname = gst-plugin-onnx
pkgdesc = Multimedia graph framework - onnx plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = onnxruntime
pkgname = gst-plugin-opencv
pkgdesc = Multimedia graph framework - opencv plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = opencv
pkgname = gst-plugin-qml6
pkgdesc = Multimedia graph framework - qml6 plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libglvnd
depends = qt6-base
depends = qt6-declarative
depends = qt6-wayland
pkgname = gst-plugin-qmlgl
pkgdesc = Multimedia graph framework - qmlgl plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libglvnd
depends = qt5-base
depends = qt5-declarative
depends = qt5-wayland
depends = qt5-x11extras
pkgname = gst-plugin-qsv
pkgdesc = Multimedia graph framework - qsv plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
optdepends = intel-media-sdk: runtime for legacy Intel GPUs
optdepends = onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs
pkgname = gst-plugin-va
pkgdesc = Multimedia graph framework - va plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = glib2
depends = glibc
depends = libgudev
depends = libva
pkgname = gst-plugin-wpe
pkgdesc = Multimedia graph framework - wpe plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libwpe
depends = libxkbcommon
depends = wayland
depends = wpebackend-fdo
depends = wpewebkit
pkgname = gst-plugins-ugly
pkgdesc = Multimedia graph framework - ugly plugins
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = a52dec
depends = glib2
depends = glibc
@ -463,17 +385,119 @@ pkgname = gst-plugins-ugly
pkgname = gst-libav
pkgdesc = Multimedia graph framework - libav plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = ffmpeg
depends = glib2
depends = glibc
provides = gst-ffmpeg=1.24.8-1
provides = gst-ffmpeg=1.24.9-1
pkgname = gst-plugin-gtk
pkgdesc = Multimedia graph framework - gtk plugin
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = cairo
depends = glib2
depends = glibc
depends = gtk3
depends = wayland
pkgname = gst-plugin-msdk
pkgdesc = Multimedia graph framework - msdk plugin
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = libdrm
depends = libgudev
depends = libva
depends = libvpl
pkgname = gst-plugin-onnx
pkgdesc = Multimedia graph framework - onnx plugin
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = onnxruntime
depends = openmpi
pkgname = gst-plugin-opencv
pkgdesc = Multimedia graph framework - opencv plugin
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = opencv
pkgname = gst-plugin-qml6
pkgdesc = Multimedia graph framework - qml6 plugin
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libglvnd
depends = qt6-base
depends = qt6-declarative
depends = qt6-wayland
pkgname = gst-plugin-qmlgl
pkgdesc = Multimedia graph framework - qmlgl plugin
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libglvnd
depends = qt5-base
depends = qt5-declarative
depends = qt5-wayland
depends = qt5-x11extras
pkgname = gst-plugin-qsv
pkgdesc = Multimedia graph framework - qsv plugin
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
optdepends = intel-media-sdk: runtime for legacy Intel GPUs
optdepends = onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs
pkgname = gst-plugin-va
pkgdesc = Multimedia graph framework - va plugin
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = libgudev
depends = libva
pkgname = gst-plugin-wpe
pkgdesc = Multimedia graph framework - wpe plugin
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = gcc-libs
depends = glib2
depends = glibc
depends = libwpe
depends = libxkbcommon
depends = wayland
depends = wpebackend-fdo
depends = wpewebkit
pkgname = gst-devtools-libs
pkgdesc = Multimedia graph framework - development and debugging libraries
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = json-glib
@ -482,11 +506,11 @@ pkgname = gst-devtools-libs
pkgname = gst-devtools
pkgdesc = Multimedia graph framework - development and debugging tools
depends = gst-devtools-libs=1.24.8-1
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gst-rtsp-server=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-devtools-libs=1.24.9-1
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gst-rtsp-server=1.24.9-1
depends = gstreamer=1.24.9-1
depends = cairo
depends = glib2
depends = glibc
@ -500,8 +524,8 @@ pkgname = gst-devtools
pkgname = gst-rtsp-server
pkgdesc = Multimedia graph framework - rtsp server
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = orc
@ -509,10 +533,10 @@ pkgname = gst-rtsp-server
pkgname = gst-editing-services
pkgdesc = Multimedia graph framework - editing services
depends = gst-devtools-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gst-python=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-devtools-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gst-python=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = json-glib
@ -525,9 +549,9 @@ pkgname = gst-editing-services
pkgname = gstreamer-vaapi
pkgdesc = Multimedia graph framework - vaapi plugin
depends = gst-plugins-bad-libs=1.24.8-1
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-bad-libs=1.24.9-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = libglvnd
@ -539,8 +563,8 @@ pkgname = gstreamer-vaapi
pkgname = gst-python
pkgdesc = Multimedia graph framework - python plugin
depends = gst-plugins-base-libs=1.24.8-1
depends = gstreamer=1.24.8-1
depends = gst-plugins-base-libs=1.24.9-1
depends = gstreamer=1.24.9-1
depends = glib2
depends = glibc
depends = python

View file

@ -52,7 +52,7 @@ index 1d347b0a54ea..1ee4babf36ae 100644
/* tests checking the MPD management
* (eg. setting active streams, obtaining attributes values)
diff --git a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
index 708dd44ed74c..138090bf107b 100644
index ebc7f2e389fc..858e9c706c5f 100644
--- a/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
+++ b/subprojects/gst-plugins-bad/tests/check/elements/lc3.c
@@ -353,9 +353,6 @@ lc3_suite (void)
@ -122,10 +122,10 @@ index 6efa928fb09b..1f1950ef323d 100644
tcase_add_test (tc_chain, test_video_caps_change_streamable);
tcase_add_test (tc_chain, test_audio_caps_change_streamable_single);
diff --git a/subprojects/gstreamer-vaapi/meson.build b/subprojects/gstreamer-vaapi/meson.build
index 8f328d622f54..14cfbf412101 100644
index 1a8301f9e281..00ba3c45887a 100644
--- a/subprojects/gstreamer-vaapi/meson.build
+++ b/subprojects/gstreamer-vaapi/meson.build
@@ -218,7 +218,6 @@ plugins = []
@@ -214,7 +214,6 @@ plugins = []
subdir('gst-libs')
subdir('gst')

View file

@ -1,25 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Fri, 20 Sep 2024 01:44:53 +0200
Subject: [PATCH] ges: Fix name of GESFrameCompositionMeta API type
g-ir-scanner 1.82.0 failed with a fatal error due to the wrong
namespace.
---
.../gst-editing-services/ges/ges-frame-composition-meta.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c b/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c
index d8c5a5251309..1ad7b6cfe4c7 100644
--- a/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c
+++ b/subprojects/gst-editing-services/ges/ges-frame-composition-meta.c
@@ -47,7 +47,8 @@ ges_frame_composition_meta_api_get_type (void)
static const gchar *tags[] = { "video", NULL };
if (g_once_init_enter (&type)) {
- GType _type = gst_meta_api_type_register ("GstFrameCompositionApi", tags);
+ GType _type =
+ gst_meta_api_type_register ("GESFrameCompositionMetaAPI", tags);
g_once_init_leave (&type, _type);
}
return type;

View file

@ -0,0 +1,121 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
Date: Sat, 5 Oct 2024 04:21:10 +0200
Subject: [PATCH] x265enc: Unbreak build with x265 4.0
Following a [similar change][1] in FFmpeg.
[1]: https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/1f801dfdb5066aadf0ade9cb5e94d620f33eacdc
---
.../gst-plugins-bad/ext/x265/gstx265enc.c | 29 ++++++++++++++-----
1 file changed, 21 insertions(+), 8 deletions(-)
diff --git a/subprojects/gst-plugins-bad/ext/x265/gstx265enc.c b/subprojects/gst-plugins-bad/ext/x265/gstx265enc.c
index e6aa973ac7cc..77de727061b1 100644
--- a/subprojects/gst-plugins-bad/ext/x265/gstx265enc.c
+++ b/subprojects/gst-plugins-bad/ext/x265/gstx265enc.c
@@ -1514,7 +1514,12 @@ gst_x265_enc_encode_frame (GstX265Enc * encoder, x265_picture * pic_in,
{
GstVideoCodecFrame *frame = NULL;
GstBuffer *out_buf = NULL;
- x265_picture pic_out;
+#if (X265_BUILD >= 210)
+ x265_picture pics_out[MAX_SCALABLE_LAYERS], *pics_outp[MAX_SCALABLE_LAYERS];
+#else
+ x265_picture pics_out[1];
+#endif
+ x265_picture *pic_out = &pics_out[0];
x265_nal *nal;
int i_size, i, offset;
int encoder_return;
@@ -1549,75 +1554,83 @@ gst_x265_enc_encode_frame (GstX265Enc * encoder, x265_picture * pic_in,
if (G_UNLIKELY (update_latency))
gst_x265_enc_set_latency (encoder);
+#if (X265_BUILD >= 210)
+ for (i = 0; i < MAX_SCALABLE_LAYERS; i++)
+ pics_outp[i] = &pics_out[i];
+
encoder_return = api->encoder_encode (encoder->x265enc,
- &nal, i_nal, pic_in, &pic_out);
+ &nal, i_nal, pic_in, pics_outp);
+#else
+ encoder_return = api->encoder_encode (encoder->x265enc,
+ &nal, i_nal, pic_in, pic_out);
+#endif
GST_DEBUG_OBJECT (encoder, "encoder result (%d) with %u nal units",
encoder_return, *i_nal);
if (encoder_return < 0) {
GST_ELEMENT_ERROR (encoder, STREAM, ENCODE, ("Encode x265 frame failed."),
("x265_encoder_encode return code=%d", encoder_return));
ret = GST_FLOW_ERROR;
/* Make sure we finish this frame */
frame = input_frame;
goto out;
}
/* Input frame is now queued */
if (input_frame)
gst_video_codec_frame_unref (input_frame);
if (!*i_nal) {
ret = GST_FLOW_OK;
GST_LOG_OBJECT (encoder, "no output yet");
goto out;
}
frame = gst_video_encoder_get_frame (GST_VIDEO_ENCODER (encoder),
- GPOINTER_TO_INT (pic_out.userData));
+ GPOINTER_TO_INT (pic_out->userData));
g_assert (frame || !send);
GST_DEBUG_OBJECT (encoder,
- "output picture ready POC=%d system=%d frame found %d", pic_out.poc,
- GPOINTER_TO_INT (pic_out.userData), frame != NULL);
+ "output picture ready POC=%d system=%d frame found %d", pic_out->poc,
+ GPOINTER_TO_INT (pic_out->userData), frame != NULL);
if (!send || !frame) {
GST_LOG_OBJECT (encoder, "not sending (%d) or frame not found (%d)", send,
frame != NULL);
ret = GST_FLOW_OK;
goto out;
}
i_size = 0;
offset = 0;
for (i = 0; i < *i_nal; i++)
i_size += nal[i].sizeBytes;
out_buf = gst_buffer_new_allocate (NULL, i_size, NULL);
for (i = 0; i < *i_nal; i++) {
gst_buffer_fill (out_buf, offset, nal[i].payload, nal[i].sizeBytes);
offset += nal[i].sizeBytes;
}
- if (pic_out.sliceType == X265_TYPE_IDR || pic_out.sliceType == X265_TYPE_I) {
+ if (pic_out->sliceType == X265_TYPE_IDR || pic_out->sliceType == X265_TYPE_I) {
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);
}
frame->output_buffer = out_buf;
if (encoder->push_header) {
GstBuffer *header;
header = gst_x265_enc_get_header_buffer (encoder);
frame->output_buffer = gst_buffer_append (header, frame->output_buffer);
encoder->push_header = FALSE;
}
GST_LOG_OBJECT (encoder,
"output: dts %" G_GINT64_FORMAT " pts %" G_GINT64_FORMAT,
- (gint64) pic_out.dts, (gint64) pic_out.pts);
+ (gint64) pic_out->dts, (gint64) pic_out->pts);
- frame->dts = pic_out.dts + encoder->dts_offset;
+ frame->dts = pic_out->dts + encoder->dts_offset;
out:
if (frame) {

View file

@ -21,14 +21,14 @@ pkgname=(
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
gst-libav
gst-plugin-gtk
gst-plugin-opencv
gst-plugin-qml6
gst-plugin-qmlgl
gst-plugin-va
gst-plugin-wpe
gst-plugins-ugly
gst-libav
gst-devtools-libs
gst-devtools
gst-rtsp-server
@ -37,7 +37,7 @@ pkgname=(
gst-python
gstreamer-docs
)
pkgver=1.24.8
pkgver=1.24.9
pkgrel=1
pkgdesc="Multimedia graph framework"
url="https://gstreamer.freedesktop.org/"
@ -48,12 +48,14 @@ makedepends=(
a52dec
aalib
alsa-lib
aom
bash-completion
bluez-libs
bzip2
cairo
cdparanoia
chromaprint
curl
faac
faad2
ffmpeg
@ -62,6 +64,7 @@ makedepends=(
gcc-libs
gdk-pixbuf2
git
glib2
glib2-devel
glibc
gobject-introspection
@ -70,16 +73,20 @@ makedepends=(
gtk3
hicolor-icon-theme
imath
iso-codes
jack2
json-glib
ladspa
lame
lcms2
libass
libavc1394
libavtp
libbs2b
libcaca
libcap
libcdio
libdc1394
libdca
libde265
libdrm
@ -93,7 +100,7 @@ makedepends=(
libgme
libgudev
libiec61883
libjpeg
libjpeg-turbo
liblc3
libldac
liblrdf
@ -108,14 +115,20 @@ makedepends=(
libpng
libpulse
libraw1394
librsvg
libshout
libsndfile
libsoup3
libsrtp
libtheora
libunwind
libusb
libva
libvorbis
libvpl
libvpx
libwebp
libwpe
libx11
libxcb
libxdamage
@ -140,6 +153,11 @@ makedepends=(
openal
opencore-amr
opencv
openexr
openh264
openjpeg2
openmpi
openssl
opentimelineio
opus
orc
@ -155,6 +173,7 @@ makedepends=(
qt5-tools
qt5-wayland
qt5-x11extras
qt6-base
qt6-declarative
qt6-shadertools
qt6-tools
@ -167,6 +186,7 @@ makedepends=(
soundtouch
spandsp
speex
srt
systemd-libs
taglib
twolame
@ -180,8 +200,10 @@ makedepends=(
wayland-protocols
webrtc-audio-processing-1
wildmidi
wpebackend-fdo
wpewebkit
x264
x265
zbar
zlib
zvbi
@ -192,13 +214,13 @@ source=(
"git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git?signed#tag=$pkgver"
"https://gstreamer.freedesktop.org/src/gstreamer-docs/gstreamer-docs-$pkgver.tar.xz"{,.asc}
0001-HACK-meson-Disable-broken-tests.patch
0002-ges-Fix-name-of-GESFrameCompositionMeta-API-type.patch
0002-x265enc-Unbreak-build-with-x265-4.0.patch
)
b2sums=('ecdcf29ad346dc4aff966b34b4c68ac9e742b29bac86a33b289f06f213d563ac3c9264768a409c70c032694ccbfd246f772b67097456647c96c869aecd56ff96'
'5330ad9313cfcfbdd0514f8f8164440c4eb3605a1e17dda8b7a024f3c986a97042575fedd3e54d4c1b0a1476918cdbb1d1d1ee46b173d235f5e3ed34d40bf39a'
b2sums=('53c72d3d88d48ab5bfe114f0d5ae8e224469811552000cba8952b8f64e8b283266bc6a397fc72586acce94439baba1a4b0ede17190e07eae83c2104ef6117461'
'45a454b6b53a16b89cf1e9bac5928f7886e666b0c82fa0cc9610a09bf35871424f291e8bdd1ae4f7fba6e18a8c98c846a2d8024b9df3ce3043e8074b912e58ff'
'SKIP'
'9e277b0373c024d9ec0175e7a036f85152ce145b40d62105e660ca4f466ee0a2d70c68c11c4e6929e46117380482c70957e08e3bf6b5aca1ea0e2c7d4360f317'
'ac31a75ad3086e26045d02d917fd1c0f155b9e1a6ea82aa8aaf9687500a129b80be82947f6a07928399570920bdbc829d6ff1b79d0b30538606d056a76aaab05')
'b58019ca02e388925af02a98d6cc7b2c7f67692bb25b7d947f0759669c13027a069cbadd20c1119b98020085341199b5a7085ba32cc28777ed60bd2a2647d845'
'23596f6e5ba9628629f9fca36e3518427ffacdc54505224b4a6e6f039bb3fc168e20093c645b1c093ceb8280fe549a2f6d2af857afad55c28fcc5f9f26917e44')
validpgpkeys=(
D637032E45B8C6585B9456565D2EEE6F6F349D7C # Tim Müller <tim@gstreamer-foundation.org>
)
@ -209,8 +231,8 @@ prepare() {
# Disable broken tests
git apply -3 ../0001-HACK-meson-Disable-broken-tests.patch
# Fix build
git apply -3 ../0002-ges-Fix-name-of-GESFrameCompositionMeta-API-type.patch
# Fix build with x265 4.0
git apply -3 ../0002-x265enc-Unbreak-build-with-x265-4.0.patch
}
build() {
@ -235,7 +257,6 @@ build() {
-D gst-plugins-bad:svthevcenc=disabled
-D gst-plugins-bad:mfx_api=auto
-D gst-plugins-bad:onnx=disabled
-D gst-plugins-bad:openh264=disabled
-D gst-plugins-bad:openni2=disabled
-D gst-plugins-bad:opensles=disabled
-D gst-plugins-bad:qt6d3d11=disabled
@ -534,7 +555,7 @@ package_gst-plugins-base() {
glib2
glibc
graphene
libjpeg
libjpeg-turbo
libogg
libpng
libtheora
@ -575,7 +596,7 @@ package_gst-plugins-good() {
libdv
libgudev
libiec61883
libjpeg
libjpeg-turbo
libpng
libpulse
libraw1394
@ -736,6 +757,7 @@ package_gst-plugins-bad() {
nettle
openal
openexr
openh264
openjpeg2
openssl
opus
@ -793,6 +815,7 @@ package_gst-plugins-bad() {
usr/lib/gstreamer-1.0/libgstopenal.so
usr/lib/gstreamer-1.0/libgstopenaptx.so
usr/lib/gstreamer-1.0/libgstopenexr.so
usr/lib/gstreamer-1.0/libgstopenh264.so
usr/lib/gstreamer-1.0/libgstopenjpeg.so
usr/lib/gstreamer-1.0/libgstopenmpt.so
usr/lib/gstreamer-1.0/libgstopusparse.so
@ -821,6 +844,54 @@ package_gst-plugins-bad() {
); _install
}
package_gst-plugins-ugly() {
pkgdesc+=" - ugly plugins"
depends=(
"gst-plugins-base-libs=$pkgver-$pkgrel"
"gstreamer=$pkgver-$pkgrel"
a52dec
glib2
glibc
libcdio
libdvdread
libmpeg2
orc
x264
)
cd root; local files=(
usr/lib/gstreamer-1.0/libgsta52dec.so
usr/lib/gstreamer-1.0/libgstasf.so
usr/lib/gstreamer-1.0/libgstcdio.so
usr/lib/gstreamer-1.0/libgstdvdlpcmdec.so
usr/lib/gstreamer-1.0/libgstdvdread.so
usr/lib/gstreamer-1.0/libgstdvdsub.so
usr/lib/gstreamer-1.0/libgstmpeg2dec.so
usr/lib/gstreamer-1.0/libgstrealmedia.so
usr/lib/gstreamer-1.0/libgstx264.so
usr/share/gstreamer-1.0/presets/GstX264Enc.prs
usr/share/locale/*/LC_MESSAGES/gst-plugins-ugly-1.0.mo
); _install
}
package_gst-libav() {
pkgdesc+=" - libav plugin"
depends=(
"gst-plugins-base-libs=$pkgver-$pkgrel"
"gstreamer=$pkgver-$pkgrel"
ffmpeg
glib2
glibc
)
provides=("gst-ffmpeg=$pkgver-$pkgrel")
cd root; local files=(
usr/lib/gstreamer-1.0/libgstlibav.so
); _install
}
package_gst-plugin-gtk() {
pkgdesc+=" - gtk plugin"
depends=(
@ -871,6 +942,7 @@ package_gst-plugin-qml6() {
qt6-base
qt6-declarative
qt6-wayland
openmpi
)
cd root; local files=(
@ -936,54 +1008,6 @@ package_gst-plugin-wpe() {
); _install
}
package_gst-plugins-ugly() {
pkgdesc+=" - ugly plugins"
depends=(
"gst-plugins-base-libs=$pkgver-$pkgrel"
"gstreamer=$pkgver-$pkgrel"
a52dec
glib2
glibc
libcdio
libdvdread
libmpeg2
orc
x264
)
cd root; local files=(
usr/lib/gstreamer-1.0/libgsta52dec.so
usr/lib/gstreamer-1.0/libgstasf.so
usr/lib/gstreamer-1.0/libgstcdio.so
usr/lib/gstreamer-1.0/libgstdvdlpcmdec.so
usr/lib/gstreamer-1.0/libgstdvdread.so
usr/lib/gstreamer-1.0/libgstdvdsub.so
usr/lib/gstreamer-1.0/libgstmpeg2dec.so
usr/lib/gstreamer-1.0/libgstrealmedia.so
usr/lib/gstreamer-1.0/libgstx264.so
usr/share/gstreamer-1.0/presets/GstX264Enc.prs
usr/share/locale/*/LC_MESSAGES/gst-plugins-ugly-1.0.mo
); _install
}
package_gst-libav() {
pkgdesc+=" - libav plugin"
depends=(
"gst-plugins-base-libs=$pkgver-$pkgrel"
"gstreamer=$pkgver-$pkgrel"
ffmpeg
glib2
glibc
)
provides=("gst-ffmpeg=$pkgver-$pkgrel")
cd root; local files=(
usr/lib/gstreamer-1.0/libgstlibav.so
); _install
}
package_gst-devtools-libs() {
pkgdesc+=" - development and debugging libraries"
depends=(