All Questions
211
questions
34
votes
5
answers
20k
views
MediaCodec and Camera: colorspaces don't match
I have been trying to get H264 encoding to work with input captured by the camera on an Android tablet using the new low-level MediaCodec. I have gone through some difficulties with this, since the ...
17
votes
1
answer
64k
views
Stream H.264 video over rtp using gstreamer
I am newbie with gstreamer and I am trying to be used with it. My first target is to create a simple rtp stream of h264 video between two devices. I am using these two pipelines:
Sender: gst-launch-1....
16
votes
2
answers
6k
views
How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?
After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 ...
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:
...
13
votes
3
answers
33k
views
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, ...
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
15k
views
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 ...
7
votes
1
answer
7k
views
UdpSink in GStreamer is not working in Windows
I am new to GSTreamer.
I tried to upsink a video using GStreamer. While running the folloing command,
gst-launch-1.0 videotestsrc ! udpsink port=5200
I get warnings as follows.
WARNING: from ...
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
8k
views
Combining an audio and video stream using gstreamer [closed]
I am streaming an mp4(mpeg-4) file from one device to another using gstreamer over RTP stream. Basically I am splitting up the mp4 file into its audio and video file and then sending it all to the ...
7
votes
0
answers
1k
views
Live video streaming using gstreamer display on web browser
I am trying send h264 video in UDP packeted using gstreamer.
Like,
gstreamer v4l2src ! video/x-raw-rgb, widht=320, height=240 ! ffmpegcolorspace ! x264enc ! rtph264pay ! udpsink host=192.168.0.1 port=...
6
votes
1
answer
8k
views
Streaming with gstreamer to vlc using tcpserversink
I'm attempting to stream an h264 encoded video using gstreamer and tcp. The command is:
gst-launch-1.0 videotestsrc is-live=true ! videoconvert ! videoscale ! video/x-raw,width=800,height=600 ! ...
6
votes
1
answer
8k
views
GStreamer videotestsrc to RTP
I'm just trying to get an RTP sample working, but every example I've seen doesn't execute due to missing plugins or incorrect pins.
This seems the most promising, but, although the server and client ...
6
votes
1
answer
2k
views
Audio Streaming: RTP-Stream receiving with Gstreamer - Latency
I am currently playing around with an AudioOverIP Project and wondered if you could help me out.
I have a LAN, with an Audio Source (Dante/AES67-RTP-Stream) which I would like to distribute to ...
6
votes
0
answers
3k
views
Have trouble streaming RTP/ RTSP stream from OpenCV-Python
I am trying to use this sample script I found here in order to take OpenCV images and convert them into a rtp/rtsp stream:
https://github.com/madams1337/python-opencv-gstreamer-examples/blob/master/...
5
votes
2
answers
21k
views
Gstreamer receive video: streaming task paused, reason not-negotiated (-4)
I'm trying to transmit RTP video stream through network via UDP protocol.
Here is pipeline code on sender side:
https://gist.github.com/mgalushka/68d8ee034849a7db4f1f234e73a41405
I can receive and ...
5
votes
2
answers
7k
views
Gstreamer: RTP jitter buffer not working properly with packet loss?
For a VoIP speech quality monitoring application I need to compare an incoming RTP audio stream to a reference signal. For the signal comparison itself I use pre-existing, special-purpose tools. For ...
5
votes
3
answers
12k
views
Streaming audio and video in sync for mp4 container using Gstreamer framework
I am new to gstreamer and I want to stream a mp4 video which is having audio and video both from my Host(Ubuntu PC) to target board. I have successfully streamed only video. But streaming both(audio ...
5
votes
1
answer
2k
views
Play RTP stream withouth RTSP in Android VideoView
I'd like to play a RTP stream in an Android VideoView. I create the stream with gstreamer on a linux machine and fire the rtp stream to a udp sink.
Is it possible to consume this stream in an ...
5
votes
0
answers
2k
views
Real time streaming over RTP on Android client
I'm trying to realize a real time streaming using gstreamer as server over pure RTP (no RTSP) using a sdp file with a delay from server to client < 500ms. Test server has tested using
gst-launch-1....
4
votes
1
answer
9k
views
How to use gst-launch to streaming mp4 audio and video via rtp and play it?
I use these commands to send and recieve rtp data:
Send rtp data to UDP port 5000
gst-launch-1.0 -v filesrc location = haizeiwang.mp4 ! decodebin ! x264enc ! rtph264pay ! udpsink host=192.168.1.101 ...
4
votes
2
answers
9k
views
Broadcast RTP Stream with Kurento
I have the following setup:
Raspberry Pi with raspicam (CSI camera) sends an RTP stream to a Server in the same local network with gstreamer1.0.
I´m using the following pipeline:
raspivid -t 0 -h ...
4
votes
3
answers
8k
views
CPU usage and memory of Gstreamer pipleline
I'm using gstreamer to capture video from a webcam, encode it with x264 and stream it using a gstrtpbin. It works great. However, it uses about 50% of all four of my cores and a lot of memory. Is ...
4
votes
3
answers
11k
views
Streaming an mpeg2-ts video over RTP using gstreamer
I am trying to stream an mpeg2-ts video over RTP using gstreamer. I am using the following pipeline for the server:
gst-launch-0.10 -v filesrc location=/home/…/miracast_sample.mpeg ! rtpmp2tpay ! ...
3
votes
2
answers
4k
views
Gstreamer, rtspsrc and payload type
I'm having difficulties in retrieving rtsp stream from a specific camera, because the rtp payload type the camera is providing is 35 (unassigned) and payload types accepted by the rtph264depay plugin ...
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?...
3
votes
1
answer
2k
views
Gstreamer pipeline - produce and consume output in separate processes
I want to have two separate gstreamer pipelines, one producing a video output, the other consuming it. The producer is in a Docker container, and the consumer is running on the host. For this I'm ...
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
1
answer
3k
views
gstreamer srtp for Full HD h.264 video
I am trying to implement a Full HD video conferencing solution on a Raspberry Pi 3. As I only need the the latency i just wanted to create one simple pipleline for audio and video.
I compiled ...
3
votes
1
answer
1k
views
Streaming Video On Lossy Network
Currently I have a GStreamer stream being sent over a wireless network. I have a hardware encoder that coverts raw, uncompressed video into a MPEG2 Transport Stream with h.264 encoding. From there, ...
3
votes
3
answers
4k
views
How to make a streaming relay using gstreamer?
I would like to make of some sort of a streaming server. I would like it to receive RTSP streams over the net from live streams (e.g. webcam, ipcam, etc.) then broadcast that same stream on my local ...
3
votes
1
answer
2k
views
Gstreamer RTP transmission of video + text
I am writing a gstreamer pipeline using command line syntax to send a video-stream and would like to send data with it. One solution I thought was feasible was to send the data as a subtitle file.
I ...
3
votes
0
answers
194
views
Using Gstreamer Rust plugins from Android app
I want to use gst-plugins-rs (in particular rtpav1depay) in Android app.
I am using either the standard binaries provided by gstreamer website (1.22) and a cerbero compiled version (1.23 with RUST ...
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
1
answer
2k
views
Gsteamer rtp video mixer, found a working pipeline, however need improvement
I'm attempting to mix multiple rtp h264 payload video streams into a single video stream of 15FPS.
A working pipeline that mixes two video streams over a videotestsource pattern of 15FPS
VIDEO_CAPS=...
2
votes
2
answers
10k
views
Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu
I'm trying to fetch the video file from my local directory,enable the stream from server and capture these frames from my Client side.I have used the following pipelines:
Server side:
gst-launch -v ...
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
4k
views
Gstreamer 1.0 no video when udpsink pipeline runs before udpsrc pipeline
I'm trying to stream a webcam feed from Computer A to Computer B via udpsink. If Computer A's pipeline sends data to Computer B before Computer B starts its receiving pipeline through udpsrc, I get ...
2
votes
1
answer
2k
views
GStreamer: Calculate delay in received video frames/buffers to detect communication delay between Tx and Rx
I am looking into an application that requires to detect the delay in receiving video frames and then takes action if a delay is detected. The delay in receiving video frames is perceived as a video ...
2
votes
1
answer
8k
views
GStreamer RTP packet size
I'm running the following GStreamer command:
gst-launch-1.0 -v filesrc location=audiofile.mp3 ! mad ! audioconvert ! rtpL16pay mtu=1024 ! udpsink port=5005 host=127.0.0.1
This sets up a RTP stream ...
2
votes
3
answers
4k
views
How do I use the Windows version of gstreamer and wireshark to take a .pcap file and extract H.264 from RTP?
I have a pcap file containing a capture of RTP with H.264 video and SIP with SDP. I would like to be able to extract the video from the RTP stream and save it to a file. (h264video.mkv or something ...
2
votes
1
answer
1k
views
VNC screen live streaming with GStreamer
Intro
I've been trying to capture vnc screen with GStreamer and then send it to rtp endpoint. I've already used a rfbsrc plugin, but it works unstable and there are first frames loss and freezing.
...
2
votes
1
answer
1k
views
WebRTC encryption mechanism of SRTP
WebRTC uses DTLS for encryption of SCTP (data). Furthermore it uses DTLS for key exchange of SRTP (media). But I do not quite understand, whether it also uses DTLS for encryption of SRTP. So my ...
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
1
answer
7k
views
A lot of buffers are being dropped
I'm trying to stream with RTP and the client says that there is allot of packet drops.
Server pipeline:
gst-launch videotestsrc ! x264enc ! rtph264pay ! udpsink host=192.168.1.16 port=5000
Client ...
2
votes
1
answer
3k
views
gstreamer: streaming using x264, rtph264pay and depay
basically I was trying to get this thing working.
gst-launch v4l2src ! videorate ! 'video/x-raw-yuv, framerate=30/1' ! \
x264enc ! rtph264pay ! gstrtpjitterbuffer ! rtph264depay ! \
ffdec_h264 ! ...
2
votes
1
answer
2k
views
WebRTC stream from gstreamer in local netwrok with lowest possible security
I need to connect to gstreamer multicast udp stream with WebRTC. I do not need any security, but web browsers require them. The connection is made only in local network, so no ICE, STUN or TURN ...
2
votes
1
answer
1k
views
GStreamer: Add dummy audio track to the received rtp stream
I'm initiating RTP stream from my Raspberry camera using:
raspivid -n -vf -fl -t 0 -w 640 -h 480 -b 1200000 -fps 20 -pf baseline -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay pt=96 config-...
2
votes
2
answers
4k
views
Playing H264 stream from a local socket with gstreamer
I'm facing the problem of playing a H.264 stream using gstreamer (this stream comes from RTP packets without RTSP). My application sends data to a local socket and I would like gstreamer to play this ...