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
7
votes
4 answers

How can a small change in a code which is never executed make a difference?

I have a very strange problem and since it is not possible for me to send code I will try to explain. This is more like philosophical problem - I hope someone has time/knowledge to think about this. 1) I have project.cpp looking exactly like…
kliketa
  • 1,276
  • 3
  • 17
  • 23
7
votes
1 answer

Display image without gtk

I would like to display an image in Python using gstreamer bindings, but without using GTK+ (I'm on ARM). I know how to listen to music with python and gstreamer : #!/usr/bin/python # Simply initiates a gstreamer pipeline without gtk import…
jlengrand
  • 12,152
  • 14
  • 57
  • 87
7
votes
2 answers

How to program videomixer using Gstreamer C API

I am trying to simulate the following gstreamer pipeline using the C API: gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \ videotestsrc pattern=1 ! video/x-raw-yuv,width=100,height=100 ! videobox border-alpha=0 top=0 left=0 !…
Ura
  • 2,173
  • 3
  • 24
  • 41
7
votes
2 answers

Read RTSP Stream from UDP sink using Python OpenCV and GStreamer

We're developing a software to stream videos from two different cameras with RTSP using GStreamer. To simplify the acquisition process, we're using OpenCV with Python 3. The problem is: we wanna push the stream to UDP sink, republish it over our LAN…
Ralubrusto
  • 1,394
  • 2
  • 11
  • 24
7
votes
3 answers

How to use GStreamer to directly stream to a web browser?

There are many examples online to use GStreamer pipeline with "tcpclientsink" or "udpsink" with NodeJS to consume the GStreamer pipeline output to Web Browser. But I could not find any example or documentation which clearly explains how to use the…
Pawan Pillai
  • 1,955
  • 5
  • 37
  • 64
7
votes
2 answers

Live video stream using GStreamer with Janus or WebRTC on Web Browser

First let me begin by saying - I am new to Janus / GStreamer / WebRTC. I have to stream a remote camera connected on robot hardware using GStreamer and WebRTC on to a browser. But as a proof of concept, I first wanted to achieve the same with…
Pawan Pillai
  • 1,955
  • 5
  • 37
  • 64
7
votes
1 answer

Memory not freed after gstreamer pipeline set to GST_STATE_NULL

My application requires gstreamer pipeline to be restarted multiple times. But after setting the pipeline to GST_STATE_NULL and calling unref on the pipeline, memory appears to be not freed. After every restart, the memory associated with the…
KrithikaV
  • 71
  • 1
  • 3
7
votes
2 answers

WARNING: erroneous pipeline: no element "kvssink"

I'm trying Kinesis Video Stream via https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html I have already installled it Success in building the Kinesis Video Streams Producer SDK !!! Now you can set the environment variables…
7
votes
2 answers

How do you play or record audio (to .WAV) on Linux in C++?

Hello, I've been looking for a way to play and record audio on a Linux (preferably Ubuntu) system. I'm currently working on a front-end to a voice recognition toolkit that'll automate a few steps required to adapt a voice model for PocketSphinx and…
jackyalcine
  • 469
  • 1
  • 8
  • 21
7
votes
1 answer

How to overlay a picture over a video stream with Gstreamer in C?

I want to overlay a ".png" picture over a stream coming from an IP Camera using Gstreamer. A working pipeline for my hardware is: gst-launch-1.0 rtspsrc location=rtsp://user:pass@IP:port/channel latency=400 ! rtph264depay ! vpudec…
Pelux
  • 127
  • 1
  • 4
7
votes
5 answers

WARNING: erroneous pipeline: no element "x264enc"

I have been trying to get this running for the past couple of days now. I have a gstreamer command that requires x264enc. I am running a Mac I cannot seem to get x264 development libraries installed. I have installed gst-plugins-bad but that does…
Anil
  • 2,430
  • 3
  • 37
  • 55
7
votes
1 answer

Playing video in Gtk in a window with a menubar

I have created a video player in Gtk3 using Gstreamer in Python3. It works except when I add a GtkMenuBar (place 2). It will then either show a black screen, or fail with an exception. The exception references the XInitThreads, which I am calling…
Aaron Schif
  • 2,421
  • 3
  • 17
  • 29
7
votes
0 answers

Building an RTSP streaming server from processed frames in OpenCV

I have to process frames from a distant camera using OpenCV. I need to stream the processed frames to be accessible over network as a live video. How to make the processed frames (cv::Mat objects) be passed to the RTSP streaming server in real time?
ProEns08
  • 1,856
  • 2
  • 22
  • 38
7
votes
1 answer

How to do webcam streaming with mpegtsmux in Gstreamer

I'm new to gstreamer, and I want to stream webcam video through network with mpeg2-ts. I am able to stream video using following pipeline, but I don't know how to stream it with mpeg2-ts using mpegmux. Any help would be great! Thanks. My working…
j0e1in
  • 696
  • 2
  • 8
  • 18
7
votes
3 answers

gstreamer uri vs files: Cannot play local video file

I am new to gstreamer and trying to use it for some GPU accelerated video decoding on my NVIDIA Jetson ARM based board. I found some python code online which creates a gstreamer pipeline and I was trying to use it to familiarize myself. The code…
Luca
  • 10,458
  • 24
  • 107
  • 234