All Questions

Tagged with
Filter by
Sorted by
Tagged with
9 votes
5 answers
18k views

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 -> ...
D K's user avatar
  • 5,630
7 votes
1 answer
19k views

GStreamer pipeline broken

I am not sure why this pipeline is breaking, I have gstreamer installed on linux from the websites exact instructions, any ideas? gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! video/x-raw, ...
legit's user avatar
  • 139
7 votes
2 answers
22k views

Gstreamer ffdec_h264 missing

I am running this script to view cameras on network: gst-launch udpsrc port=1234 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false I am getting this error: ...
user2962635's user avatar
6 votes
2 answers
2k views

Executing Gstreamer pipeline script within php code

I have a written an script for gstreamer application (pipeline) in ubuntu to capture 2 video streams via webcam and a frame grabber and put them into one container: gst-launch -e mpegtsmux name="...
Sina Sh's user avatar
  • 1,187
5 votes
2 answers
23k views

GStreamer - MJPEG stream to file

I have problem with saving MJPEG stream to file. When I stream MJPEG using such pipeline: gst-launch filesrc location=thirdmovie640x360.mp4 ! decodebin2 name=dec \ ! queue ! ffmpegcolorspace ! ...
XMementoIT's user avatar
4 votes
2 answers
23k views

What's wrong with this GStreamer pipeline?

I'm sure I've had this pipeline working on an earlier Ubuntu system I had set up (formatted for readability): playbin uri=rtspt://user:[email protected]/ch1/main video-sink='videoconvert ...
paxdiablo's user avatar
  • 868k
4 votes
1 answer
3k views

Gstreamer+python: adding and removing audio sources while pipeline is running

I'm working on a sample python script, originally found here: Adding and removing audio sources to/from GStreamer pipeline on-the-go. The aim is to make a script such as the one above, able to insert ...
user1048335's user avatar
4 votes
0 answers
944 views

Multiple Gstreamer Pipelines Running Simultaneously

I'm new to Gstreamer and trying to find an efficient way to perform two rtsp streamings simultaneously. The way I'm currently doing is by defining two separate pipelines inside my Python script and ...
Can Ozcivelek's user avatar
3 votes
1 answer
12k views

Gstreamer / RTSP - Creating a pipeline to reduce latency due to rtpjitterbuffer

I am accessing a RTSP video stream from a VIRB 360 camera. I am able to play the stream using the following gstreamer command: gst-launch-1.0 -v playbin uri=rtsp://192.168.0.1/livePreviewStream?...
skr's user avatar
  • 934
3 votes
1 answer
9k views

Gstreamer pipeline in Opencv videoCapture()

I'm trying to open an IP camera in OpenCV using gstreamer pipleine. I can open the IPcamera using Gstreamer in terminal, using : gst-launch-1.0 -v rtspsrc location="rtsp://192.168.0.220:554/user=...
Sam's user avatar
  • 179
3 votes
2 answers
4k views

Convert gst-launch command to Python program

How do I implement the following gst-launch command into a Python program using the PyGST module? gst-launch-0.10 v4l2src ! \ 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! \ tee name=t_vid !...
Yajushi's user avatar
  • 1,175
3 votes
1 answer
4k views

GStreamer force decodebin2 output type

I'm trying to write a program in C which replicates the pipeline: gst-launch -v filesrc location="bbb.mp4" ! decodebin2 ! ffmpegcolorspace ! autovideosink DecodeBin2 has a dynamic pad and I've ...
user975326's user avatar
3 votes
0 answers
1k views

Gstreamer leaky queue stops the pipeline

The following code get in inputs a list of url and it create a Gstreamer pipeline. Specifically, for each url, a uridecodebin element is initialized and attached to a queue element. Each queue has the ...
user1315621's user avatar
  • 3,242
2 votes
1 answer
7k views

rtspclientsink test pipeline from command line

I would like to stream with rtsp using GStreamer pipeline elements. First, I checked with gst-inspect-1.0 that rtspclientsink is available: xilinx-k26-starterkit-2020_2:/# gst-inspect-1.0 | grep rtsp ...
Alperen's user avatar
  • 21
2 votes
2 answers
4k views

gstreamer dynamic pipeline filesink add, getting not-negotiated error

This works : gst-launch -e v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! tee name=splitter ! queue ! autovideosink splitter. ! queue ! theoraenc ! oggmux ! filesink location=testogg....
user1296240's user avatar
2 votes
1 answer
764 views

What's the meaning of 'pay' 'depay' in gstreamer world?

I know some concepts in gstreamer like source, sink, pipeline, and pads. Those are programming concepts and also literal English words, their meanings are related. But I don't know the meaning of pay ...
user avatar
2 votes
0 answers
362 views

Gstreamer autocrop on black boarders

The issue: How do I automatically remove the black border when computer drops to 1280x786 or any other non-native resolution and upscale to 1920x1080? The downstream device is fixed resolution so ...
PizzaRoll's user avatar
2 votes
1 answer
1k views

Ubuntu 14.04 Gstreamer autovideosink

I am trying to get a Gstreamer video stream running on Ubuntu 14.04 but the receiver side is unable to display video properly. I have a sender pipeline sending MJPEG images which I start like this: ...
wireless_freedom's user avatar
2 votes
1 answer
2k views

Gstreamer picture-in-picture - two files playing in parallel

I need to compose a pipeline for "picture-in-picture" effect to combine media from two files: 1) video content from the first file is showed on the full window 2) video from the second file is ...
Kanstantin Kachanouski's user avatar
2 votes
2 answers
4k views

Creating a virtual webcam from jpeg using GStreamer

I'm trying to use a jpg-File as a virtual webcam for Skype (or similar). The image file is reloading every few seconds and the Pipeline should also transmit always the newest image. I started creating ...
Paul's user avatar
  • 23
1 vote
2 answers
11k views

Gstreamer pipeline multiple sink to one src

Looking for explanation how to using named elements in respect with muxing two inputs in one module. For instance muxing audio and video in one mpegtsmux modle gst-launch filesrc location=surround....
surge_'s user avatar
  • 133
1 vote
1 answer
2k views

Get gstreamer bus messages using non-static message handler

I have created a program using gstreamer which listens to different ports (say 5) for rtp packets. Now I have created a class (say GstClass) which creates the pipeline, and has a Callback function ...
RC0993's user avatar
  • 910
1 vote
1 answer
3k views

GStreamer-Java: RTSP-Source to UDP-Sink

I'm currently working on a project to forward (and later transcode) a RTP-Stream from a IP-Webcam to a SIP-User in a videocall. I came up with the following gstreamer pipeline: gst-launch -v ...
Melonski's user avatar
1 vote
3 answers
3k views

Failure adding filter to pipeline in gstreamer

I'm trying to do the exercise at the end of the Basic GStreamer tutorial here: Basic Tutorial 2. The exercise is merely to add a filter to a video. The exercise says to simply add the "vertigoTV" ...
NightFalcon's user avatar
1 vote
1 answer
2k views

Resample and depayload audio rtp using gstreamer

I am developing an application where I am using a wave file from a location at one end of a pipeline and udpsink at the other end of it. gst-launch-1.0 filesrc location=/path/to/wave/file/Tornado.wav ...
RC0993's user avatar
  • 910
1 vote
1 answer
4k views

Gstreamer for Android Buffer has no PTS

I created the pipeline gst_parse_launch("rtspsrc location=rtsp://192.168.0.77:554/user=admin_password_=tlJwpbo6_channel=1_stream=0.sdp?real_stream ! queue !rtph264depay ! h264parse ! ...
erolmuhammet.cs's user avatar
1 vote
1 answer
443 views

Gstreamer: How do you push external object inside the pipeline?

Gstreamer has an internal logging function: gstinfo However, we have a custom logger object which should be shared by pipeline and has some specific functionality (SNMP) needed in the application ...
Dipan Mehta's user avatar
  • 2,130
1 vote
1 answer
3k views

Dynamically re-sizing images in a GStreamer pipeline in python

I am trying to create a program to do various animations on different images simultaneously and one of the effects I am trying to achieve is zooming into a picture which is achieved by keeping base ...
user2622949's user avatar
1 vote
1 answer
7k views

pull-sample signal using appsink

I am writing a simple application using gstreamer-1.0 and I want to receive the buffers that have flowed through the pipeline back into my application. To do so, I use the appsink plugin at the end of ...
MatheuGrondin's user avatar
1 vote
1 answer
4k views

gstreamer pipeline to mix two audio source

I want to create a pipeline in gstreamer that will have two audio source and will mix the audios with some scaling factor and through the output data to alsasink. I have seen the example of "adder" ...
BaibhavK's user avatar
1 vote
1 answer
3k views

How to get Pipeline created by playbin in Gstreamer?

i am creating a player which uses playbin2 to create pipeline. in my code I'm using the following line to create the pipeline. pipeline = gst_parse_launch("playbin2", &error); so pipeline will ...
jithin's user avatar
  • 637
1 vote
2 answers
2k views

Realtime changing the ip source into a gstreamer pipeline

I have two ip addresses linked to two cameras. I can stream one ip address. I need to switch from one camera to the other so my source in the pipeline should change from one ip address to another. Is ...
Daniele's user avatar
  • 11
1 vote
1 answer
127 views

Microphone stops sending voice at speakers after couple of seconds of using a Gstreamer pipeline

I 've been trying to create a "communication wire" from my Raspberry Pi microphone (usb headsets) to my soundcard in order for the script to send whatever I say at microphone to my speakers ...
Spiros's user avatar
  • 99
1 vote
1 answer
597 views

OpenCV 3.4.3 - GStream not called when VideoWriting

I'd like to succeed writing a file with OpenCV encoding with GStreamer. Thus I'm using the code : VideoWriter.open("appsrc ! autovideoconvert ! omxh264enc ! matroskamux ! filesink location=test2.mkv ...
taubhi's user avatar
  • 117
1 vote
1 answer
216 views

How to prevent states from propagating?

Dear GStreamer community. I am struggling, trying to desynchronise parts of my pipeline. I am trying to prevent an element from propagating its states change to parent. I know there is a ...
Alann S.'s user avatar
  • 125
1 vote
1 answer
106 views

create a pipeline in callback funtion gstreamer

Hi I want to know if it is correct create a pipeline within a callback I give you an example of what I have implemented: I have a callback that is responsible for receiving error messages. When I ...
Alex's user avatar
  • 149
1 vote
2 answers
4k views

What is the proper way to link this gstreamer pipeline?

How do I need to link this gstreamer pipeline in python code? (Not by using gst.launch()! ) filesrc ! h264parse ! avimux ! filesink When I try to create pad object - h264parse.get_pad('src0') it ...
Kristians Kuhta's user avatar
1 vote
1 answer
413 views

Issue with decoding H264 frames using appsrc in GStreamer

I am currently facing an issue while attempting to decode H264 frames using the appsrc element in GStreamer. I have constructed the following pipeline within my application: appsrc name=mysource ! ...
isra60's user avatar
  • 512
1 vote
0 answers
193 views

GStreamer image to rtsp using rtspclientsink

New to GStreamer, I want to stream a simple JPEG to rtspclientsink gst-launch-1.0 -v multifilesrc location="image.jpg" caps="image/jpeg,framerate=1/1" ! jpegdec ! videoconvert ! ...
AmirTallap's user avatar
1 vote
0 answers
107 views

Is it best using GStreamer to generate a pipeline automatically thanks to gst_parse_launch() or manually?

Currently developing an application with GStreamer on an embedded device, I was asking myself whether there is or not a significant difference in using the gst_parse_launch() function to generate my ...
Pitt_64's user avatar
  • 13
1 vote
0 answers
352 views

Multi-Camera in WebRTC application with Gstreamer C++

In my pipeline I would like to use 2 different v4l2 source. But When I used like code 1 with double v4l2src , I can get some error like "ERROR GST_PIPELINE grammar.y:740:gst_parse_perform_link: ...
cagdas demirel's user avatar
1 vote
1 answer
232 views

How can you blend two videos (with their both audio) in a single video using gstreamer?

I currently know how to blend two videos into one, it was very hard to learn how to do this (more than 30 continuous hours researching), I've used the following pipeline: gst-launch-1.0 filesrc ...
Anthony Luzquiños's user avatar
1 vote
0 answers
294 views

unable to build pipeline no element decodebin[Gstreamer]

[Android.mk] LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-3 LOCAL_SRC_FILES := tutorial-3.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -...
Android'e Doğru's user avatar
1 vote
1 answer
1k views

Creating a mulaw audio file from L16

I have a wave file with these properties. sampling rate = 16000 Hz encoding = L16 channels = 1 bit resolution = 16 I want to make 2 pipelines 1) I am throwing this file contents as ...
RC0993's user avatar
  • 910
1 vote
0 answers
285 views

GStreamer IOS : Running audio and video pipeline togethere get a bad access crash

I have integrated GStreamer library 1.12.2 version in my ios application that supports audio and video streaming through raspberry pi device . Functionality that has been implemeted is as follows: 1. ...
Parul Jain's user avatar
1 vote
1 answer
801 views

Use multiple processes in Android gstreamer!!‏

I'm reading the Android tutorial to gstreamer. I'd like to make a simple pipeline from one android phone to another, like this. I've read these questions: loading same gstreamer elements multiple ...
user3684082's user avatar
1 vote
0 answers
474 views

Gstreamer-1.2.2 : simple pipeline with decklinksink doesn't output raw video

I am having problems with a very simple pipeline with decklinksink in it. I can output the audio but no the video. I have Gstreamer-1.2.2 with all plugins included (bad, good, ugly, base, libav). ...
Tom Xavier's user avatar
1 vote
1 answer
2k views

Playing Audio with pipeline in Gstreamer (C#)

I've been struggling with GStreamer for a while because I can't find any C# examples/tutorials. As far as I know, Gstreamer uses pipelines in order to decode and then be able to send, for instance a ...
Apidcloud's user avatar
  • 3,798
1 vote
0 answers
579 views

GStreamer-CRITICAL buffer

When I execute a gstreamer-1.0 pipeline: gst-launch-1.0 -evm videotestsrc ! v4l2sink device=/dev/video1 for video loop back using v4l2loopback version 0.6.3 it thows the following error: "(gst-...
Vinoth Kumar's user avatar
1 vote
1 answer
4k views

VLC RTSP compatibility with GStreamer

I'm working on a streaming project. I have VLC running as a server, streaming mp4 (h264/aac) RTSP stream to Flumotion server (which is based on Gstreamer). I think it's either a compatibility ...
Speed Of Light's user avatar