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
8
votes
2 answers

Add some OpenCV processing to a gstreamer video stream

I'm trying to have OpenCV process a frame in the middle of a gstreamer pipe. I have one gstreamer pipe generating the stream, sending it to appsink for OpenCV code to receive: v4l2src ! ffmpegcolorspace ! jpegenc ! appsink name=sink And another…
SMiLE
  • 1,073
  • 1
  • 9
  • 8
8
votes
2 answers

Gstreamer examples in Android Studio

I have been trying to get Gstreamer working in Android studio, following their tutorials, see for example here: https://gstreamer.freedesktop.org/documentation/tutorials/android/link-against-gstreamer.html But in the latest Android studio there is…
Josiki
  • 115
  • 1
  • 1
  • 8
8
votes
2 answers

Problems with Gst in python program

I'm in trouble making a simple server/client socket python program. Basically, my server (RPi3) has to stream a video (with Gstreamer) to the client (Fedora 24). The problem is that in my Fedora, I can use Gstreamer importing the libs like…
fedejinkis
  • 401
  • 1
  • 3
  • 7
8
votes
1 answer

Use (Python) Gstreamer to decode audio (to PCM data)

I'm writing an application that uses the Python Gstreamer bindings to play audio, but I'm now trying to also just decode audio -- that is, I'd like to read data using a decodebin and receive a raw PCM buffer. Specifically, I want to read chunks of…
adrian
  • 1,447
  • 15
  • 24
8
votes
5 answers

Streaming H264 using RaspberryPi camera

I am working on a project to build a robot using raspberry pi that will send video to android device, and will be controlled from it. I decided to use the RaspberryPi camera (maybe usb webcam is better?). I want the video to be in H264 format, but I…
A. Sarid
  • 3,916
  • 2
  • 31
  • 56
8
votes
1 answer

How to control the frame rate in a gstreamer pipeline?

I have astream encoded in 60fps, but my gstreamer pipeline is playing it in fps, so the video appears to be very slow. I have created a gstreamer pipeline as appsrc name=src ! video/x-h264 ! decodebin ! autovideosink sync=false The appsrc will push…
jithin
  • 637
  • 2
  • 14
  • 26
8
votes
2 answers

Play RTP video stream using Qt?

I want to create a Qt widget that can play incoming RTP streams where the video is encoded as H264 and contains no audio. My basic plan for implementation is this: Create a Phonon MediaSource object (Stream type). Connect it with a QIODevice…
StackedCrooked
  • 34,653
  • 44
  • 154
  • 278
8
votes
1 answer

Python having trouble accessing usb microphone using Gstreamer to perform speech recognition with Pocketsphinx on a Raspberry Pi

So python is acting like acting like it can't hear ANYTHING from my microphone at all. Here's the problem. I have a Python ( 2.7 ) script that is suppose to be using Gstreamer to access my microphone and do speech recognition for me via…
Malcolm Jones
  • 1,472
  • 1
  • 12
  • 24
8
votes
2 answers

Gstreamer1.0 : link a decodebin to videoconvert

I have the following pipeline which works fine: gst-launch-1.0 -v filesrc location=/home/Videos/sample_h264.mov ! decodebin ! videoconvert ! autovideosink I want to write a C program to do the same thing. So I translated the previous pipeline to…
abir
  • 285
  • 2
  • 4
  • 6
8
votes
3 answers

GStreamer x264enc not found

I installed GStreamer-0.10 and all modules (base, good, bad, ugly, ffmpeg) according to these instructions (browse through by clicking prev/next): http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gst-plugins-ugly.html Everything seemed to…
Dominik Schreiber
  • 769
  • 2
  • 15
  • 25
8
votes
3 answers

gstreamer python bindings for windows

I am looking into gstreamer as a means to choose a video device from a list to feed it to an opencv script. I absolutely do not understand how to use gstreamer with python in windows. I installed the Windows gstreamer 1.07 binaries from the…
Raoul
  • 1,872
  • 3
  • 26
  • 48
8
votes
4 answers

Gstreamer with visual C++ express 2010 - tutorial 1

I'm new to Gstreamer, and I have problems when I compile the tutorial 1 of Gstreamer. I'm using Windows 7 64 bit with visual c++ express 2010, and Gstreamer SDK 2012.11 32 bits (downloaded from here). Here is the code : #include "stdafx.h" #include…
user2080718
  • 85
  • 1
  • 5
8
votes
2 answers

Python send and receive RTP packets

I want to send multimedia data over RTP. What I wnat to know is how to send and receive RTP packets with Python. I found the python class DPKT. But couldn't able to find a good reference to visualize how to generate each filed in RTP. I would…
8
votes
4 answers

Can I use the Gstreamer API to merge 2 videos?

I'd like to write a simple linux CLI application that can take 2 video sources (1 of a presenter talking and 1 with their slides and no audio) and merge them. I'd like the entire output video to be the two original videos, side by side. Failing…
James Healy
  • 14,557
  • 4
  • 33
  • 43
7
votes
1 answer

GStreamer Pipeline with multiple UDP sinks (image included)

I am trying to build a conferencing solution with gstreamer-java. I am stuck with the audio part, because every participant should only hear the others, not himself. I constructed a pipeline (see the included image file). The whole construct…
Michael Niemand
  • 1,578
  • 3
  • 23
  • 39