Questions tagged [python-gstreamer]

Python bindings for the Gstreamer multimedia framework

175 questions
9
votes
1 answer

Write opencv frames into gstreamer rtsp server pipeline

I'm trying to put opencv images into a gstreamer rtsp server in python. I have some issue writing in the mediafactory, I'm new to gst-rtsp-server ancd there's little documentation so I don't know exactly if I'm using the right approach. I'm using a…
WisdomPill
  • 615
  • 2
  • 11
  • 22
8
votes
0 answers

Gstreamer webrtcbin working sample pipeline

Can someone show up to date webrtcbin pipeline? At the moment i use these pipelines and they do not work. Send: gst-launch-1.0 webrtcbin bundle-policy=max-bundle name=sendrecv stun-server=stun://stun.l.google.com:19302 audiotestsrc is-live=true…
Monalisa
  • 91
  • 1
  • 4
8
votes
3 answers

gstreamer python bindings for windows

I am looking into gstreamer as a means to choose a video device from a list to feed it to an opencv script. I absolutely do not understand how to use gstreamer with python in windows. I installed the Windows gstreamer 1.07 binaries from the…
Raoul
  • 1,744
  • 3
  • 22
  • 44
8
votes
2 answers

Python send and receive RTP packets

I want to send multimedia data over RTP. What I wnat to know is how to send and receive RTP packets with Python. I found the python class DPKT. But couldn't able to find a good reference to visualize how to generate each filed in RTP. I would…
6
votes
2 answers

How to write a GStreamer plug-in in Cython

I want to prototype a new type of audio filter. At the moment I use GStreamer to return a buffer of my audio, and Cython to apply the filter to it. Then I send the result back to GStreamer. Everything is wrapped in a python main code, the GStreamer…
Flavian Hautbois
  • 2,572
  • 6
  • 25
  • 40
6
votes
2 answers

Is it still possible to have standalone Python elements in GStreamer 1.0?

I have an application written with gst-python for GStreamer 0.10 that I am trying to port to GStreamer 1.0. In my application, I have some custom elements written in Python (subclasses of gst.BaseSrc and gst.BaseTransform). Each python-element has…
Joppe
  • 1,219
  • 11
  • 16
5
votes
1 answer

Python - No module named pygst

I'm using virtualenv on Ubuntu 14.04 with Python 2.7.13, and I'm trying to get import pygst to work (I'm a complete Python noob). I downloaded: https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.12.1.tar.xz Compiled and installed…
Casper
  • 30,513
  • 4
  • 77
  • 72
5
votes
3 answers

How to install python "gi" module in virtual environment?

I have looked at this, and tried the following code: ln -s /usr/lib/python2.7/dist-packages/pygtk.pth tools/python_2_7_9/lib/python2.7/site-packages/ ln -s /usr/lib/python2.7/dist-packages/gobject tools/python_2_7_9/lib/python2.7/site-packages/ ln…
Yunsheng Bai
  • 179
  • 3
  • 14
4
votes
1 answer

Play audio through muliple channels with python

Is there a way in python to play two different mono mp3 files through the left and right channels? I have two mp3 files and I want to play one through the left speaker and the other mp3 through the right speaker, programatically in python. Any…
Vimal
  • 61
  • 5
4
votes
0 answers

gstreamer 1.0 + python: dynamic link and unlink queues from a PLAYING pipeline

Pipeline architecture I'm trying to implement The script works well when both the queues are linked together before setting the pipeline to PLAYING, but I'm having a hard time understanding Gstreamer dynamic pipelines and their implementation. Also…
4
votes
0 answers

Get the window handle in PyGI on MacOS

I use PyGObject/PyGI and GStreamer to show a video in my GUI. The video is shown in a Gtk.DrawingArea and therefore I need to get it's window-handle in the realize-signal-handler. On Linux I can simply use…
Biggie
  • 6,647
  • 10
  • 30
  • 39
4
votes
0 answers

Gstreamer with Bad Quality. Packet Loss

I'm new to Gstreamer and for some reason the quality of my stream is off. It looks like there are some packet loss. I created a pipeline on my Raspberry Pi 2 and another pipeline on my PC. Could someone explain to me why is this happening and/or how…
4
votes
0 answers

How to set channel positions/a channel mask in gstreamer?

I'm trying to get 28 channels out of a jackaudiosrc but as soon as I connect, say, a deinterleave element, the source will fall back to the 2-channel setup that works without any channel mask. My attempts at setting a channel mask have been…
Christian
  • 470
  • 6
  • 22
4
votes
2 answers

Gstreamer Missing plugins

I am trying to run certain pipelines on the Command prompt for playing a video and I am often getting these errors/messages/warnings : WARNING: erroneous pipeline: no element "qtdemux" WARNING: erroneous pipeline: no element "playbin2" WARNING:…
Raulp
  • 6,261
  • 11
  • 73
  • 129
3
votes
2 answers

Gstreamer is installed but not built with OpenCV

I'm trying to stream a video from my PC to another I started with a basic example, this one https://stackoverflow.com/a/51543002/9492711 I configured the udpsink host properly to map to my pc, but I'm getting this message constantly VideoCapture or…
basel.ai
  • 127
  • 8
1
2 3
11 12