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

How do I find the length of media with gstreamer?

How do I find the playback time of media with gstreamer?
joeforker
  • 40,459
  • 37
  • 151
  • 246
14
votes
2 answers

Loading shared libs that depend on other shared libs

Problem: I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android NDK Bundle libs compiled for android-8 platform). I made new folder libs/armeabi in project root folder and put it there. Also, I have put…
Cipi
  • 11,055
  • 9
  • 47
  • 60
13
votes
1 answer

What is the difference between byte stream and packetized stream in gstreamer rtsp h264 depayloader

In the gstreamer rtp h264 depayloader, there is a check to see if the incoming stream is a byte stream or packetized stream. Can anybody tell me what is the difference between these two formats? Also, for the bytestream, the codec_data does not get…
Steve Walsh
  • 6,363
  • 12
  • 42
  • 54
13
votes
5 answers

ModuleNotFoundError: No module named 'gi'

I am trying to run the following program: import gi gi.require_version('Gst', '1.0') from gi.repository import GObject, Gst Bu I am getting: Traceback (most recent call last): File "application.py", line 2, in import…
Gabrielle
  • 812
  • 2
  • 7
  • 28
13
votes
5 answers

GStreamer pipeline to show an RTSP stream

I am pretty new to Gstreamer. I need to write a video client able to stream data from an RTSP source using GStreamer. I configured VLC to stream a video I have on my laptop using RTSP and I want to create a pipeline to get that stream and show it. I…
Matteo Sticco
  • 131
  • 1
  • 1
  • 5
13
votes
4 answers

RStudio installation failure under Debian sid: libgstreamer dependency problems

I use Debian sid (amd64), rolling updates as often as weekly. I downloaded recently the desktop version 0.99.902 of RStudio from their offical site and issued (as root, of course): dpkg -i rstudio-0.99.902-amd64.deb to no avail: dpkg: dependency…
Mauricio Calvao
  • 475
  • 5
  • 14
13
votes
6 answers

yocto: rebuild part of project

I have a project which is using yocto for building libraries including gstreamer. I found out that I need to patch some gstreamer element thus creating new bitbake recipe with patch.. I usually have to run bitbake with image name as parameter which…
nayana
  • 3,787
  • 3
  • 20
  • 51
13
votes
4 answers

What's the meaning of 'blacklisted' on GStreamer?

I'm trying to cross-compile GStreamer. Version is 1.2.3. Host PC's OS is x86 linux and Target system's OS is MIPSEL linux OS. I succeeded to compile gstreamer and plugins for target device. And gst-launch-1.0 could be executed. So I tried to use…
Jinho Yoo
  • 1,352
  • 5
  • 17
  • 28
13
votes
1 answer

What effect does the media type string inserted in a gstreamer pipeline have

I have seen this kind of pipeline-running commands in gstreamer: e.g., gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, framerate=25/1, width=640, height=360 ! xvimagesink And I have read in some pages that video/x-raw, format=I420,…
user3391196
  • 361
  • 4
  • 13
13
votes
2 answers

Look for fastest video encoder with least lag to stream webcam streaming to ipad

I'm looking for the fastest way to encode a webcam stream that will be viewable in a html5 video tag. I'm using a Pandaboard: http://www.digikey.com/product-highlights/us/en/texas-instruments-pandaboard/686#tabs-2 for the hardware. Can use…
kelly
  • 233
  • 1
  • 4
  • 6
13
votes
3 answers

Streaming RTP/RTSP: sync/timestamp problems

I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, except for one problem: the video will lag on…
Jacob Peddicord
  • 367
  • 2
  • 6
  • 15
12
votes
2 answers

GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1

I am using the OpenCV package with the face_recognition package to detect faces on my laptop webcam. Whenever I run it, the code runs fine but I run into the same GStreamer error. from imutils.video import VideoStream import face_recognition import…
Kai Strachan
  • 141
  • 1
  • 1
  • 4
12
votes
6 answers

Android Studio ERROR: Executing external native build for ndkBuild when trying to run Gstreamer tutorial

I am trying to run the gstreamer android tutorial-5 in Android Sudio 3.5 (https://gitlab.freedesktop.org/gstreamer/gst-docs/tree/master/examples/tutorials/android)(https://gitlab.com/eduardoprado/gstreamer-tutorial5) but get the following…
unmanned15
  • 227
  • 1
  • 3
  • 19
12
votes
1 answer

Gstreamer webrtcbin working sample pipeline

Can someone show up to date webrtcbin pipeline? At the moment i use these pipelines and they do not work. Send: gst-launch-1.0 webrtcbin bundle-policy=max-bundle name=sendrecv stun-server=stun://stun.l.google.com:19302 audiotestsrc is-live=true…
Monalisa
  • 131
  • 1
  • 5
12
votes
0 answers

FFmpeg vs Libav vs libVLC vs Gstreamer as of 2018

I am trying to do some video processing on real time. I was beginning to try the FFmpeg, but I saw this question: Why would I choose Libav over FFmpeg, or is there even a difference? Which further links to this question: What are the differences and…
Dharma
  • 2,425
  • 3
  • 26
  • 40