All Questions
124
questions
15
votes
2
answers
29k
views
Streaming MP4 Video File on Gstreamer
I am working on gstreamer for first time and trying to Stream an MP4 Video file from a server to client using Gstreamer (RTP and UDP) .
The Command Line which I am trying to use :
On Server Side:
...
10
votes
3
answers
12k
views
gstreamer udp Streaming is slow
I'm working on a videochat application and am having trouble with UDP streaming vs TCP.
When I use the pipelines below, the video streams acceptably. (The application itself is in python, but the ...
6
votes
1
answer
13k
views
GStreamer - Webcam stream from Raspberry to VLC-PC
I'm trying to stream webcam video from a Raspberry to a VLC player using gstreamer 1.0.
Right now i got the following command for the Raspberry:
gst-launch-1.0 -vv -e v4l2src device=/dev/video0 \
! ...
5
votes
1
answer
2k
views
gstreamer's udpsink stops streaming after sending ~1000 packets
I'm trying to stream my Raspberry Pi camera with gstreamer. This is my pipeline:
raspivid --nopreview -ih -hf -vf --width 800 --height 600 --framerate 20 --bitrate 2000000 --profile main --timeout 0 -...
4
votes
2
answers
32k
views
Stream webcam video with gstreamer 1.0 over UDP to PC
Im trying to stream video from a Raspberry Pi (on Raspbian) to a Windows 7 PC like in this video: https://www.youtube.com/watch?v=lNvYanDLHZA
I have a Logitech C270 connected to the Raspberry Pi, and ...
4
votes
1
answer
4k
views
GStreamer UDPSink blocksize property not working?
I'm using GStreamer and sending audio using this pipeline:
gst-launch-1.0 -v filesrc location=soundfile.mp3 ! mad ! audioconvert ! audio/x-raw, layout=interleaved, format=F32LE, channels=2 ! udpsink ...
4
votes
0
answers
2k
views
How to set Udpsrc for GStreamer to a remote UDP - streaming from a GoPro
Hej!
I'm trying to set up the following:
I have a GoPro Session 5 which streams from udp://10.5.5.9:8554
I have a raspberry pi 3 that is connected to the GoPro's wifi hotspot
I'd like to stream from ...
4
votes
1
answer
645
views
Android send mpegts streams over udp
I want to receive mpegts over udp in my android application. I am using gstreamer for that. Right now, I am trying to send the mpegts stream from vlc player from the same computer over udp.
In my ...
3
votes
4
answers
6k
views
Cannot receive gstreamer UDP Stream from OpenCV Gstreamer
I'm working on Gazebo Sim which uses 'Gstreamer Plugin' to stream Camera Video via UDP. Simulation is started on Ubuntu 18.04.
There is some resources to understand backend of this structer.
Gazebo ...
3
votes
2
answers
2k
views
Streaming .ts File Over UDP
I would like to stream .ts file over udp, for that i used the below pipeline.
But within a second it is reaching EOS
GST_DEBUG=3 gst-launch-1.0 -v filesrc location=avm.ts ! queue ! tsparse ! ...
3
votes
1
answer
7k
views
GStreamer udpsrc works with gst-launch but not in app (OSX)
I successfully streamed my webcam's image with GStreamer using gst-launch this way :
SERVER
./gst-launch-1.0 -v -m autovideosrc ! video/x-raw,format=BGRA ! videoconvert ! queue ! x264enc pass=qual ...
3
votes
1
answer
8k
views
Gstreamer: stream video over internet
I am using nVidia TX1 embedded board with Ubuntu 14.04.
I have attached a camera module to it which give UYVY video output in 1080p60. I am using gstreamer 1.2.4 pipeline for preview, udp & rtsp ...
3
votes
1
answer
3k
views
Cannot display h.264 webcam image streamed with GStreamer over UDP
I am trying to stream my webcam over IP from one PC to another. This is all through the command line. First I try:
# gst-launch v4l2src ! xvimagesink
Which works fine and starts the webcam and gives ...
3
votes
0
answers
1k
views
Error in pipeline while seeking using GST_FORMAT_TIME
I have below pipeline,
gst-launch-1.0 filesrc location=video.ts ! \
tsdemux name=demux program-number=10 demux.video_012c ! \
queue ! muxer.sink_300 mpegtsmux name=muxer prog-map=program_map,...
3
votes
0
answers
1k
views
creating a pipeline to transmit voice
i have the following pipelines that one of them sends voice signals on udp port and the other receives them on the same port number on the receiver side
gst-launch-1.0 -v alsasrc ! audioconvert
...
3
votes
2
answers
2k
views
GStreamer: Stream vorbis-encoded audio over network
I want to write an app that streams audio and video over the network. As a simple start, I wanted to try out the audio part.
I want to stream vorbis-encoded audio from my microphone over the network. ...
2
votes
1
answer
6k
views
gstreamer client multicast UDP does not connect when multiple interfaces are up
I am using gstreamer to connect to a streaming video that is raw H.264 elementary stream over raw UDP multicast. I find that when I have only eth0 up, it connects just fine:
gst-launch udpsrc uri=...
2
votes
1
answer
3k
views
GStreamer - Emit a signal to an element
I have a pipeline written into a C program which redirects a video stream from stdin to multiple UDP clients. I want those clients to be added or removed dynamically, so it's not possible to define at ...
2
votes
1
answer
15k
views
GStreamer UDP send/receive one-liner
I'm trying to stream v4l2src over UDP using GStreamer.
The sending part is (apparently) ok, but the receiving part is missing something.
Those are the actual lines:
Send:
gst-launch-0.10 -v ...
2
votes
1
answer
11k
views
Could not join Multicast group : No such Device
I would like to stream camera data over UDP multicast using gstreamer.
For that i used below pipeline,
gst-launch-1.0 v4l2src ! videoconvert ! video/x-raw,width=720,height=576,framerate=25/1 ! ...
2
votes
1
answer
6k
views
GStreamer v1.0 UDP Multicast streaming not properly decoded if client starts after server
I am trying to make UDP Multicast screen streaming using GStreamer. My screen casting server should run on Windows and my client should run on Linux.
If I start the client before the server, ...
2
votes
1
answer
16k
views
How to stream h264 with udp gstreamer
I'm trying to stream a video with h264. Source is a Axis camera. I managed to stream jpeg with multicast but not h264.
With jpeg I used following command:
gst-launch-1.0 udpsrc uri=udp://239.194.0....
2
votes
1
answer
5k
views
Gstreamer in Android. UDP stream
I have setup my raspberry pi with the camera board. The code in rpi is:
raspivid -t 999999 -h 720 -w 1080 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink ...
2
votes
1
answer
793
views
OpenCV GStreamer - no element "udpsrc"
I am currently trying to access the live feed of a drone, send from the rosetta drone app. I have seen it been done before by using the VideoCapture from OpenCV like this:
self.cap_receive = cv2....
2
votes
1
answer
2k
views
Decoding elementary h264 stream from gstreamer in iOS8
I am attempting to use the AVSampleBufferDisplayLayer to render an elementary h264 stream coming over a UDP connection.
For a source, I am using this gstreamer command:
gst-launch-1.0 -v videotestsrc ...
2
votes
1
answer
482
views
GStreamer UDPSink Not Outputting Anything
Hey I'm trying to experiment with GStreamer's udpsinkon Mac OS Catalina. I'm using the following commands to do this.
On one terminal (mock server) I do this:
GST_DEBUG=udpsink:5 gst-launch-1.0 -v ...
2
votes
1
answer
3k
views
Low latency audio streaming with gstreamer, Dropped samples when lowering the buffer-time on a pepper robot
I'm trying to send audio through an RTP Stream using gstreamer with the lowest latency possible and I want to do it from a Pepper(gstreamer 0.10) to my computer(gstreamer 0.10 or 1.0).
I can send ...
2
votes
0
answers
4k
views
UDP to RTSP server in Gstreamer
I have an IP camera and I want to get it's video stream by using Gstreamer and send it to udpsink, then in another network receive it and share by using RTSP server.
This is my command line in first ...
2
votes
2
answers
5k
views
How to setup gstreamer on raspberry Pi and client for rtp with H264-capable webcam?
in the context of an underwater ROV project, I'm trying to stream (via rtp) a HD video flux from a Raspberry Pi model 2. The webcam is a Logitech C920 webcam, which I bought a while ago because it was ...
2
votes
1
answer
2k
views
Raspberry pi UDP stream to Android: what should the GStreamer pipeline look like?
Here is how I start GStreamer on the pi:
raspivid -n -w 1280 -h 720 -b 4500000 -fps 30 -vf -hf -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay ! udpsink host=192.168.1.7 port=9000
I've ...
2
votes
0
answers
4k
views
Network streaming using Gstreamer
I tried the following basic pipelines to play audio over a network:
Server:
gst-launch-0.10 -v audiotestsrc ! udpsink host=127.0.0.1 port=1234
Client:
gst-launch-0.10 -v udpsrc port=1234 ! fakesink ...
2
votes
1
answer
2k
views
Stream Android camera as H264 mpeg-ts over UDP using GStreamer
I don't have much experience with gstreamer, and I couldn't find something online to figure it out.
I'm using this open-source to develop an Android app to stream camera as H264 mpegts over UDP.
I ...
2
votes
1
answer
835
views
Cannot set 'socket' property of udpsink gstreamer element in iOS
When I setup and start the pipeline I get:
'Could not get/set settings from/on resource' from the bus
Code:
...
// create UDP sink
udpsink = gst_element_factory_make ("udpsink", "sink");
assert (...
1
vote
1
answer
1k
views
Gstreamer cant play stream from other pc: h264->rtp->udp
I want to stream a h264 video over UDP to another pc.
I am using this pipeline to produce the stream:
videotestsrc ! video/x-raw,width=400,height=400,framerate=7/1 ! videoconvert ! x264enc ! h264parse ...
1
vote
1
answer
1k
views
Gstreamer tsdemux reports "CONTINUITY: Mismatch packet" while receiving MPEG TS payload via UDP
My pipeline is the following (I recieving MPEG TS H264 video over RTP):
gst-launch-1.0 -v udpsrc address=127.0.0.1 port=1200 ! decodebin ! rtpvrawpay ! rtpbin ! udpsink host=127.0.0.1 port=2250
...
1
vote
2
answers
2k
views
UDP Receiver needs to start before udp sender
I'm trying to send video from a raspberry pi 0w with camera running Raspian Buster to a machine running Ubuntu 18.04. I'm using ffmpeg to encode to h264 using hardware on the raspi end, and then ...
1
vote
1
answer
9k
views
How to Stream Video over UDP from GStreamer 1.0 to VLC
I am planning to use GStreamer as the new video-streaming library for my application, but I am trying to test the basic capabilities first. Unfortunately there is a documentation problem, particularly ...
1
vote
1
answer
3k
views
GStreamer stream audio and video via UDP to be able to playback on VLC
I am trying to stream audio and video via Gstreamer via UDP but playback on VLC only returns video without audio. Currently I am using a sample of Big Buck Bunny and have confirmed that it does have ...
1
vote
1
answer
9k
views
mp3 streaming playback over RTP using gtreamer
I am working with gstreamer, mainly playing around with music playback features.
I am currently trying to use RTP to send mp3 streams over our LAN, but unsuccessfully until now.
On sender side I use ...
1
vote
1
answer
270
views
rtspsrc not working when using protocols=tcp and feeding from a cellphone app
I'm trying to use my cell phone as an RTSP server and my PC as the client. So for the cell phone, I'm using the RTSP Camera Server android app and on the PC I tried this command:
gst-launch-1.0.exe ...
1
vote
1
answer
1k
views
How to write specific time interval of GstSamples (RTP over UDP H264 packets)?
The Setup
I am sending H.264 encoded packets over RTP UDP via the following Gstreamer CLI pipeline:
gst-launch-1.0 videotestsrc is-live=true ! video/x-raw,framerate=30/1 ! timeoverlay ! videoconvert ! ...
1
vote
1
answer
1k
views
How to create a video stream with Gstreamer without RTP?
I am trying to create a simple UDP video stream with Gstreamer1.0.
The problem is that for the purpose of my project I need to be able to have a vanilla UDP stream but almost all the tutorials I was ...
1
vote
1
answer
3k
views
How to receive a rtp, rtcp or udp, from a stream of gstreamer, on video HTML5?
I'm trying to get a video stream RTP/RTCP using HTML5, the stream was generated by gstreamer. I used examples of gstreamer, so I can pass through RTP ports:5000, and RTCP:5001, and can receive streams ...
1
vote
0
answers
1k
views
How to get reduced latency in gstreamer pipeline udpsrc
I am streaming camera from imx6q platform on remote display which has NVIDIA GPU. I am using below gstreamer pipeline on remote display to stream camera. In below pipeline we are using NVIDIA decoder ...
1
vote
1
answer
541
views
Gstreamer, how to play udp stream using C on android?
I'm trying to play udp stream using Gstreamer on android. (I've used this tutorial from the official Gstreamer website). I can play rtsp and https streams, but when I pass udp uri (like this: udp://@...
1
vote
0
answers
138
views
Anyway to use GStreamer to send Linear PCM + Metadata over the network?
I was able to send metadata with H264 using GStreamer RTP lib's gst_rtp_buffer_add_extension_twobytes_header(). The rtph264pay is RFC 3984 has does support this.
But it does not work for PCM. Calling ...
1
vote
0
answers
389
views
Gstreamer Java udp stream from camera not displaying in JavaFX
I'm trying to receive a UDP stream with Gstreamer in Java, which is sent from a Raspberry PI.
The stream should be displayed in a JavaFX window.
However, there's only a black screen appearing and the ...
1
vote
1
answer
724
views
Gstreamer video played with udpsrc stops after few seconds on Android
Im streaming video to the Android device using Gstreamer and udpsrc. Problem Im facing is that stream works for only couple of seconds and then stops (permanent freezed frame is displayed). First I ...
1
vote
0
answers
1k
views
How to read UDP stream in VLC from remote machine
There are lots of articles in google which describe how to read udp stream from localhost but I haven't faced any about how to do it from remote machine and just the way to change host to
udp://@...
1
vote
0
answers
348
views
gst_bus_sync_handler not sending prepare-window-handle message
I've built a Gstreamer pipeline that uses xvoverlay, udpsrc and xvimagesink.
I'm running 4 parallel pipelines with different sources, i'm trying to get these to show in a GTK window. I create 4 ...