From e3f96925dd686e1b58b00115450f72596bc6af0a14957317904820cf4a644512 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 4 Mar 2026 14:47:12 +0000 Subject: [PATCH] - Update to version 1.28.1: + More Python typing fixes OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/python-gst?expand=0&rev=152 --- .gitattributes | 24 ++ .gitignore | 4 + _service | 21 + gst-python-1.28.0.obscpio | 3 + gst-python-1.28.1.obscpio | 3 + gst-python.obsinfo | 4 + python-gst.changes | 875 ++++++++++++++++++++++++++++++++++++++ python-gst.spec | 90 ++++ 8 files changed, 1024 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 gst-python-1.28.0.obscpio create mode 100644 gst-python-1.28.1.obscpio create mode 100644 gst-python.obsinfo create mode 100644 python-gst.changes create mode 100644 python-gst.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/_service b/_service new file mode 100644 index 0000000..7bd221d --- /dev/null +++ b/_service @@ -0,0 +1,21 @@ + + + + git + https://gitlab.freedesktop.org/gstreamer/gstreamer.git + subprojects/gst-python + gst-python + 1.28.1 + @PARENT_TAG@+@TAG_OFFSET@ + v?(.*)\+0 + \1 + + + + + *.tar + zst + + + + diff --git a/gst-python-1.28.0.obscpio b/gst-python-1.28.0.obscpio new file mode 100644 index 0000000..2cccee8 --- /dev/null +++ b/gst-python-1.28.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a20d8c8d0d08f05c6c20a5c63991c7ab4add141dc4a94d2cfb7c1392af28bb37 +size 674828 diff --git a/gst-python-1.28.1.obscpio b/gst-python-1.28.1.obscpio new file mode 100644 index 0000000..ae5a178 --- /dev/null +++ b/gst-python-1.28.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1916af6ac5d5cedddfc831373f6d6114266c225ea677317384c2233d1678ea6d +size 612876 diff --git a/gst-python.obsinfo b/gst-python.obsinfo new file mode 100644 index 0000000..ac833d3 --- /dev/null +++ b/gst-python.obsinfo @@ -0,0 +1,4 @@ +name: gst-python +version: 1.28.1 +mtime: 1772071779 +commit: dcb37e20147e3b59344bab1e1cbb57e908cc6b92 diff --git a/python-gst.changes b/python-gst.changes new file mode 100644 index 0000000..d08d610 --- /dev/null +++ b/python-gst.changes @@ -0,0 +1,875 @@ +------------------------------------------------------------------- +Thu Feb 26 09:07:31 UTC 2026 - Bjørn Lie + +- Update to version 1.28.1: + + More Python typing fixes + +------------------------------------------------------------------- +Fri Jan 30 14:20:12 UTC 2026 - Bjørn Lie + +- Update to version 1.28.0: + + Please see changes in gstreamer main package. + +------------------------------------------------------------------- +Tue Dec 30 09:46:41 UTC 2025 - Bjørn Lie + +- Update to version 1.26.10: + + Override GstPadProbeInfo to get writable objects + + Misc improvements + + More typing fixes + + 1.26.2 breaks Python bindings: No longer able to modify + Gst.Buffer metadata in pad probe callbacks + +------------------------------------------------------------------- +Sun Dec 7 08:27:49 UTC 2025 - Bjørn Lie + +- Update to version 1.26.9: + + gst-python: fix cross-compiling + + python: Add some typing annotation to overrides + +------------------------------------------------------------------- +Tue Nov 11 09:21:16 UTC 2025 - Bjørn Lie + +- Update to version 1.26.8: + + python: Fix GDir leak in gst_python_load_directory +- Tweak gstreamer versions required, via _version define. + +------------------------------------------------------------------- +Fri Oct 17 06:43:42 UTC 2025 - Bjørn Lie + +- Update to version 1.26.7: + + No changes, stable bump only. + +------------------------------------------------------------------- +Mon Sep 15 17:04:11 UTC 2025 - Bjørn Lie + +- Update to version 1.26.6: + + python: Handle buffer PTS/DTS/duration/offset/offset-end as + unsigned long long + +------------------------------------------------------------------- +Fri Jul 25 11:48:22 UTC 2025 - Bjørn Lie + +- Update to version 1.26.4: + + No changes, stable bump only. + +------------------------------------------------------------------- +Tue Jul 1 20:11:45 UTC 2025 - Bjørn Lie + +- Update to version 1.26.3: + + This release includes some important regression fixes for the + GStreamer Python bindings for regressions introduced in 1.26.2. + - gst-python/tests: don't depend on webrtc and rtsp-server + - python: Fix pulling events from appsink and other fixes + +------------------------------------------------------------------- +Sun Jun 1 08:03:22 UTC 2025 - Bjørn Lie + +- Update to version 1.26.2: + + This release includes important fixes for the GStreamer Python + bindings. + + Since pygobject 3.13 around 10 years ago, it wasn't possible + anymore to modify GStreamer miniobjects, e.g. modify caps or + set buffer timestamps, as an implicit copy of the original + would always be made. This should finally work again now. + + Fix new warnings on Fedora 42, various meson warnings, and + other small meson build/wrap fixes. + + python: Add overrides to be able to handle writability of + MiniObjects. + + python: Convert buffer metadata API to use @property + decorators. + + REGRESSION: pygobject 3.13 now copies the GstStructure when + getting them from a GstCaps, making it impossible to properly + modify structures from caps in place. + +------------------------------------------------------------------- +Wed Apr 30 10:52:09 UTC 2025 - Bjørn Lie + +- Update to version 1.26.1: + + gst-python: + - Fix compatibility with PyGObject >= 3.52.0 + - Segmentation Fault since PyGObject >= 3.52.0 due to missing + _introspection_module attribute +- Drop 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fixed + upstream. + +------------------------------------------------------------------- +Sun Mar 30 08:55:40 UTC 2025 - Bjørn Lie + +- Add 0496a778bb85e0b263ed2fddfcf3dac7961fe4f5.patch: Fix + compatibility with PyGObject>=3.52.0. +- Pass python-exe instead of python to meson setup, the latter is + deprecated. + +------------------------------------------------------------------- +Wed Mar 12 06:55:24 UTC 2025 - Antonio Larrosa + +- Update to version 1.26.0: + + gst-python is an extension of the regular GStreamer Python + bindings based on gobject-introspection information and + PyGObject, and provides "syntactic sugar" in form of overrides + for various GStreamer APIs that makes them easier to use in + Python and more pythonic; as well as support for APIs that + aren't available through the regular gobject-introspection + based bindings, such as e.g. GStreamer's fundamental GLib types + such as Gst.Fraction, Gst.IntRange etc. + - The python Meson build option has been renamed to + python-exe (and will yield to the monorepo build option of + the same name if set, in a monorepo build context). + - Added an iterator for AnalyticsRelationMeta + - Implement __eq__ for Mtd classes + - Various build fixes and Windows-related fixes. + + For more detailed information on this update, please see + https://gstreamer.freedesktop.org/releases/1.26/ + +------------------------------------------------------------------- +Mon Feb 3 11:22:05 UTC 2025 - Bjørn Lie + +- Update to version 1.24.12: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Tue Jan 7 22:07:50 UTC 2025 - Bjørn Lie + +- Update to version 1.24.11: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Mon Dec 9 12:38:52 UTC 2024 - Bjørn Lie + +- Update to version 1.24.10: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Sun Nov 17 13:10:24 UTC 2024 - Bjørn Lie + +- Update to version 1.24.9: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Mon Sep 23 13:23:15 UTC 2024 - Bjørn Lie + +- Update to version 1.24.8: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Fri Aug 23 08:03:45 UTC 2024 - Bjørn Lie + +- Update to version 1.24.7: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Wed Aug 14 17:53:12 UTC 2024 - Bjørn Lie + +- Update to version 1.24.6: + + Highlighted bugfixes: + - Fix compatibility with FFmpeg 7.0. + - qmlglsink: Fix failure to display content on recent Android + devices. + - adaptivedemux: Fix handling of closed caption streams. + - cuda: Fix runtime compiler loading with old CUDA tookit. + - decodebin3 stream selection handling fixes. + - d3d11compositor, d3d12compositor: Fix transparent background + mode with YUV output. + - d3d12converter: Make gamma remap work as intended. + - h264decoder: Update output frame duration for interlaced + video when second field frame is discarded. + - macOS audio device provider now listens to audio devices + being added/removed at runtime. + - Rust plugins: audioloudnorm, s3hlssink, gtk4paintablesink, + livesync and webrtcsink fixes. + - videoaggregator: preserve features in non-alpha caps for + subclasses with non-system memory sink caps. + - vtenc: Fix redistribute latency spam. + - v4l2: fixes for complex video formats. + - va: Fix strides when importing DMABUFs, dmabuf handle leaks, + and blocklist unmaintained Intel i965 driver for encoding. + - waylandsink: Fix surface cropping for rotated streams. + - webrtcdsp: Enable multi_channel processing to fix handling of + stereo streams. + - Various bug fixes, memory leak fixes, and other stability and + reliability improvements. + +------------------------------------------------------------------- +Fri Jun 28 10:45:59 UTC 2024 - Bjørn Lie + +- Update to version 1.24.5: + + Highlighted bugfixes: + - webrtcsink: Support for AV1 via nvav1enc, av1enc or rav1enc + encoders + - AV1 RTP payloader/depayloader fixes to work correctly with + Chrome and Pion WebRTC + - av1parse, av1dec error handling/robustness improvements + - av1enc: Handle force-keyunit events properly for WebRTC + - decodebin3: selection and collection handling improvements + - hlsdemux2: Various fixes for discontinuities, variant + switching, playlist updates + - qml6glsink: fix RGB format support + - rtspsrc: more control URL handling fixes + - v4l2src: Interpret V4L2 report of sync loss as video signal + loss + - d3d12 encoder, memory and videosink fixes + - vtdec: more robust error handling, fix regression + - ndi: support for NDI SDK v6 + - Various bug fixes, memory leak fixes, and other stability and + reliability improvements +- Please see https://gstreamer.freedesktop.org/releases/1.24/ for + changes between 1.24.0 and this version and even more in-depth + info. + +------------------------------------------------------------------- +Tue Mar 5 06:23:20 UTC 2024 - Antonio Larrosa + +- Update to version 1.24.0: + * Added a GstTagList override that makes a tag list act like a + dict + * Fix build and usage in Windows + * Various fixes for Python >= 3.12 + * Rework libpython loading to be relocatable + * Fix libpython dlopen on macOS + * For more detailed information on this update, please see + https://gstreamer.freedesktop.org/releases/1.24/ +- Use %{?sle15_python_module_pythons} to use python3.11 in SLE/Leap +- Remove patch reduce-required-meson.patch since meson 1.1 is + really required now. + +------------------------------------------------------------------- +Thu Feb 1 10:59:21 UTC 2024 - Antonio Larrosa + +- Update to version 1.22.9: + + No changes, stable bump only. +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Thu Jan 4 08:00:43 UTC 2024 - Antonio Larrosa + +- Update to version 1.22.8: + + No changes, stable bump only. +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Wed Nov 15 09:36:50 UTC 2023 - Antonio Larrosa + +- Update to version 1.22.7: + + No changes, stable bump only. +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Fri Sep 22 16:43:24 UTC 2023 - Bjørn Lie + +- Update to version 1.22.6: + + No changes, stable bump only. +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Tue Jul 25 11:23:26 UTC 2023 - Bjørn Lie + +- Update to version 1.22.5: + + No changes +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Mon Jun 26 14:45:26 UTC 2023 - Bjørn Lie + +- Update to version 1.22.4: + + python: More functions can be called before gst_init(). +- Rebase reduce-required-meson.patch. + +------------------------------------------------------------------- +Wed May 24 15:34:07 UTC 2023 - Bjørn Lie + +- Update to version 1.22.3: + + No changes, version bump only. +- Rebase patch. + +------------------------------------------------------------------- +Wed Apr 12 17:19:00 UTC 2023 - Bjørn Lie + +- Update to version 1.22.2: + + No changes, version bump only. +- Rebase patch. + +------------------------------------------------------------------- +Thu Mar 9 18:30:30 UTC 2023 - Bjørn Lie + +- Update to version 1.22.1: + + gst-python: Use arch-specific install dir for gi overrides + +------------------------------------------------------------------- +Thu Mar 9 18:30:29 UTC 2023 - Bjørn Lie + +- Add patch to reduce the required meson version to 0.61.0 since + that's what we have in Leap 15.5: + + reduce-required-meson.patch + +------------------------------------------------------------------- +Thu Jan 26 01:52:35 UTC 2023 - Bjørn Lie + +- Update to version 1.22.0: + + Please see changes in gstreamer main package, major version + bump. + +------------------------------------------------------------------- +Fri Dec 23 19:40:05 UTC 2022 - Bjørn Lie + +- Update to version 1.20.5: + + No changes, versionbump only. + +------------------------------------------------------------------- +Sat Oct 22 09:08:56 UTC 2022 - Bjørn Lie + +- Update to version 1.20.4: + + python: Do not call gst_init when it is already is_initialized. + +------------------------------------------------------------------- +Wed Jun 22 10:53:58 UTC 2022 - Aaron Stern + +- Update to version 1.20.3: + + No changes + +------------------------------------------------------------------- +Mon May 9 11:13:10 UTC 2022 - Antonio Larrosa + +- Update to version 1.20.2: + + Fix build on systems without C++ compiler + +------------------------------------------------------------------- +Sat Mar 19 13:45:26 UTC 2022 - Bjørn Lie + +- Update to version 1.20.1: + + Fix build with Python 3.11. + +------------------------------------------------------------------- +Wed Feb 9 22:23:41 UTC 2022 - Bjørn Lie + +- Update to version 1.20.0: + + Fixes for Python 3.10. + + Various build fixes. + +------------------------------------------------------------------- +Fri Feb 4 19:54:00 UTC 2022 - Bjørn Lie + +- Update to version 1.18.6: + + Avoid treating float as int (fix for Python 3.10). + +------------------------------------------------------------------- +Wed Sep 15 10:14:50 UTC 2021 - Bjørn Lie + +- Update to version 1.18.5: + + No changes + +------------------------------------------------------------------- +Wed Jun 30 17:33:39 UTC 2021 - Luigi Baldoni + +- Update to version 1.18.4: + + No changes + +------------------------------------------------------------------- +Sat Jan 16 20:13:37 UTC 2021 - Bjørn Lie + +- Update to version 1.18.3: + + No changes + +------------------------------------------------------------------- +Fri Jan 15 21:06:07 UTC 2021 - Benjamin Greiner + +- The happy coincidence that python flavors and their interpreter + names have the same name is no longer true. + gh#openSUSE/python-rpm-macros#66 + +------------------------------------------------------------------- +Thu Dec 10 08:36:04 UTC 2020 - Bjørn Lie + +- Update to version 1.18.2: + + No changes. + +------------------------------------------------------------------- +Thu Nov 5 16:30:52 UTC 2020 - Antonio Larrosa + +- Update to version 1.18.1: + + Python 2.x is no longer supported + + Support mapping buffers without any memcpy: + * Added a ContextManager to make the API more pythonic with + buf.map(Gst.MapFlags.READ | Gst.MapFlags.WRITE) as + info: info.data[42] = 0 + + Added high-level helper API for constructing pipelines: + * Gst.Bin.make_and_add(factory_name, instance_name=None) + * Gst.Element.link_many(element, ...) + +------------------------------------------------------------------- +Thu Nov 5 07:33:30 UTC 2020 - Dominique Leuenberger + +- Update to version 1.18.0: + + GstTranscoder: new high level API for applications to transcode + media files from one format to another. + + High Dynamic Range (HDR) video information representation and + signalling enhancements. + + Instant playback rate change support. + + Active Format Description (AFD) and Bar Data support. + + RTSP server and client implementations gained ONVIF trick modes + support. + + Hardware-accelerated video decoding on Windows via DXVA2 / + Direct3D11. + + Microsoft Media Foundation plugin for video capture and + hardware-accelerated video encoding on Windows. + + qmlgloverlay: New overlay element that renders a QtQuick scene + over the top of an input video stream. + + imagesequencesrc: New element to easily create a video stream + from a sequence of jpeg or png images. + + dashsink: New sink to produce DASH content. + + dvbsubenc: New DVB Subtitle encoder element. + + MPEG-TS muxing now also supports TV broadcast compliant muxing + with constant bitrate muxing and SCTE-35 support. + + rtmp2: New RTMP client source and sink element from-scratch + implementation. + + svthevcenc: New SVT-HEVC-based H.265 video encoder. + + vaapioverlay: New compositor element using VA-API. + + rtpmanager gained support for Google’s Transport-Wide + Congestion Control (twcc) RTP extension. + + splitmuxsink and splitmuxsrc gained support for auxiliary video + streams. + + webrtcbin now contains some initial support for renegotiation + involving stream addition and removal. + + RTP support was enhanced with new RTP source and sink elements + to easily set up RTP streaming via rtp:// URIs. + + avtp: New Audio Video Transport Protocol (AVTP) plugin for + Time-Sensitive Applications. + + Support for the Video Services Forum’s Reliable Internet Stream + Transport (RIST) TR-06-1 Simple Profile. + + Universal Windows Platform (UWP) support. + + rpicamsrc: New element for capturing from the Raspberry Pi + camera. + + RTSP Server TCP interleaved backpressure handling improvements + as well as support for Scale/Speed headers. + + GStreamer Editing Services gained support for nested timelines, + per-clip speed rate control and the OpenTimelineIO format. + + Autotools build system has been removed in favour of Meson. +- Drop python-gst-fix-py38-build.patch: fixed upstream. + +------------------------------------------------------------------- +Wed Mar 11 10:08:18 UTC 2020 - Tomáš Chvátal + +- Use the singlespec again to properly generate py2 and py3 pkg + +------------------------------------------------------------------- +Tue Mar 10 11:01:31 UTC 2020 - Bjørn Lie + +- Add python-gst-fix-py38-build.patch: Fix build with py 3.8. + Further switch to meson buildsystem, patch only fixes it for + this, and not autotools. Add c++_compiler and meson BuildRequires + and meson macros. Drop all python build macros, and add explicit + pkgconfig(python3) BuildRequires. +- Update URL to new home. + +------------------------------------------------------------------- +Mon Feb 17 08:13:35 UTC 2020 - Bjørn Lie + +- Own %%{python_sitearch}/gi dir, needed now after changes + elsewhere in the stack. + +------------------------------------------------------------------- +Wed Dec 4 13:31:18 UTC 2019 - Bjørn Lie + +- Update to version 1.16.2: + + No changes, version bump only. + +------------------------------------------------------------------- +Tue Sep 24 15:03:48 UTC 2019 - Bjørn Lie + +- Update to version 1.16.1: + + See main gstreamer package for changelog. + +------------------------------------------------------------------- +Tue Jun 25 11:49:13 UTC 2019 - Bjørn Lie + +- Update to version 1.16.0: + + Highlights: + - GStreamer WebRTC stack gained support for data channels for + peer-to-peer communication based on SCTP, BUNDLE support, + as well as support for multiple TURN servers. + - AV1 video codec support for Matroska and QuickTime/MP4 + containers and more configuration options and supported + input formats for the AOMedia AV1 encoder + - Support for Closed Captions and other Ancillary Data in video + - Support for planar (non-interleaved) raw audio + - GstVideoAggregator, compositor and OpenGL mixer elements are + now in -base + - New alternate fields interlace mode where each buffer carries + a single field + - WebM and Matroska ContentEncryption support in the Matroska + demuxer + - new WebKit WPE-based web browser source element + - Video4Linux: HEVC encoding and decoding, JPEG encoding, and + improved dmabuf import/export + - Hardware-accelerated Nvidia video decoder gained support for + VP8/VP9 decoding, whilst the encoder gained support for + H.265/HEVC encoding. + - Many improvements to the Intel Media SDK based + hardware-accelerated video decoder and encoder plugin + (msdk): dmabuf import/export for zero-copy integration with + other components; VP9 decoding; 10-bit HEVC encoding; video + post-processing (vpp) support including deinterlacing; and + the video decoder now handles dynamic resolution changes. + - The ASS/SSA subtitle overlay renderer can now handle multiple + subtitles that overlap in time and will show them on screen + simultaneously + - The Meson build is now feature-complete (*) and it is now the + recommended build system on all platforms. The Autotools + build is scheduled to be removed in the next cycle. + - The GStreamer Rust bindings and Rust plugins module are now + officially part of upstream GStreamer. + - The GStreamer Editing Services gained a gesdemux element + that allows directly playing back serialized edit list with + playbin or (uri)decodebin + - Many performance improvements. + +------------------------------------------------------------------- +Fri May 31 22:46:20 UTC 2019 - Bjørn Lie + +- Update to version 1.14.5: + + No changes provided by upstream. + +------------------------------------------------------------------- +Wed Oct 3 15:55:53 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.14.4: + + Bugfix release, please see .changes in gstreamer main package. + +------------------------------------------------------------------- +Wed Sep 26 20:35:24 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.14.3: + + Bugfix release, please see .changes in gstreamer main package. + +------------------------------------------------------------------- +Tue Jul 24 08:23:29 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.14.2: + + No changes, versionbump only. + +------------------------------------------------------------------- +Sun May 20 10:01:36 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.14.1: + + GstPad: Fix race condition causing the same probe to be called + multiple times + + Fix occasional deadlocks on windows when outputting debug + logging + + Fix debug levels being applied in the wrong order + + GIR annotation fixes for bindings + + audiomixer, audioaggregator: fix some negotiation issues + + gst-play-1.0: fix leaving stdin in non-blocking mode after exit + + flvmux: wait for caps on all input pads before writing header + even if source is live + + flvmux: don't wake up the muxer unless there is data, fixes + busy looping if there's no input data + + flvmux: fix major leak of input buffers + + rtspsrc, rtsp-server: revert to RTSP RFC handling of + sendonly/recvonly attributes + + rtpvrawpay: fix payloading with very large mtu sizes where + everything fits into a single RTP packet + + v4l2: Fix hard-coded enabled v4l2 probe on Linux/ARM + + v4l2: Disable DMABuf for emulated formats when using libv4l2 + + v4l2: Always set colorimetry in S_FMT + + asfdemux: Set stream-format field for H264 streams and handle + H.264 in bytestream format + + x265enc: Fix tagging of keyframes on output buffers + + ladspa: Fix critical during plugin load on Windows + + decklink: Fix COM initialisation on Windows + + h264parse: fix re-use across pipeline stop/restart + + mpegtsmux: fix force-keyframe event handling and PCR/PMT + changes that would confuse some players with generated HLS + streams + + adaptivedemux: Support period change in live playlist + + rfbsrc: Fix support for applevncserver and support NULL pool in + decide_allocation + + jpegparse: Fix APP1 marker segment parsing + + h265parse: Make caps writable before modifying them, fixes + criticals + + fakevideosink: request an extra buffer if enable-last-sample is + enabled + + wasapisrc: Don't provide a clock based on WASAPI's clock + + wasapi: Only use audioclient3 when low-latency, as it might + otherwise glitch with slow CPUs or VMs + + wasapi: Don't derive device period from latency time, should + make it more robust against glitches + + audiolatency: Fix wave detection in buffers and avoid bogus pts + values while starting + + msdk: fix plugin load on implementations with only HW support + + msdk: dec: set framerate to the driver only if provided, not in + 0/1 case + + msdk: Don't set extended coding options for JPEG encode + + rtponviftimestamp: fix state change function init/reset causing + races/crashes on shutdown + + decklink: fix initialization failure in windows binary + + ladspa: Fix critical warnings during plugin load on Windows and + fix dependencies in meson build + + gl: fix cross-compilation error with viv-fb + + qmlglsink: make work with eglfs_kms + + rtspclientsink: Don't deadlock in preroll on early close + + rtspclientsink: Fix client ports for the RTCP backchannel + + rtsp-server: Fix session timeout when streaming data to client + over TCP + + vaapiencode: h264: find best profile in those available, fixing + negotiation errors + + vaapi: remove custom GstGL context handling, use GstGL instead. + Fixes GL Context sharing with WebkitGtk on wayland + + gst-editing-services: various fixes + + gst-python: bump pygobject req to 3.8; + fix GstPad.set_query_function(); dist autogen.sh and + configure.ac in tarball + + g-i: pick up GstVideo-1.0.gir from local build directory in + GstGL build + + g-i: update constant values for bindings + + avoid duplicate symbols in plugins across modules in static + builds + + ... and many, many more! + +------------------------------------------------------------------- +Tue Apr 17 12:52:06 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.14.0: + + Highlights: + - WebRTC support: real-time audio/video streaming to and from + web browsers; + - Experimental support for the next-gen royalty-free AV1 video + codec; + - Video4Linux: encoding support, stable element names and + faster device probing; + - Support for the Secure Reliable Transport (SRT) video + streaming protocol; + - RTP Forward Error Correction (FEC) support (ULPFEC); + - RTSP 2.0 support in rtspsrc and gst-rtsp-server; + - ONVIF audio backchannel support in gst-rtsp-server and + rtspsrc; + - playbin3 gapless playback and pre-buffering support; + - Tee, our stream splitter/duplication element, now does + allocation query aggregation which is important for efficient + data handling and zero-copy; + - QuickTime muxer has a new prefill recording mode that allows + file import in Adobe Premiere and FinalCut Pro while the file + is still being written; + - rtpjitterbuffer fast-start mode and timestamp offset + adjustment smoothing; + - souphttpsrc connection sharing, which allows for connection + reuse, cookie sharing, etc; + - nvdec: new plugin for hardware-accelerated video decoding + using the NVIDIA NVDEC API; + - Adaptive DASH trick play support; + - ipcpipeline: new plugin that allows splitting a pipeline + across multiple processes; + - Major gobject-introspection annotation improvements for large + parts of the library API; + - GStreamer C# bindings have been revived and seen many updates + and fixes; + - The externally maintained GStreamer Rust bindings had many + usability improvements and cover most of the API now. + Coinciding with the 1.14 release, a new release with the 1.14 + API additions is happening. + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 30 12:17:59 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.12.5: + + Bugs fixed: bgo#793560, bgo#793756. + +------------------------------------------------------------------- +Wed Feb 28 16:39:03 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Mon Dec 11 20:21:59 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.12.4: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Mon Sep 18 22:16:39 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.12.3: + + plugin: Always initialize GIL state. + + Add support for Gst.Bitmask. + + tests: Stop using deprecated assertion methods. + + tests: Move all Fundamental types tests in a file. + + structure: Add a .keys() method and implement __str__. + + Return a Gst.*Range instead of a python range converting from + GValue to python. + + structures: Override __new__ to make it more pythonic. + + overrides: Remove IntRange And Int64Range on Python2. + +------------------------------------------------------------------- +Fri Jul 14 13:10:34 UTC 2017 - dimstar@opensuse.org + +- Convert to single-spec. + +------------------------------------------------------------------- +Fri Jul 14 11:56:28 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.12.2: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Wed Jun 21 08:59:20 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.12.1: + + No changes, stable version bump only. + +------------------------------------------------------------------- +Wed May 10 12:43:55 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.12.0: + + No changes, stable version bump only. +- Changes from version 1.11.91: + + No changes. +- Changes from version 1.11.90: + + Bugs fixed: bgo#780369. + +------------------------------------------------------------------- +Sat Feb 25 00:31:55 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.11.2: + + Port old helloworld.py example to GI. + + python: Add an option to set where to install pygi overrides. + + meson: bump version and bump meson requirement. + +------------------------------------------------------------------- +Thu Feb 23 20:30:37 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.11.1: + + Meson build fixes and updates. + + Play nicely with gst-build uninstalled. + + common: use https protocol for common submodule. + + Remove bitrotten and unused gst-python.spec.in file. + +------------------------------------------------------------------- +Thu Feb 23 20:30:36 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.10.4: + + No changes, versionbump only. + +------------------------------------------------------------------- +Mon Jan 30 17:23:02 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.10.3: + + No changes, versionbump only. + +------------------------------------------------------------------- +Mon Jan 9 07:45:22 UTC 2017 - dimstar@opensuse.org + +- Add gobject-introspection BuildRequires: needed in order to get + automatic typelib() Requires added to the package (boo#1017473). + +------------------------------------------------------------------- +Sat Dec 3 19:13:58 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.10.2: + + No changes, version bump only. + +------------------------------------------------------------------- +Sun Nov 27 17:11:47 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.10.1: + + No changes, versionbump only. +- Changes from version 1.10.0: + + Bugs fixed: bgo#772853. + +------------------------------------------------------------------- +Wed Aug 24 09:46:14 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.8.3 (boo#996937): + + No changes, versionbump only. + +------------------------------------------------------------------- +Wed Jun 15 14:30:35 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.8.2: + + No changes, version bump only. + +------------------------------------------------------------------- +Thu Apr 21 08:51:51 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.8.1: + + No changes, version bump only. + +------------------------------------------------------------------- +Wed Mar 16 10:59:01 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.8.0: + + Hardware-accelerated zero-copy video decoding on Android + + New video capture source for Android using the + android.hardware.Camera API. + + Windows Media reverse playback support (ASF/WMV/WMA). + + New tracing system provides support for more sophisticated + debugging tools. + + New high-level GstPlayer playback convenience API. + + Initial support for the new Vulkan API, see Matthew Waters' + blog post for more details. + + Improved Opus audio codec support: Support for more than two + channels; MPEG-TS demuxer/muxer can now handle Opus; + sample-accurate encoding/decoding/transmuxing with Ogg, + Matroska, ISOBMFF (Quicktime/MP4), and MPEG-TS as container; + new codec utility functions for Opus header and caps handling + in pbutils library. The Opus encoder/decoder elements were + also moved to gst-plugins-base (from -bad), and the opus RTP + depayloader/payloader to -good. + + GStreamer VAAPI module now released and maintained as part of + the GStreamer project. + + Asset proxy support in the GStreamer Editing Services. +- Replace gstreamer-plugins-base-devel for + pkgconfig(gstreamer-plugins-base-1.0) BuildRequires and version + it. +- Add explicit pkgconfig(gstreamer-1.0) BuildRequires. + +------------------------------------------------------------------- +Sat Feb 6 12:06:27 UTC 2016 - zaitor@opensuse.org + +- Update to version 1.6.2: + + overrides: fix a few typos in exception messages. + + python: + - Check return value of g_module_symbol(). + - Don't call Py_DECREF() on NULL. + + pythonplugin: Clean up error handling a bit. + +------------------------------------------------------------------- +Mon Nov 23 21:28:43 UTC 2015 - zaitor@opensuse.org + +- Update to version 1.6.1: + + Fix regression creating (Ghost)Pad (bgo#757108). +- Changes from version 1.6.0: + + tests: + - Fix tests in python2. + - Add test_fraction back in the testsuite. + - Bring back the testsuite and test if the initialization + override works. + + overrides: + - Do not use inspect.signature as it is not avalaible in + python2. + - Disable all GStreamer APIs until Gst has been initialized. + - Try hard to make the query writable in the pad query + function. + + Remove INSTALL file. + + plugin: Name differently between python2 and python3. + +------------------------------------------------------------------- +Mon Oct 20 16:26:48 UTC 2014 - dimstar@opensuse.org + +- Update to version 1.4.0: + + pythonplugin: Fix compiler warning about unused format string + argument. + +------------------------------------------------------------------- +Sat Oct 11 21:20:12 UTC 2014 - dimstar@opensuse.org + +- Update to version 1.3.90: + + Sync up for releasse with GStreamer 1.4.x. +- Split new subpackage gstreamer-plugin-python, when building for + python3. + +------------------------------------------------------------------- +Thu Sep 11 21:01:37 UTC 2014 - dimstar@opensuse.org + +- Initial package, python gstreamer; bindings for GStreamer 1.0, + version 1.2.1. + diff --git a/python-gst.spec b/python-gst.spec new file mode 100644 index 0000000..16bc30e --- /dev/null +++ b/python-gst.spec @@ -0,0 +1,90 @@ +# +# spec file for package python-gst +# +# Copyright (c) 2026 SUSE LLC and contributors +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _name gst-python +%define _version 1.26.0 + +%{?sle15_python_module_pythons} +Name: python-gst +Version: 1.28.1 +Release: 0 +Summary: Python Bindings for GStreamer +License: LGPL-2.1-or-later +Group: System/Libraries +URL: https://gstreamer.freedesktop.org +Source0: %{_name}-%{version}.tar.zst + +BuildRequires: %{python_module devel} +BuildRequires: c++_compiler +BuildRequires: gobject-introspection +BuildRequires: meson >= 1.1 +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(gstreamer-1.0) >= %{version} +BuildRequires: pkgconfig(gstreamer-analytics-1.0) >= %{_version} +BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= %{_version} +BuildRequires: pkgconfig(gstreamer-rtsp-server-1.0) >= %{_version} +BuildRequires: pkgconfig(pygobject-3.0) >= 3.0 +Requires: gstreamer >= %{_version} +%{python_subpackages} + +%description +This module contains a wrapper that allows GStreamer applications to be +written in Python. + +%package -n gstreamer-plugin-python +Summary: GStreamer 1.0 plugin for python +Group: System/Libraries + +%description -n gstreamer-plugin-python +This module contains a wrapper that allows GStreamer applications to be +written in Python. + +%prep +%autosetup -p3 -n %{_name}-%{version} + +%build +%{python_expand py_var=$python + mkdir ../$py_var + cp -rp * ../$py_var + pushd ../$py_var + %meson \ + -Dpython-exe=$py_var \ + %{nil} + %meson_build + popd +} + +%install +%{python_expand py_var=$python + pushd ../$py_var + %meson_install + popd +} + +%files %{python_files} +%license COPYING +%dir %{python_sitearch}/gi +%{python_sitearch}/gi/overrides/ + +%files -n gstreamer-plugin-python +%{_libdir}/gstreamer-1.0/libgstpython.so +%dir %{_libdir}/gstreamer-1.0/python +%{_libdir}/gstreamer-1.0/python/gesotioformatter.py + +%changelog