Questions tagged [python-gstreamer]

Python bindings for the Gstreamer multimedia framework

211 questions
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
  • 2,106
  • 2
  • 39
  • 66
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…
0
votes
1 answer

Incorrect buffer length gstreamer

I have the following function that processes a buffer object containing a video frame supplied by GStreamer def __handle_videoframe(self, appsink): """ Callback method for handling a video frame Arguments: appsink -- the sink to…
Daniel Schreij
  • 773
  • 1
  • 10
  • 26
0
votes
2 answers

What is the proper way to link this gstreamer pipeline?

How do I need to link this gstreamer pipeline in python code? (Not by using gst.launch()! ) filesrc ! h264parse ! avimux ! filesink When I try to create pad object - h264parse.get_pad('src0') it returns NoneType. I am also attaching bufferprobe…
Kristians Kuhta
  • 53
  • 1
  • 4
  • 10
0
votes
1 answer

Video Mixing Options

I am working on a bigger project of video-wall and want to display multiple sources of videos on a single display. something like this -- What are all my options? Java with JMF Python with GStreamer bindings Before committing to a technology, I…
Vineet Menon
  • 728
  • 2
  • 9
  • 25
0
votes
1 answer

GStreamer: Introduce delay/gap/shift to audio

I have the following pipeline setup in gstreamer: two pulse audio sources (pulsesrc) from two seperate usb audio interfaces and one pulse audio sink (pulsesink). I'm combining the two incoming audio streams using the adder component. Unfortunately…
0
votes
1 answer

Gstreamer audiomixer implementation for audio conference , cancel user[1] contribution when streaming to user[1]

Below is the 'theoretical' pipeline that would cancel of particular user's audio contribution in an audio conference mixer. Theory goes like, we invert the user's audio samples from the original and it finally added to the amixer output. It should…
alkber
  • 1,426
  • 2
  • 20
  • 26
0
votes
1 answer

Video streaming over RTP using gstreamer

I am trying to stream a video file using gstreamer from one device to another over RTP. At the sender side I am using the following command : gst-launch filesrc location=/home/kuber/Desktop/MELT.MPG ! mpegparse ! rtpsend ip=localhost But this gives…
user1795516
  • 451
  • 1
  • 8
  • 18
0
votes
3 answers

element playbin2 query_position always returns query failed

I'm developing a media player that streams mp3 files. I'm using the python gstreamer module to play the streams. my player is the playbin2 element When I want to query the position (with query_position(gst.FORMAT_TIME,None)), it always returns a…
Stijn
  • 23
  • 3
0
votes
1 answer

Playing 2 videos together in python

I would like to play 2 videos together using python. Apart from that, I would like to pause , forward and rewind just 1 video at certain times in other video. I started implemented this using Python Gstreamer and its possible to play 2 videos…
Thothadri Rajesh
  • 522
  • 7
  • 16
0
votes
1 answer

How to hook custom file parser to Gstreamer Decoder?

The HTTP file and its contents are already downloaded and are present in memory. I just have to pass on the content to a decoder in gstreamer and play the content. However, I am not able to find the connecting link between the two. After reading the…
AKG
  • 598
  • 6
  • 18
-1
votes
1 answer

cv::handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module udpsrc1 reported: Internal data stream error

I am using below list of version. opencv-4.2.0, Gstreamer-1.20.2, python 3.7, windows 10. I want to play video using Gstreamer rtsp camera.why this gst-pipeline it's not run on vscode python but these gst-pipeline perfectly run on…
AD Thumar
  • 1
  • 3
-1
votes
1 answer

Find average duration of a successful delivery in Python

I am required to write a function in Python 3 to calculate the average delivery times of a successful delivery. Let me explain, A mobile application will send me a dictionary every time a food delivery order is placed in this…
Cody
  • 21
  • 3
-1
votes
1 answer

Program exiting after Gst.init(None)

I am writing a GUI program which should get live video from Raspberry Pi's camera using GStreamer 1.6.2 and Python 3.4. BTW, now I am complitely at the begining.. Following tutorials I've written this...: import gi gi.require_version('Gtk',…
Vassiliev
  • 47
  • 1
  • 6
1 2 3
13
14