Python bindings for the Gstreamer multimedia framework
Questions tagged [python-gstreamer]
211 questions
1
vote
1 answer
Gstreamer1.0 missing plugin: decodebin2 in Python code
The following Python code that adds three files to a GES timeline throws up the following error that others have also had:
(GError('Your GStreamer installation is missing a plug-in.',), 'gstdecodebin2.c(3928): gst_decode_bin_expose ():…

Apollo Marquis
- 181
- 2
- 8
1
vote
1 answer
gst-uninstalled breaking on audioconvert
I've been battling with building gstreamer on my ubuntu 14.04 system.
I recently found out about the very promising-looking gst-uninstalled scripts as outlined here:…

lysdexia
- 1,786
- 18
- 29
1
vote
1 answer
vidsrc in uvch264 fails
Following pipeline fails. How to debug this? What is going wrong?
gst-launch-1.0 -v uvch264src device=/dev/video0 name=src \
auto-start=true src.vidsrc ! queue ! video/x-h264 ! \
h264parse ! avdec_h264 ! xvimagesink sync=false
Setting pipeline…

user2743055
- 127
- 8
1
vote
0 answers
Gstreamer with Python and PyQt does not work very well
I have two Raspberry Pi. and want stream video from one to another. for do this I used the following command on first Raspberry Pi to stream video :
raspivid -t 999999 -w 1080 -h 720 -fps 25 -hf -b 2000000 -o - | \gst-launch-1.0 -v fdsrc ! h264parse…

user3397145
- 787
- 1
- 5
- 16
1
vote
1 answer
How do you access Gstreamer Registry to get a list of what plugins are available programatically
I want to build a list of the audiovisualiser elements to be able to offer them in a dropdown list within a python program and same for audio effects but how do you access the gstreamer-1.0 registry.

Rolf of Saxony
- 21,661
- 5
- 39
- 60
1
vote
1 answer
GStreamer, Python, and Raspberry Pi
I'm new to using Open Source code and linking things with Raspberry Pi and I would be very happy if anyone could me with this.
I managed to stream some video from my Raspberry Pi 2 to my PC into a window screen using Gstreamer 1.0 which are…

Juan
- 51
- 1
- 6
1
vote
2 answers
How do you get the subtitle index number in gstreamer-1.0
Using gst-discoverer I can get a list of the sub-titles available in an mkv file but they come out in what appears to be a random order.
Does anyone know, using python, how to get the index for each sub-title stream.
Once the index is known a simple…

Rolf of Saxony
- 21,661
- 5
- 39
- 60
1
vote
1 answer
using gstreamer, playing a playlist without stopping the sink
I want to add playlist functionality to my music player. The first track in the list plays. And typing "next" in the console and hitting return should start playing the next track but song stops playing and nothing happens.
setting the state to…

Aman Deep
- 187
- 4
- 11
1
vote
1 answer
Gstreamer Python Change Filesrc
I am trying to write a program that plays a movie on my raspberry pi 2 and - when a special message comes in - goes to another track/video or pauses/unpauses the video.
The connection to the outside world lives in another thread that is not in that…

Tobi
- 1,175
- 1
- 19
- 44
1
vote
0 answers
Concatenating files in Python Gstreamer
I want to stream files from one computer to another using pygst. I wrote the following code:
import gobject
import pygst
pygst.require("0.10")
import gst
import sys
class CustomData:
is_live = False
pipeline = None
loop = None
src =…

Alan Watts
- 11
- 6
1
vote
1 answer
Can't get properties of GstBaseSink on GstXvImageSink in pygst
I'm trying to access the "last-sample" property from GstXvImageSink which is derived from GstBaseSink.
I'm getting:
TypeError: object of type 'GstXvImageSink' does not have property 'last-sample'
Is there a special way to get properties from base…

user1296240
- 51
- 1
- 6
1
vote
0 answers
Deploying python-gst. Pyinstaller on windows fails on gi package - DLL load failed
I'm trying to deploy a program running the binding of gstreamer in python (python-gst). Im using pyinstaller for this. Im running windows 7, python-2.7 64 bits. Heres a minimal working example - pyinstallertest.py:
import gi
print 'hello world'
I…

simen-andresen
- 2,217
- 4
- 25
- 39
1
vote
1 answer
Switching between different sources in GStreamer 0.10 not working
I am trying to switch between two streams using input-selector but I am getting the error:
`AttributeError: 'NoneType' object has no attribute 'get_property'`
This is my Python code:
def __init__(self):
pipeline_string=(
…

Haris Kovacevic
- 672
- 6
- 21
1
vote
2 answers
Get the window handle in PyGI
In my program 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 get that handle…

Biggie
- 7,037
- 10
- 33
- 42
1
vote
1 answer
cut parts of a video using gstreamer/Python (gnonlin?)
I have a video file and I'd like to cut out some scenes (either identified by a time position or a frame). As far as I understand that should be possible with gnonlin but so far I wasn't able to find a sample how to that (ideally using Python). I…

Felix Schwarz
- 2,938
- 4
- 28
- 41