Questions tagged [python-gstreamer]

Python bindings for the Gstreamer multimedia framework

175 questions
0
votes
1 answer

Method not available in RTSPMediaFactory

I am using Gstreamer RTSPMediaFactory (libgstrtspserver 1.0) v 1.2.3-0. From Python, I have derived from the MediaFactory, and overridden create_element. Unfortunately, my create_element is never called, so the RtspServer complains no launch line…
Adam
  • 3,997
  • 3
  • 27
  • 50
0
votes
1 answer

GStreamer issue with time

I use GStreamer to play audio and regularly require a timestamp of where I am in the file. If I adjust the rate of play, be it using a seek command specifying a new play rate or if I use a plugin like “pitch” to adjust the “tempo” component. All…
Rolf of Saxony
  • 17,223
  • 3
  • 31
  • 47
0
votes
0 answers

Gstreamer udpsrc read or socket error

I have built Gstreamer from Github source, version 1.5.2. I try to receive four RTP streams via UDP and mix them to a single sink. gst-launch-1.0 executes the pipeline without issues: gst-launch-1.0 adder name=mix \ mix. ! audioresample !…
Christoph Kuhr
  • 245
  • 1
  • 5
  • 16
0
votes
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
  • 17,223
  • 3
  • 31
  • 47
0
votes
1 answer

Play .avi video using GStreamer 1.0 and Python

I've been searching a lot of examples for using GStreamer's python library on Windows but the only ones that work well are like this: #!/usr/bin/env python3 # -*- coding:utf-8 -*- # GStreamer SDK Tutorials in Python # # …
user3587175
  • 105
  • 3
  • 3
  • 8
0
votes
1 answer

GStreamer: How to play 1 file into a loop?

With this: import gst self.player = gst.element_factory_make("playbin", "player") self.player.set_property('uri','file:///test.ogg)) self.player.set_state(gst.STATE_PLAYING) How could I force a infinite loop of that test.ogg file?
Costales
  • 2,634
  • 1
  • 12
  • 19
0
votes
1 answer

GLib.Error: gst_parse_error: no element "zbar"

from gi.repository import GdkX11, GstVideo p = 'v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! videoconvert ! xvimagesink' self.a = a = Gst.parse_launch(p) Error: self.a = a = Gst.parse_launch(p) GLib.Error:…
Parth
  • 639
  • 7
  • 22
0
votes
1 answer

How to create gstreamer pipe in python and open in OpenCV

Hi I want to create the following pipe in python. gst-launch-1.0 udpsrc port=5000 ! application/x-rtp, encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink I have tried the following pipeline =…
Akash Deshpande
  • 2,293
  • 9
  • 35
  • 77
0
votes
1 answer

Make a simple audio player with a playback control with gstreamer1.0 and gtk3

I'd like to make a simple music player using the GI library, including the recent Gstreamer1.0. The interface is just comprised of 2 buttons (play/pause) and a scale to seek the current playback time: I pretty much well understood the pipeline and…
Hadrien Titeux
  • 431
  • 2
  • 10
0
votes
1 answer

Sending eos in gstreamer after pre-defined time using new_single_shot_id

I have a gstreamer application where I am creating a video with images. I need to create the video for a predefined time. I would like to send eos after the predefined time. I know that this can be achieved using new_single_shot_id in gstClock. But…
0
votes
1 answer

Gstreamer Pipeline Dynamic Change Python

I have been trying to dynamically change the gstreamer pipeline but it just stops the stream as soon as I change the state. What is it that I am doing wring here. Here is my code : #!/usr/bin/python import gobject import…
0
votes
1 answer

id3demux "streaming task paused, reason not-linked (-1)" on certain MP3s

I'm creating a player in Python-GStreamer, on a pretty dated GStreamer 0.10.32, like this: import pygst pygst.require("0.10") import gst import gobject self.__player = gst.parse_launch( 'filesrc name="source" location="/file/here.mp3" ' '!…
Victor Sergienko
  • 11,714
  • 2
  • 50
  • 78
0
votes
1 answer

Gstreamer Editing Services. Playing real video file. GESAsset element (translation from Python to C)

I'm trying to play video file using GES. I found python bindings example cut parts of a video using gstreamer/Python (gnonlin?) and I want to translate it to C language. This is the excerpt of the python code which I want to translate to C: asset =…
Benas
  • 1,507
  • 2
  • 27
  • 59
0
votes
1 answer

Gstreamer - opus caps parsing error, anyone know how to fix it?

What is wrong in my parsing? Its failing to parse properly the opus caps (but not speex) and causing it not functional anyone know, where i have to add more \ or / or " or ' symbols to make it valid caps? $ gst-launch-0.10 -v gstrtpbin name=rtpbin…
user285594
0
votes
1 answer

Gstreamer bus calls i.c.w. python multiprocessing cause X server errors in Ubuntu

I have written a video player in gstreamer as specified here: https://github.com/dschreij/media_player_gst/blob/master/media_player_gst.py In Windows it works fine in 'normal' and multiprocessing mode (that is all Gstreamer parts and the player…
1 2 3
11
12