Questions tagged [python-gstreamer]

Python bindings for the Gstreamer multimedia framework

211 questions
0
votes
1 answer

Python3 on Lubuntu: importing Gstreamer Editing Services

I am trying to make a simple python program using GTK and gstreamer. For this purpose, I need the GES (Gstreamer Editing Services) but I seem to be unable to correctly install the dependencies I need. So far, I have installed (sudo apt-get…
0
votes
1 answer

How to create MPEG2 Transport Stream Pipeline Using Python and Gstreamer

In developing a streaming audio application I used the gst-launch-1.0 command-line tool to generate an MPEG Transport stream for testing. This worked as intended (I was able to serve the stream from a simple http server and hear it using VLC media…
0
votes
1 answer

InterpolationControlSource with Gst.parse_launch()

My app (in Python), loads the Gstreamer library, parses and launches a pipeline spec that composites subtitles from an SRT file on top of a prepared video from an MP4 file, then creates a control source with a binding to the 'alpha' property of the…
Lawrence I. Siden
  • 9,191
  • 10
  • 43
  • 56
0
votes
0 answers

Unit test framework for Gstreamer application written in python

I wrote a python application that creates multiple udp streaming pipelines using the python gstreamer bindings (Gst1.0 module). Each pipeline contains one udpsrc and can contain multiple udpsink elements and is dynamically modifiable. The user can…
0
votes
1 answer

Python with Gstreamer pipeline

I'm working on an Udoo trying to get the camera to take a picture that I can manipulate inside Python. So far, the camera works with gst-launch-1.0 imxv4l2videosrc ! imxipuvideosink I can also take a single picture with gst-launch-1.0…
justynnuff
  • 461
  • 1
  • 6
  • 20
0
votes
1 answer

'gtk.gdk.Win32Window' object has no attribute 'get_xid'

Env - python2.7, gstreamer 1.0 on windows7 I was trying to run codes from http://bazaar.launchpad.net/~jderose/+junk/gst-examples/view/head:/video-player-1.0 on my env, and it's failing with AttributeError: 'gtk.gdk.Win32Window' object has no…
AlokThakur
  • 3,599
  • 1
  • 19
  • 32
0
votes
1 answer

gstreamer-1.0 on Raspberry Pi: cannot decode H.264 stream

I'm trying to run a gstreamer-1.0 python script (see below, works fine on an ubuntu laptop) on a Raspberry Pi. However, it seems to be unable to decode the stream: 0:00:11.237415476 9605 0xafb0cc60 ERROR vaapidecode…
Christoph
  • 1,040
  • 3
  • 14
  • 29
0
votes
1 answer

gstreamer: no output from custom pipeline (replacing playbin)

I'm trying to replace playbin in an application with my own pipeline, because I need to add filters to the video. Here is what I tried: # self.pipeline = gst.ElementFactory.make("playbin", None) # self.pipeline.set_property("uri",…
Christoph
  • 1,040
  • 3
  • 14
  • 29
0
votes
1 answer

Unable to write multiple simultaneous filesinks from appsrc

I'm having trouble saving from appsrc to filesink when I have multiple gstreamer processes running simultaneously. Only one of the gstreamer processes will write correctly while the others will all write nearly empty files. There appears to be…
0
votes
1 answer

sys:1: Warning: g_hash_table_foreach: assertion 'version == hash_table->version' failed

When I tried the Tobii Pro Glasses SDK demo video_with_gaze.py, I came across this warning, and it did not show any result (ideally, it should show the video together with the gaze point). I guess maybe the glib version is not right, but I do not…
Zhenjie Zhao
  • 363
  • 1
  • 5
  • 17
0
votes
1 answer

Issue defining gstreamer video window on Raspbian

Using Gstreamer 'playbin' in python the 'set_window_handle' code tells Gstreamer the window id in which to render the video: This works in standard Linux Mate and also on a Raspberry Pi 3 running Ubuntu-Mate. However, running on the same Raspberry…
Rolf of Saxony
  • 21,661
  • 5
  • 39
  • 60
0
votes
1 answer

How to import GstPbutils?

I'm trying to use the GstPbutils python3 module, but just importing it breaks everything, here is the code: #!/usr/bin/python3 import gi gi.require_version('GstPbutils', '1.0') from gi.repository import GstPbutils print('Hello World!') And the…
yPhil
  • 8,049
  • 4
  • 57
  • 83
0
votes
0 answers

I am testing a python-gst program from github and am stuck with a blackscreen

I am using py-gstto parse the h264 video fromsrcfile` which should give me split video in order to show on VR headset. However, I just have a black screen with nothing. Here is program on github:https://github.com/natxopedreira/fpv-stream-to-vr.…
L.Eric
  • 1
  • 2
0
votes
1 answer

big raw video file seeking in python gstreamer

I'm working on program, that should display big raw video, seek in it that I'd be able to set from and to times cuts in it, set black borders sizes to hide shaked borders of image. The crucial part of this project is seeking. I've tried 5min file…
d3im
  • 323
  • 2
  • 4
  • 18
0
votes
0 answers

Gstreamer automation in STB (Set Top Box)

mates,I have a set top box which I am communicating through serial port.This box has Gstreamer media frame-work(linux platform and C language). I am trying to automate Gstreamer i.e gst-launch,gst-inspect....there are also other frame work like Qt…
nsr
  • 855
  • 7
  • 10