# \#python

**URL:** https://discourse.gstreamer.org/tag/python/10.md

[Latest](https://discourse.gstreamer.org/latest.md) · [Categories](https://discourse.gstreamer.org/categories.md) · [Tags](https://discourse.gstreamer.org/tags.md)

---

## [Meson devenv and Python Gst.parse\_launch( pipeline )](https://discourse.gstreamer.org/t/meson-devenv-and-python-gst-parse-launch-pipeline/5885)

<div class="topic-metadata">

**Author:** [@CarlFK](https://discourse.gstreamer.org/u/CarlFK)\
**Replies:** 0\
**Last updated:** [August 25, 2026, 7:58pm UTC](https://discourse.gstreamer.org/t/meson-devenv-and-python-gst-parse-launch-pipeline/5885 "2026-08-25T19:58:53Z")

</div>

I build gst master and: python3 -m venv venvs/veyepar --system-site-packages videoteam@mo:~$ meson devenv -C gstreamer/builddir \[gstreamer-full\] videoteam@mo:~$ gst-launch-1.0 decklink2srcbin device-number=1 ! fakesink …

---

## [Modifying CustomMeta in python seems still broken](https://discourse.gstreamer.org/t/modifying-custommeta-in-python-seems-still-broken/5843)

<div class="topic-metadata">

**Author:** [@Thraen](https://discourse.gstreamer.org/u/Thraen)\
**Replies:** 1\
**Last updated:** [June 23, 2026, 12:57pm UTC](https://discourse.gstreamer.org/t/modifying-custommeta-in-python-seems-still-broken/5843 "2026-06-23T12:57:15Z")

</div>

Hi, From the following 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 (#76) · Issues · GStreamer / gstreame…

---

## [Objects foreign to GObject as properties and how to handle them with Python](https://discourse.gstreamer.org/t/objects-foreign-to-gobject-as-properties-and-how-to-handle-them-with-python/5841)

<div class="topic-metadata">

**Author:** [@YakoYakoYokuYoku](https://discourse.gstreamer.org/u/YakoYakoYokuYoku)\
**Replies:** 0\
**Last updated:** [June 17, 2026, 6:14pm UTC](https://discourse.gstreamer.org/t/objects-foreign-to-gobject-as-properties-and-how-to-handle-them-with-python/5841 "2026-06-17T18:14:08Z")

</div>

I want to take time into discussing how GStreamer handles foreign objects to the GObject system. Assigning or obtaining element, pad or pad template properties in Python is pretty trivial as these are exposed as if they …

---

## [How to stop splitmuxsink?](https://discourse.gstreamer.org/t/how-to-stop-splitmuxsink/5814)

<div class="topic-metadata">

**Author:** [@alicab](https://discourse.gstreamer.org/u/alicab)\
**Replies:** 1\
**Last updated:** [May 12, 2026, 10:01am UTC](https://discourse.gstreamer.org/t/how-to-stop-splitmuxsink/5814 "2026-05-12T10:01:55Z")

</div>

Hi everyone! Is there a way to send a signal to the splitmuxsink so that it finishes recording to a file without creating a new one (like split-now?) Or is it better to use a different element?

---

## [Capturing output of rtp\*depay with appsink](https://discourse.gstreamer.org/t/capturing-output-of-rtp-depay-with-appsink/5809)

<div class="topic-metadata">

**Author:** [@bent-nz](https://discourse.gstreamer.org/u/bent-nz)\
**Replies:** 2\
**Last updated:** [May 8, 2026, 9:16pm UTC](https://discourse.gstreamer.org/t/capturing-output-of-rtp-depay-with-appsink/5809 "2026-05-08T21:16:42Z")

</div>

I want to open an RTSP stream and capture the encoded media directly using an appsink. (I explicitly don’t want to use a decodebin, I want to deal with the encoding myself) I am doing this by attaching to the pad-added …

---

## [Crash when switching H264 RTP streams using input-selector / pipeline restart (v4l2h264dec)](https://discourse.gstreamer.org/t/crash-when-switching-h264-rtp-streams-using-input-selector-pipeline-restart-v4l2h264dec/5776)

<div class="topic-metadata">

**Author:** [@sajansaji](https://discourse.gstreamer.org/u/sajansaji)\
**Replies:** 5\
**Last updated:** [May 3, 2026, 5:32pm UTC](https://discourse.gstreamer.org/t/crash-when-switching-h264-rtp-streams-using-input-selector-pipeline-restart-v4l2h264dec/5776 "2026-05-03T17:32:20Z")

</div>

Hi all, I’m relatively new to GStreamer and still have a limited understanding of it. I’m trying to build an application that receives H264 RTP streams over UDP and displays them using a hardware-accelerated decoder (v4…

---

## [Issue in streaming from USB camera](https://discourse.gstreamer.org/t/issue-in-streaming-from-usb-camera/5774)

<div class="topic-metadata">

**Author:** [@PiotrBujakowski](https://discourse.gstreamer.org/u/PiotrBujakowski)\
**Replies:** 2\
**Last updated:** [March 28, 2026, 4:12pm UTC](https://discourse.gstreamer.org/t/issue-in-streaming-from-usb-camera/5774 "2026-03-28T16:12:54Z")

</div>

Good day. I use AI for create script for recording from USB camera. Still is issue with working. Please check code and GStream, thanks. “”" Camera Manager - Max FPS Pipeline (No Decoding in Recording Branch) “”" i…

---

## [QT Gstreamer Event Loop Woes](https://discourse.gstreamer.org/t/qt-gstreamer-event-loop-woes/5766)

<div class="topic-metadata">

**Author:** [@KamWithK](https://discourse.gstreamer.org/u/KamWithK)\
**Replies:** 2\
**Last updated:** [March 21, 2026, 10:14pm UTC](https://discourse.gstreamer.org/t/qt-gstreamer-event-loop-woes/5766 "2026-03-21T22:14:33Z")

</div>

I’m having some issues trying to get gstreamer to work with QT. Trying to use gstreamer for some basic background processing of a pipewire video stream. But I’m having troubles because the glib main loop doesn’t seem ab…

---

## ["Compositor" background showing during transition](https://discourse.gstreamer.org/t/compositor-background-showing-during-transition/5752)

<div class="topic-metadata">

**Author:** [@rasm945i](https://discourse.gstreamer.org/u/rasm945i)\
**Replies:** 9\
**Last updated:** [March 16, 2026, 2:55pm UTC](https://discourse.gstreamer.org/t/compositor-background-showing-during-transition/5752 "2026-03-16T14:55:25Z")

</div>

Hi My setup and goal I’m on Ubuntu Server minimal install using kmssink and multiple video streams being fed into a compositor, and their audio to an audiomixer. I need to be able to switch which video is shown, perse…

---

## [Inquiry regarding Python binding versions in Windows MSVC binaries and custom compilation guidance](https://discourse.gstreamer.org/t/inquiry-regarding-python-binding-versions-in-windows-msvc-binaries-and-custom-compilation-guidance/5736)

<div class="topic-metadata">

**Author:** [@simonjie](https://discourse.gstreamer.org/u/simonjie)\
**Replies:** 2\
**Last updated:** [March 2, 2026, 4:36pm UTC](https://discourse.gstreamer.org/t/inquiry-regarding-python-binding-versions-in-windows-msvc-binaries-and-custom-compilation-guidance/5736 "2026-03-02T16:36:37Z")

</div>

Hi GStreamer Community, I have noticed some inconsistency regarding the Python versions targeted by the Windows MSVC binaries. Specifically, in the 1.26.x release, the binaries included \_gi.cp313-win\_amd64.pyd (targetin…

---

## [Use appsrc in multiple clients for RTSP streaming in python](https://discourse.gstreamer.org/t/use-appsrc-in-multiple-clients-for-rtsp-streaming-in-python/5703)

<div class="topic-metadata">

**Author:** [@eypros](https://discourse.gstreamer.org/u/eypros)\
**Replies:** 0\
**Last updated:** [January 28, 2026, 12:12pm UTC](https://discourse.gstreamer.org/t/use-appsrc-in-multiple-clients-for-rtsp-streaming-in-python/5703 "2026-01-28T12:12:59Z")

</div>

I am trying to create a combined Neural Network detector (combined with opencv) and propagate the output via RTSP stream. I am using python if that’s not evident by the tag by the way. My approach works to a degree sati…

---

## [Pulsesink and audio device release: device busy errors](https://discourse.gstreamer.org/t/pulsesink-and-audio-device-release-device-busy-errors/5612)

<div class="topic-metadata">

**Author:** [@FabPoll](https://discourse.gstreamer.org/u/FabPoll)\
**Replies:** 0\
**Last updated:** [January 21, 2026, 2:18pm UTC](https://discourse.gstreamer.org/t/pulsesink-and-audio-device-release-device-busy-errors/5612 "2026-01-21T14:18:23Z")

</div>

Hi everyone, I have a question about releasing an audio device (hw:4 for aplay -l, 11 for sounddevice). When I try to access the audio card directly after using pulsesink with this command: gst-launch-1.0 playbin uri=f…

---

## [Segmentation fault caused by running multiple concurrent GStreamer pipelines with PyGObject in Python, likely due to GLib/GStreamer thread-safety or main loop issues under concurrency](https://discourse.gstreamer.org/t/segmentation-fault-caused-by-running-multiple-concurrent-gstreamer-pipelines-with-pygobject-in-python-likely-due-to-glib-gstreamer-thread-safety-or-main-loop-issues-under-concurrency/5581)

<div class="topic-metadata">

**Author:** [@Subash](https://discourse.gstreamer.org/u/Subash)\
**Replies:** 1\
**Last updated:** [January 2, 2026, 1:57pm UTC](https://discourse.gstreamer.org/t/segmentation-fault-caused-by-running-multiple-concurrent-gstreamer-pipelines-with-pygobject-in-python-likely-due-to-glib-gstreamer-thread-safety-or-main-loop-issues-under-concurrency/5581 "2026-01-02T13:57:04Z")

</div>

SIGSEGV with PyGObject + GStreamer under concurrent pipelines (Python) Summary A segmentation fault (SIGSEGV, exit code 139) occurs when running multiple concurrent GStreamer pipelines using PyGObject in a Python applica…

---

## [Is there proper ways to remove bin dynamically in gst python?](https://discourse.gstreamer.org/t/is-there-proper-ways-to-remove-bin-dynamically-in-gst-python/5554)

<div class="topic-metadata">

**Author:** [@donghyunKo-define](https://discourse.gstreamer.org/u/donghyunKo-define)\
**Replies:** 5\
**Last updated:** [December 30, 2025, 6:53am UTC](https://discourse.gstreamer.org/t/is-there-proper-ways-to-remove-bin-dynamically-in-gst-python/5554 "2025-12-30T06:53:21Z")

</div>

import gi gi.require\_version('Gst', '1.0') from gi.repository import Gst, GLib import time import threading Gst.init(None) class GStreamerBinController: def \_\_init\_\_(self): self.pipeline = None self…

---

## [Webrtc cipher suite compatibility](https://discourse.gstreamer.org/t/webrtc-cipher-suite-compatibility/5542)

<div class="topic-metadata">

**Author:** [@FabPoll](https://discourse.gstreamer.org/u/FabPoll)\
**Replies:** 1\
**Last updated:** [December 3, 2025, 12:49am UTC](https://discourse.gstreamer.org/t/webrtc-cipher-suite-compatibility/5542 "2025-12-03T00:49:41Z")

</div>

Hi all, I wanted to highlight an issue I encountered while working on a pure Python client for the GStreamer WebRTC server. I can successfully receive an H.264 stream, but I need to add an additional cipher suite. Th…

---

## [Building a gstreamer pipeline to cast directly in web browser](https://discourse.gstreamer.org/t/building-a-gstreamer-pipeline-to-cast-directly-in-web-browser/5518)

<div class="topic-metadata">

**Author:** [@Joshua](https://discourse.gstreamer.org/u/Joshua)\
**Replies:** 2\
**Last updated:** [November 15, 2025, 10:07pm UTC](https://discourse.gstreamer.org/t/building-a-gstreamer-pipeline-to-cast-directly-in-web-browser/5518 "2025-11-15T22:07:45Z")

</div>

Hi, I’m working on a project that requires streaming video output from a GStreamer pipeline to a web browser. I am looking into WebRTC as this seems to be the simplest solution to implement. I want to build a GStreamer…

---

## [Choosing protocol for pipeline communication](https://discourse.gstreamer.org/t/choosing-protocol-for-pipeline-communication/5515)

<div class="topic-metadata">

**Author:** [@sannet](https://discourse.gstreamer.org/u/sannet)\
**Replies:** 1\
**Last updated:** [November 13, 2025, 10:20am UTC](https://discourse.gstreamer.org/t/choosing-protocol-for-pipeline-communication/5515 "2025-11-13T10:20:05Z")

</div>

I am currently working with a basic gstremer pipeline which pre builded. Pipeline structure is not customizable. However, there is a class (located in a script file) and it consists of 2 different methods (\_init\_, \_call\_…

---

## [WebRTC vs. UDP/RTP: Streaming Audio Samples to a Remote Compute](https://discourse.gstreamer.org/t/webrtc-vs-udp-rtp-streaming-audio-samples-to-a-remote-compute/5476)

<div class="topic-metadata">

**Author:** [@FabPoll](https://discourse.gstreamer.org/u/FabPoll)\
**Replies:** 1\
**Last updated:** [November 6, 2025, 8:55am UTC](https://discourse.gstreamer.org/t/webrtc-vs-udp-rtp-streaming-audio-samples-to-a-remote-compute/5476 "2025-11-06T08:55:21Z")

</div>

Hi everyone, I have a scenario where I receive audio samples from OpenAI Realtime that I want to playback on a remote computer. Initially, I tried using webrtcsink, but I couldn’t get it to work. In theory, it should b…

---

## [Toolchain and workflow to build a new plugin == "boilerplate"](https://discourse.gstreamer.org/t/toolchain-and-workflow-to-build-a-new-plugin-boilerplate/5472)

<div class="topic-metadata">

**Author:** [@crashmatt](https://discourse.gstreamer.org/u/crashmatt)\
**Replies:** 3\
**Last updated:** [November 2, 2025, 11:57pm UTC](https://discourse.gstreamer.org/t/toolchain-and-workflow-to-build-a-new-plugin-boilerplate/5472 "2025-11-02T23:57:27Z")

</div>

For anyone like me struggling with understanding how to get started with plugin build toolchain, “boilerplate” is the magic word you are missing. Constructing the Boilerplate gstreamer/subprojects/gst-docs/markdown/plu…

---

## [Send screencapture data from Pipewire to WebRTC](https://discourse.gstreamer.org/t/send-screencapture-data-from-pipewire-to-webrtc/5426)

<div class="topic-metadata">

**Author:** [@czscout](https://discourse.gstreamer.org/u/czscout)\
**Replies:** 11\
**Last updated:** [October 8, 2025, 6:23am UTC](https://discourse.gstreamer.org/t/send-screencapture-data-from-pipewire-to-webrtc/5426 "2025-10-08T06:23:29Z")

</div>

I’m attempting to stream a Freedesktop ScreenCast capture over WebRTC via GStreamer using its pipewiresrc and webrtcbin elements. I’ve made a decent amount of progress so far: I can stream the videotestsrc with my curre…

---

## [udpsrc with gst-rtsp-server](https://discourse.gstreamer.org/t/udpsrc-with-gst-rtsp-server/5423)

<div class="topic-metadata">

**Author:** [@gforeman02](https://discourse.gstreamer.org/u/gforeman02)\
**Replies:** 0\
**Last updated:** [September 26, 2025, 7:10pm UTC](https://discourse.gstreamer.org/t/udpsrc-with-gst-rtsp-server/5423 "2025-09-26T19:10:57Z")

</div>

Hello: I am using gst-rtsp-server with GstRtspServer.RTSPMediaFactory.set\_shared = False. Does this work with multiple rtsp clients and a udpsrc at the head of the pipeline? I tried it with two logins, the first plays…

---

## [Dynamically removing webrtcsrc](https://discourse.gstreamer.org/t/dynamically-removing-webrtcsrc/5322)

<div class="topic-metadata">

**Author:** [@FabPoll](https://discourse.gstreamer.org/u/FabPoll)\
**Replies:** 11\
**Last updated:** [September 5, 2025, 4:15pm UTC](https://discourse.gstreamer.org/t/dynamically-removing-webrtcsrc/5322 "2025-09-05T16:15:11Z")

</div>

Hi everyone, I have a question about properly removing elements from a GStreamer pipeline, particularly when using webrtcsrc. I know this topic has been discussed quite often, such as here, but I’m not entirely sure I u…

---

## [Wierd behaver with concat](https://discourse.gstreamer.org/t/wierd-behaver-with-concat/4946)

<div class="topic-metadata">

**Author:** [@www2](https://discourse.gstreamer.org/u/www2)\
**Replies:** 1\
**Last updated:** [August 9, 2025, 9:14am UTC](https://discourse.gstreamer.org/t/wierd-behaver-with-concat/4946 "2025-08-09T09:14:33Z")

</div>

Hi i working on a project for live streaming video with background music but i fond a weird behavior with concat. The behavior expected is when i load song 1.mp3 and song 2.ogg i expect 1.mp3 play before 2.ogg, but gstr…

---

## [Loss timestamps in rtsp](https://discourse.gstreamer.org/t/loss-timestamps-in-rtsp/4917)

<div class="topic-metadata">

**Author:** [@alicab](https://discourse.gstreamer.org/u/alicab)\
**Replies:** 0\
**Last updated:** [July 29, 2025, 8:15am UTC](https://discourse.gstreamer.org/t/loss-timestamps-in-rtsp/4917 "2025-07-29T08:15:32Z")

</div>

Hello here! I’m work with Gstreamer for 6 months, and in last time I can’t fix trouble with lose timestamp with rtsp. My pipeline here. def pipeline\_get\_launch(self, rtsp\_path, folder\_path, camera\_id, archive\_hour\_p…

---

## [Issue regarding setRemote description in webrtc bin in python](https://discourse.gstreamer.org/t/issue-regarding-setremote-description-in-webrtc-bin-in-python/4911)

<div class="topic-metadata">

**Author:** [@gaby](https://discourse.gstreamer.org/u/gaby)\
**Replies:** 2\
**Last updated:** [July 25, 2025, 6:06pm UTC](https://discourse.gstreamer.org/t/issue-regarding-setremote-description-in-webrtc-bin-in-python/4911 "2025-07-25T18:06:25Z")

</div>

:cross\_mark: Connection handler failed: could not convert type WebRTCSDPType to GstWebRTCSessionDescription required for parameter 0 Traceback (most recent call last): File “/mnt/e/mcu/backend/server.py”, line 77, in h…

---

## [GStreamer Tee for LiveView and saving streams to Mp4 file](https://discourse.gstreamer.org/t/gstreamer-tee-for-liveview-and-saving-streams-to-mp4-file/4803)

<div class="topic-metadata">

**Author:** [@Muhammad-Haziq911](https://discourse.gstreamer.org/u/Muhammad-Haziq911)\
**Replies:** 6\
**Last updated:** [July 2, 2025, 7:58am UTC](https://discourse.gstreamer.org/t/gstreamer-tee-for-liveview-and-saving-streams-to-mp4-file/4803 "2025-07-02T07:58:49Z")

</div>

I am able to record videos using the Gst.parse\_launch() utility, it waits for EOF and gracefully closes the files. When I tee the encoded streams for liveViews, while recording, I have to create elements on the go, which…

---

## [Can i bypass playbin3's decoding part of the pipeline? or should i make a custom pipeline to emulate it?](https://discourse.gstreamer.org/t/can-i-bypass-playbin3s-decoding-part-of-the-pipeline-or-should-i-make-a-custom-pipeline-to-emulate-it/4799)

<div class="topic-metadata">

**Author:** [@Stanboi](https://discourse.gstreamer.org/u/Stanboi)\
**Replies:** 0\
**Last updated:** [July 1, 2025, 5:04pm UTC](https://discourse.gstreamer.org/t/can-i-bypass-playbin3s-decoding-part-of-the-pipeline-or-should-i-make-a-custom-pipeline-to-emulate-it/4799 "2025-07-01T17:04:43Z")

</div>

Hello everyone, i am new to gstreamer and I’ve started using it a month ago. My project is basically that I have 3 rtsp chanells that I shoot out of gstreamer. Those chanells have a playlist in each of them which is di…

---

## [Python documentation](https://discourse.gstreamer.org/t/python-documentation/4730)

<div class="topic-metadata">

**Author:** [@www2](https://discourse.gstreamer.org/u/www2)\
**Replies:** 0\
**Last updated:** [June 10, 2025, 11:58am UTC](https://discourse.gstreamer.org/t/python-documentation/4730 "2025-06-10T11:58:48Z")

</div>

Hi, I wand to know is there more example files for python on the pipeline current on the website there are current only two tutorial that have python examples (Basic tutorial 1 and Basic tutorial 2), but i like to see t…

---

## [Pipeline latency](https://discourse.gstreamer.org/t/pipeline-latency/4604)

<div class="topic-metadata">

**Author:** [@shirb](https://discourse.gstreamer.org/u/shirb)\
**Replies:** 3\
**Last updated:** [May 27, 2025, 8:49pm UTC](https://discourse.gstreamer.org/t/pipeline-latency/4604 "2025-05-27T20:49:12Z")

</div>

hello, I have an application in python that’s running pipeline: udpsrc → tsdemux → h265parse → queue → avdec\_h265 → x264enc → rtph264pay → appsink → appsrc → webrtcbin. I want to measure the latency of the pipeline: …

---

## [Plugins not loading](https://discourse.gstreamer.org/t/plugins-not-loading/4652)

<div class="topic-metadata">

**Author:** [@shirb](https://discourse.gstreamer.org/u/shirb)\
**Replies:** 1\
**Last updated:** [May 25, 2025, 2:31pm UTC](https://discourse.gstreamer.org/t/plugins-not-loading/4652 "2025-05-25T14:31:19Z")

</div>

Hello, I’m building my application on docker with nvidia’s deepstream base image. This is my dockerfile: FROM nvcr.io/nvidia/deepstream:7.1-samples-multiarch ENV SYSTEM\_MAX\_USERS=3 ENV SYSTEM\_USE\_GPU=True ENV SYSTE…

[Next page](https://discourse.gstreamer.org/tag/python/10.md?match_all_tags=true&page=1&tags%5B%5D=python)
