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
10
votes
1 answer

How to pipe live video frames from ffmpeg to PIL?

I need to use ffmpeg/avconv to pipe jpg frames to a python PIL (Pillow) Image object, using gst as an intermediary*. I've been searching everywhere for this answer without much luck. I think I'm close - but I'm stuck. Using Python 2.7 My ideal…
Ryan Martin
  • 1,613
  • 3
  • 24
  • 36
10
votes
1 answer

Gstreamer of python's gst.LinkError problem

I am wiring a gstreamer application with Python. And I get a LinkError with following code: import pygst pygst.require('0.10') import gst import pygtk pygtk.require('2.0') import gtk # this is very important, without this, callbacks from…
Fang-Pen Lin
  • 13,420
  • 15
  • 66
  • 96
10
votes
7 answers

Gstreamer Error: pipeline could not be constructed: no element "v4l2src"

Am using Ubuntu(14.04) and I am getting this error while trying to use gstreamer. gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000 I have checked the gst-inspect-1.0…
Akash Deshpande
  • 2,583
  • 10
  • 41
  • 82
10
votes
2 answers

What the queue element do in Gstreamer pipeline

I have this pipeline : gst-launch -v filesrc location=video.mkv ! matroskademux name=d \ d. ! queue ! ffdec_h264 ! subtitleoverlay name=overlay ! ffmpegcolorspace ! x264enc ! mux. \ d. ! queue ! aacparse ! mux. \ filesrc location=fr.srt ! subparse !…
Hunsu
  • 3,281
  • 7
  • 29
  • 64
10
votes
3 answers

Linker error while building Gstreamer iOS Tutorial project

I downloaded and installed Gstreamer iOS library from their site. I copied the tutorial to my own folder and tried to build the project in Xcode. I got the following linker error. I'm geting no clues about this. The Gstreamer.framework is linked…
Tushar Koul
  • 2,830
  • 3
  • 31
  • 62
10
votes
2 answers

How to display avi video with gstreamer?

I want to write an object tracking program which needs to play the tracked result. As gstreamer is a good multimedia frame work, I want to use it in my demo program. But I don't know how to implement video display in detail. Can any one…
KOFKS
  • 101
  • 1
  • 1
  • 4
10
votes
6 answers

How can I speed up a video by dropping frames?

I've got a video that's 30 minutes long. I want to make a speeded up version that's (say) 15 minutes long. I could do this by dropping every 2nd frame. How can I do this on linux? I'm playing with gstreamer and it looks cool. Is there a way to do…
Amandasaurus
  • 58,203
  • 71
  • 188
  • 248
10
votes
2 answers

Receiving video stream from an IP camera on android

I have an IP camera which is streaming video in MJPEG format. Now my aim is to receive it and display it in my own custom android app. For this I have three programming alternatives on android platform : Using inbuilt Anrdroid MediaPlayer…
Bhanu Kiran
  • 645
  • 1
  • 8
  • 14
9
votes
1 answer

Haskell GStreamer tee element(1-N) trouble

The problem i have relates to the following piece of code: module Main(main) where import qualified Media.Streaming.GStreamer as GS import Data.Maybe import System.IO import System.Exit import System.Glib.MainLoop as Glib import System.Glib.Signals…
user1105045
  • 474
  • 3
  • 15
9
votes
5 answers

Play audio and video with a Pipeline in Gstreamer

Is there a way make a pipeline that will play any video file (which will contain audio too)? I have tried linking elements like: filesrc -> decodebin along with queue -> audioconvert -> autoaudiosink and queue -> autovideoconvert ->…
D K
  • 5,530
  • 7
  • 31
  • 45
9
votes
0 answers

Embed custom meta-data (bounding boxes) into HLS video stream

I'd like to embed bounding boxes, labels, etc. into live video stream to optionally draw them thereafter on the client-side in web-browser and looking for a way how to do. Could you please give me a hint how to insert the meta-data "on fly" and…
9
votes
3 answers

Gst-python is installed, but can't find plugins

I'm trying to run some Gstreamer examples for the Google Coral USB accelerator - I'm not using the Coral dev board. The driver is installed and works and I can classify images from my camera using OpenCV and the edgetpu library. I'd like to get the…
Josh
  • 2,658
  • 31
  • 36
9
votes
2 answers

Gstreamer - How to structure application with multiple src's?

I have a situation where I have multiple cameras (rtspsrc), and a singleton element, that does analytics on the incoming video stream. I call it a singleton element, because it has request source and sink pads. Only one of them should exist in the…
Dominic Bou-Samra
  • 14,799
  • 26
  • 100
  • 156
9
votes
1 answer

How to inherit an element type that is provided by a plugin?

I'm trying to inherit GstTextOverlay, but the farthest I can go is this link-time error "undefined reference to `gst_text_overlay_get_type'". According to the Makefile, it is lib/gstreamer-1.0/libgstpango.so that provides GstTextOverlay, but within…
Cody
  • 609
  • 4
  • 21
9
votes
2 answers

Convert video to WebM using GStreamer

Documentation for GStreamer is confusing. This is still no excuse for resorting to StackOverflow.com, but still: What is the GStreamer command line to convert any video file (from any format) to WebM (+WebM audio)? This is the only documentation…
Ory Band
  • 14,716
  • 14
  • 59
  • 66