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

Compiling Opencv with Gstreamer, cmake not finding GStreamer

I want to build opencv with GStreamer support. I built the GStreamer from source (version 1.8.1) following this guide: http://kacianka.at/?p=145 I have 'gstreamer_build' folder at my home directory and it contains 'bin' folder with…
Asymptote
  • 1,140
  • 2
  • 13
  • 29
19
votes
8 answers

What is the gstreamer caps syntax?

What is the syntax for caps, specifying media capabilities, in gstreamer? Caps are strings that specify the type of media allowed and look like "audio/x-raw-int,..." but I haven't been able to find good documentation on exactly what is allowed in a…
joeforker
  • 40,459
  • 37
  • 151
  • 246
19
votes
2 answers

how to stream live videos with no latency (ffplay, mplayer) and what kind of wrapper could be used with ffplay?

I have been testing playing multiple live streams using different players because I wanted to get the lowest latency value. I tried gstreamer player (gst-launch-0.01), mplayer, totem and ffmpeg player (ffplay). I used different configuration values…
user573014
  • 715
  • 3
  • 15
  • 30
17
votes
3 answers

Webcam streaming using gstreamer over UDP

Here is what I'm trying: gst-launch -v udpsrc port=1234 ! fakesink dump=1 I test with: gst-launch -v audiotestsrc ! udpsink host=127.0.0.1 port=1234 And everything works fine, I can see the packages arriving from the audiotestsrc Now lets test with…
David Benko
  • 373
  • 1
  • 6
  • 15
17
votes
4 answers

GStreamer or DirectShow for Windows development?

I'm implementing a lecture-capture project for a local university. Multiple video streams will arrive at one PC: the presenter's desktop slides, a video camera image of the presenter himself and optionally a digital whiteboard capture. These…
StackedCrooked
  • 34,653
  • 44
  • 154
  • 278
17
votes
3 answers

Adding opencv processing to gstreamer application

I'm trying to do the following: receive video stream using gstreamer and process it with opencv. I've found few solutions, and one of them is to write video into (from gstreamer) fifo and then read it using opencv. (OPTION3 here MJPEG streaming and…
Roman
  • 1,396
  • 4
  • 15
  • 39
16
votes
2 answers

How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?

After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 out there. You can take a look here. Based on…
Zappel
  • 268
  • 3
  • 13
16
votes
1 answer

Stream H.264 video over rtp using gstreamer

I am newbie with gstreamer and I am trying to be used with it. My first target is to create a simple rtp stream of h264 video between two devices. I am using these two pipelines: Sender: gst-launch-1.0 -v filesrc location=c:\\tmp\\sample_h264.mov !…
abir
  • 285
  • 2
  • 4
  • 6
15
votes
4 answers

GStreamer installation is missing a plug-in

I hope that someone can help with this problem, been searching for a solution for the past 2 days. To describe the problem in short: I'm trying to make a simple qt5.7 application that will stream an m3u8 (using Qt Creator (community). But when I try…
light01
  • 155
  • 1
  • 3
  • 17
15
votes
5 answers

dynamically (un)link elements in a running (gstreamer) pipeline?

there are plenty of examples in the gstreamer documentation on constructing and running static pipelines. however, there isn't much about changing/relinking elements in a live pipeline - while the media is actually flowing. it's definitely possible,…
Jeremiah Rose
  • 3,865
  • 4
  • 27
  • 31
15
votes
2 answers

Streaming MP4 Video File on Gstreamer

I am working on gstreamer for first time and trying to Stream an MP4 Video file from a server to client using Gstreamer (RTP and UDP) . The Command Line which I am trying to use : On Server Side: gst-launch-1.0 -v filesrc location = file_name.mp4 !…
Pratyush Kulwal
  • 165
  • 1
  • 1
  • 11
14
votes
2 answers

How to write opencv mat to gstreamer pipeline?

I want to add some opencv processes to a gstreamer pipeline and then send it over udpsink. I'm able to read frames from gstreamer like this: // may add some plugins to the pipeline later cv::VideoCapture cap("v4l2src ! video/x-raw, framerate=30/1,…
j0e1in
  • 696
  • 2
  • 8
  • 18
14
votes
2 answers

Realtime/zero-latency video stream: what codec parameters to use?

I am writing an Android App which encompasses sending and receiving a video stream from a desktop PC. For the app to work properly we need as little latency as possible, sacrificing video quality if necessary. We are using gstreamer 1.45 on both…
Managarm
  • 1,070
  • 3
  • 12
  • 25
14
votes
3 answers

How to save a RTSP video stream to MP4 file via gstreamer?

I need to get a video stream from my camera via RTSP and save it to a file. All of this needs to be done via gstreamer. After some google searching, I tried the following: gst-launch-1.0 rtspsrc location=rtsp://192.168.1.184/live2.sdp ! queue !…
Juster
  • 732
  • 1
  • 10
  • 26
14
votes
4 answers

WebRTC and gstreamer on linux device

I have small computer (something like Arduino or Raspberry pi) with Linux, camera and gstreamer installed on it. I need to stream h264 video from this device to browser using WebRTC technology. Also, I use NodeJS as signaling server. In simple…
Footniko
  • 2,682
  • 2
  • 27
  • 36