All Questions
Tagged with gstreamer gstreamer-1.0
364
questions
19
votes
2
answers
5k
views
RTSP over HTTPS video streaming by GStreamer
I have a stream which is RTSP over HTTPS.
The handshake is secure (Over https) but the data after the handshake is complete is not encrypted (in RTSP).
GStreamer by default does not stream as it ...
12
votes
1
answer
10k
views
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://...
9
votes
0
answers
2k
views
RTP timestamp synchronization in GStreamer
We are trying to synchronize 2 different streams with respect to their RTP timestamps. More specifically, we are sending two identical uncompressed video streams on port 5004 and 5005, at 24 fps with ...
8
votes
2
answers
1k
views
Launch GstRTSPServer from GstElement pipeline
I'm doing a Gstreamer 1.0 application in C.
The pipeline is built, based on user configuration and system "state" during runtime.
Therefore I'm using multiple GstElements which are later added and ...
7
votes
5
answers
10k
views
WARNING: erroneous pipeline: no element "x264enc"
I have been trying to get this running for the past couple of days now. I have a gstreamer command that requires x264enc. I am running a Mac I cannot seem to get x264 development libraries installed. ...
7
votes
3
answers
16k
views
How to make rtpjitterbuffer work on a stream without timestamps?
I am sending an H.264 bytestream over RTP using gstreamer.
# sender
gst-launch-1.0 filesrc location=my_stream.h264 ! h264parse disable-passthrough=true ! rtph264pay config-interval=10 pt=96 ! udpsink ...
7
votes
1
answer
4k
views
Memory not freed after gstreamer pipeline set to GST_STATE_NULL
My application requires gstreamer pipeline to be restarted multiple times.
But after setting the pipeline to GST_STATE_NULL and calling unref on the pipeline, memory appears to be not freed.
After ...
6
votes
1
answer
3k
views
How to debug gstreamer pipeline with leaking file descriptors after gst_object_unref()?
I have a custom pipeline that looks roughly like this in gstreamer shorthand:
gst-launch-1.0 rtspsrc location=rtsp://<url-for-stream> ! rtph264depay ! h264parse ! imxvpudec ! *any-sink*
any-...
6
votes
0
answers
413
views
Gstreamer stream audio over network
I am trying to get real-time audio streaming working from my mac to my windows PC, using Gstreamer but i havent had any luck.
This is what i am using on my mac to send the audio:
gst-launch-1.0 -v ...
5
votes
1
answer
2k
views
Reconnect RTSP stream in Gstreamer pipeline
I have a working Gstreamer pipeline using RTSP input streams. To handle these given RTSP input streams, the uridecobin element is used.
My goal is to reconnect to the RTSP input streams when internet ...
5
votes
1
answer
1k
views
gstreamer 1.0 + python: dynamic link and unlink queues from a PLAYING pipeline
Pipeline architecture I'm trying to implement
The script works well when both the queues are linked together before setting the pipeline to PLAYING, but I'm having a hard time understanding Gstreamer ...
4
votes
2
answers
2k
views
Gstreamer cannot find internal camera on a Mac
I have installed Gstreamer via homebrew on my mac. I want to stream the mac's internal camera's footage, however when I run
gst-device-monitor-1.0 I keep getting Probing devices... Failed to start ...
4
votes
2
answers
10k
views
Gstreamer C Code is failed with streaming stopped, reason not-negotiated (-4)
I am learning Gstreamer and whatever I have achieved through Gstreamer tools, I am trying to implement the same with gstreamer application using C language.
Below command streamed a mp4 video file ...
4
votes
2
answers
1k
views
how to play GStreamer media on Flutter
I want to know how can I get GStreamer to work on Flutter application to show a video on media player.
Any help and tips would be appriciated
4
votes
1
answer
5k
views
Gstreamer Multifilesrc loop short video
I was wondering if it is possible to even get the multifilesrc to work. I am on the latest gstreamer version and cannot make a simple video loop. I've tried so many iterations of the above, to show a ...
4
votes
0
answers
5k
views
GStreamer streaming stopped, reason error (-5)
Every time I run my pipeline, it goes for a while, and then eventually crashes with, "streaming stopped, reason error (-5). I tried to debug the error, but actually got nothing specific that ...
3
votes
3
answers
11k
views
There maybe a timestamping problem or this computer is too slow
Does anyone get this output with gstreamer?
I am trying out gstreamer with rtp from my latptop to nvidia xavier
My sender pipeline is as such
gst-launch-1.0 v4l2src ! videoconvert ! 'video/x-raw,...
3
votes
1
answer
2k
views
Drop buffers in gstreamer
I am developing a gstreamer application (plugin) that sinks from a video stream, analyzes each buffer for a certain condition and then if that condition is present passes the buffer to the plugin ...
3
votes
1
answer
2k
views
How to send data from a file to webrtcbin element in gstreamer?
I am a beginner with gstreamer so bear with me.
I have a working pipeline where audio and video from a test source is sent to the webrtcbin element used to send out offer. Pipeline is as follows:
...
3
votes
1
answer
944
views
Why does on-screen video fail to update unless i have two queues?
gst-launch-1.0 -v -e \
videotestsrc ! tee name=t0 \
t0. ! queue ! x264enc ! matroskamux ! filesink location="test.mkv" \
t0. ! queue ! queue ! autovideosink
Works, with both the file, and ...
3
votes
3
answers
8k
views
Restarting GStreamer Pipeline in Python on EOS
I am working on a Python script running on RPi3, and using gstreamer to connect to RTSP feed of my IP Camera, and serve decoded H264 frames to my Python script.
Here is the gstreamear pipeline used ...
3
votes
1
answer
2k
views
GStreamer: Pipeline working in gst-launch-1.0 command, but not in c++ code
I have a pipeline running on my client:
gst-launch-1.0 tcpclientsrc port=3344 host=10.0.0.7 ! tsdemux ! h264parse ! avdec_h264 ! autovideosink
which is working perfectly. Now I am trying to ...
3
votes
1
answer
1k
views
What is the purpose of action signals vs. queries in gstreamer?
For some informations about gstreamer elements I have to emit a query like
gst_element_query_position (data.playbin, GST_FORMAT_TIME, ¤t)
(from basic tutorial 4)
while for others I have ...
3
votes
1
answer
814
views
C++ Cannot integrate JPEG pipeline in OpenCV
I've looked through tons of threads on OpenCV and Gstreamer and simply cannot resolve the issue to my error. I am trying to open a Gstreamer pipeline in OpenCV. I have built OpenCV with GStreamer and ...
3
votes
0
answers
360
views
Gstreamer tee branch with appsink slows down the whole pipeline, how to process buffer async?
I have a deepstream pipeline which goes like this:
reading and processing video --> queue --> tee --> queue --> display
|----> queue --> ...
3
votes
0
answers
605
views
Parsebin doesnt link with mpegtsmux when using h264 payload
The problem:
I am trying to setup a pipeline, which reads from different RTSP sources, and saves the video as mpegts without reencoding. The rtp payload can be h264, h265, mpegts with different ...
3
votes
0
answers
1k
views
How to change the currently playing file in a gstreamer pipeline without restarting the pipeline?
For some reason we have had trouble finding working solutions to this problem online.
Right now our source is a filesrc element. Our current non-solution is to change the pipeline's state to READY, ...
2
votes
2
answers
483
views
Setting different RTP SSRCs with GStreamer and multiudpsink
In a C++ program I'm using a GStreamer pipeline to generate an RTP stream and send it to two destinations at the same time with a multiudpsink element.
This works fine, except that both streams have ...
2
votes
2
answers
199
views
How to use GStreamers switchbin element?
I have two working pipelines - one for MJPEG streams and one for H.264.
udpsrc port=5021 caps="application/x-rtp,encoding-name=JPEG,payload=26" ! \
rtpjitterbuffer ! rtpjpegdepay ! ...
2
votes
1
answer
620
views
How to set the type for a non-standard gstreamer property?
I'm attempting to set the pattern property for the videotestsrc. Following the normal logic, I have tried setting the variable as an i32 and a string. Both fail with an error that asks for a specific ...
2
votes
1
answer
3k
views
h264parse: broken/invalid nal Type
I am receiving h264 frames over a serial link, trying to play them with gstreamer. I set the caps to gst_caps_from_string("video/x-h264"), and it seems to accept them (if I use other caps, e....
2
votes
1
answer
2k
views
What does 0 (zero) framerate mean in GStreamer?
I'm trying to learn GStreamer and couldn't understand something.
I saw some test codes from other projects as following,
video/x-raw,format=RGB,framerate=0/1
What does the framerate=0/1 in the ...
2
votes
2
answers
9k
views
GStreamer Pipeline with udpsrc displaying and saving to file
I'm having a hardtime understanding how to build gstreamer pipelines. I've read many questions on Google and on Stack Overflow that are quite similar to mine, but most of them assumes that I know what ...
2
votes
2
answers
4k
views
gstreamer with multiple cameras: how can I split the pipeline based on the camera identifier?
I am trying to build a GStreamer pipeline which interleaves images from multiple cameras into a single data flow which can be passed through a neural network and then split into separate branches for ...
2
votes
2
answers
4k
views
Gstreamer 1.0 - Creating custom message/event/signal
I am writing a custom plugin for gstreamer 1.0 in C.
This plugin perform some processing on frames and should send an event to the application whenever some conditions are met.
It should not block the ...
2
votes
1
answer
12k
views
GStreamer appsrc to file example
I'd like to write audio buffers to file.
The problem is that the file is always empty or the applicaition stops immediately with Internal data flow error.
Examples are:
https://gist.github.com/...
2
votes
1
answer
389
views
gst_parse_launch there is no proper conversion function from string to gchar
I have a simple code with c++ using gstreamer to read rtsp video.
I'm new to gstreamer, I couldn't concatenate gst_parse_launch() with a URL_RTSP variable for my rtsp links.
here is no variable ...
2
votes
1
answer
5k
views
How to use gstreamer rtspsrc to display a rtsp source?
I'm playing with gstreamer rtsp.
I created a rtsp sink as this:
gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay config-interval=10 pt=96 ! udpsink host=127.0.0.1 port=5000
I can't open it directly ...
2
votes
1
answer
2k
views
Creating the onvif compliance camera using the GStreamer Pipeline
I have a camera and I am streaming the video data using the GStreamer. With below pipeline.
gst-launch-1.0 -e camerasrc ! video/x-h264,width=1920,height=1080,framerate=30/1 ! h264parse config-interval=...
2
votes
1
answer
656
views
rtpvp8depay + rtpvp8pay appear to introduce artifacts on Janus Gateway
A VP8 stream comes from Janus Videoroom plugin with restreaming to 10002/10004 locally. From there, it's picked up with the following gstreamer pipeline:
gst-launch-1.0 -v udpsrc \
caps="application/...
2
votes
2
answers
1k
views
tensorflow - Create input tensor from a gstreamer buffer
I am currently writing a Gstreamer1.0 plugin that would intercept a frame, use tensorflow to perform some task, write data on the frame and inject it back in.
I am doing this in C/C++ and i am ...
2
votes
2
answers
572
views
TypeError: unknown type GstFraction
I am trying to use Gstreamer with python bindings in order to search for available cameras on my system. As a result I would like to obtain a list of devices with their corresponding capabilities (...
2
votes
3
answers
2k
views
gst-launch-1.0 videotestsrc ! autovideosink doesn't work (va errors)
I have ubuntu 16.04. I've tried to install gstreamer by this tutorial:
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html but it didn't work for me (can not find packages). So i ...
2
votes
0
answers
225
views
GStreamer splitmuxsink `Queued GOP time is negative` error
We're hitting this error when running a GStreamer pipeline to capture HLS video segments:
ERROR: from element /GstPipeline:pipeline0/GstSplitMuxSink:splitmuxsink: Timestamping error on input streams
...
2
votes
0
answers
195
views
Use gstreamer to remux a single title out of a DVD without re encoding
I am trying to re-mux the video of a specific title out of a DVD into a video file, without decoding then re-encoding the video.
I have this pipeline that works exactly the way I want for audio, and ...
2
votes
0
answers
188
views
How can I start a gStreamer pipeline at a specific position?
I'm trying to start a non-live pipeline at a specific position.
I've tried doing a seek before setting the pipeline state to Playing, the seek returns 'true' but it does not take effect.
I'm able to ...
2
votes
0
answers
225
views
gstreamer webrtcbin audio and video can not play simultaneously
#define STUN_SERVER " stun-server=stun://stun.l.google.com:19302 "
#define AUDIO_CAPS "audio/x-mulaw,media=audio,channels=1,rate=8000"
#define RTP_CAPS_PCMU "application/x-...
2
votes
0
answers
266
views
How change source of file, while playing? - GStreamer
I am trying to create a program, that creates a HLS stream of two images, which switch when I input into the keyboard. I have this sample code:
import gi
gi.require_version("Gst", "1.0&...
2
votes
1
answer
994
views
GStreamer emits not-linked error even when elements are already linked
I'm trying to create a capture-to-streaming pipeline with GStreamer but after creating the pipeline and linking all of the elements, I still get warnings that the source elements are not linked, even ...
2
votes
0
answers
2k
views
GStreamer high quality screen recording with audio
I'm trying to create an RTSP stream from the desktop screen and internal sound using GStreamer. Up to now, I've left RTSP aside to create a stable pipline and saved it into a file. I got:
GST_DEBUG=3 ...