Questions tagged [gstreamer]

Questions related to GStreamer (also known as Gst), an open source multimedia framework, powering everything from Linux servers and Linux desktop systems to a host of embedded devices.

GStreamer is a pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. For instance, GStreamer can be used to build a system that reads files in one format, processes them, and exports them in another. The formats and processes can be changed in a plug and play fashion.

GStreamer supports a wide variety of media-handling components, including simple audio playback, audio and video playback, recording, streaming and editing. The pipeline design serves as a base to create many types of multimedia applications such as video editors, transcoders, streaming media broadcasters and media players.

GStreamer has a range of bindings for various languages such as Go, Go, Rust, Vala, C++, Perl, GNU Guile, C# and Ruby. GStreamer supports gobject-introspection and can hence be used from JavaScript via the node-gtk package.

The primary purpose of this tag is for questions regarding the programmatic use of GStreamer via one of these bindings.

4881 questions
1
vote
0 answers

Gstreamer, alsa, bluealsa: bluetooth audio not working in 2 ways audio stream

Context So I have 2 Gstreamer pipelines, one to send audio up (PC to Pi) to a Raspberry Pi, and another to send audio down (Pi to PC). The audio down is getting sound from a USB mic and the audio up is outputting sound to a Bluetooth speaker. The…
vinalti
  • 966
  • 5
  • 26
1
vote
1 answer

Installing PyGST with Cygwin

I've given up on the OSSBuild of PyGST (Gstreamer) due to several major bugs. Instead, I am building from source myself. However, I have hit a snag. I am running this build in Cygwin. After unpacking the tarball, I run ./configure in the unpacked…
CodeMouse92
  • 6,840
  • 14
  • 73
  • 130
1
vote
1 answer

WebRTC (using gstreamer and webrtcbin) works with VP9 but not with H264

I have a c++ application that gets the video in RTSP and H264 format from a camera using gstreamer an re-sends the videos using webrtcbin. I have followed the example from this link and I can see the video trough firefox (with the tips suggested in…
VictorCB
  • 70
  • 10
1
vote
1 answer

GStreamer warning when running OpenCV on Ubuntu

I'm trying to get a script running on my raspberry pi (Ubuntu system). Right now, I was just refreshing myself on the basics of opencv, since it's been a little while since I worked with it. So I copy pasted this code straight from the OpenCV…
Grant Allan
  • 189
  • 1
  • 4
  • 10
1
vote
1 answer

Which argument is causing a pipeline syntax error?

When I run the following pipeline in terminal (ubuntu) gst-launch-1.0 -v ximagesrc use-damage=0 ! videoscale method=0 ! video/x-raw, format=I420, framerate=30/1 ! \ x264enc tune=zerolatency ! mpegtsmux ! \ hlssink…
El Cino
  • 11
  • 2
1
vote
0 answers

output-selector makes video freeze

Background I'm trying to create a media player that can run even if it has no window handle to render the video into. (So you can't see the video, but can still hear sound.) I thought I could achieve this with an output-selector: When no window…
Aran-Fey
  • 39,665
  • 11
  • 104
  • 149
1
vote
1 answer

Gstreamer: How to link a request pad (sink) and static pad (source)

Trying to do the linking for tee to a queue. Here is what i do in the program codes Program snippets /// create the tee pad template tee_src_pad_template = gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS…
user1538798
  • 1,075
  • 3
  • 17
  • 42
1
vote
0 answers

Gstreamer filesink producing non playable files using python library

I am trying to write an incoming webrtc stream to a filesink using webrtcbin and filesink. If i write the file directly as soon as stream comes it produced file is playable but when i dynamically start and stop recording it is showing "unreadable…
1
vote
0 answers

gstreamer: rtspsrc "internal data stream error" when i want to build my own pipeline

gst-launch-1.0 rtspsrc location=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov is-live=true latency=200 name=src src. ! rtph264depay ! h264parse ! avdec_h264 ! queue ! autovideosink I'm trying to write the pipeline as c…
Roy
  • 11
  • 2
1
vote
2 answers

Realtime changing the ip source into a gstreamer pipeline

I have two ip addresses linked to two cameras. I can stream one ip address. I need to switch from one camera to the other so my source in the pipeline should change from one ip address to another. Is there a way to accomplish that using a gstreamer…
Daniele
  • 11
  • 2
1
vote
1 answer

What is the difference between H.264 depay and H.264 parse in GStreamer world?

I have a RTSP source. The data come in as stream of NAL units. I suppose that the RTP packets need to be "depay" or "parsed" into something that H.264 decoder can understand. rtspsrc ! rtph264depay ! h264parse ! avdec_h264 ! ... What's the actual…
mofury
  • 644
  • 1
  • 11
  • 23
1
vote
0 answers

How to limit video file duration with Gstreamer?

I need to limit video file duration in seconds with gst-launch-1.0, but didn't find any mentions of this feature in gstreamer documentation. How can i solve this issue?
1
vote
0 answers

Converting tensorflow2.0 model to TensorRT engine (tensorflow2.0)

I have retrained some tensorflow2.0 model, it's working as 1 class object detector, prepared with object detection api v2 (https://tensorflow-object-detection-api-tutorial.readthedocs.io/). After that I have converted it to onnx (tf2onnx.convert)…
1
vote
1 answer

How to get Gstreamer specific error type in Python

I'd like to know the specific error type of a gstreamer error. I found this sample code: import gi import sys gi.require_version('Gst', '1.0') from gi.repository import GObject, Gst def bus_call(bus, message, loop): t = message.type if t ==…
user1315621
  • 3,044
  • 9
  • 42
  • 86
1
vote
1 answer

Gstreamer source vs sink

I am confused by the concept of sink and source elements. Intuitively, I would expect a source to be something from which we take data, and a sink to be something where we put the results of our process. In Gstreamer tutorial 2, this seems to be…
user1315621
  • 3,044
  • 9
  • 42
  • 86
1 2 3
99
100