Questions tagged [rtsp]

The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers.

The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers.

2479 questions
8
votes
5 answers

simple rtsp broadcast example source

I want to broadcast the screen (not a static screen) of my program using rtsp/rtp since this way a mobile phone (at least the more recent ones) can view the stream. I'm looking for a simple example program which takes the frames I offer, encodes it…
Toad
  • 15,593
  • 16
  • 82
  • 128
7
votes
2 answers

RTSP video streaming implementation

I have to write an app in C#. The aplication is a video streaming client-server using rtsp protocol. It is dificult to me to start implementing because i never done before such a big app. If someone could give me some hints or a guideline I will…
andrew
  • 2,797
  • 3
  • 18
  • 16
7
votes
2 answers

Read RTSP Stream from UDP sink using Python OpenCV and GStreamer

We're developing a software to stream videos from two different cameras with RTSP using GStreamer. To simplify the acquisition process, we're using OpenCV with Python 3. The problem is: we wanna push the stream to UDP sink, republish it over our LAN…
Ralubrusto
  • 1,394
  • 2
  • 11
  • 24
7
votes
1 answer

Improve bash script for checking when ffmpeg hangs streaming IP cam rtsp to youtube

Background I have a garden IP cam id like to stream live to youtube, so i decided to use ffmpeg to achieve this. The problem Whenever my IP cam restarts or loses connection; ffmpeg will get stuck on the same frame and not resume once the IP cam is…
shakespeare
  • 89
  • 1
  • 7
7
votes
3 answers

opencv rtsp stream protocol

I want to process and display a network rtsp stream that is created from a raspberry camera. I have this code: #include #include #include #include int main(int…
k_kaz
  • 596
  • 1
  • 9
  • 20
7
votes
3 answers

stream RTSP to HTML website

I would like to display IP cameras streaming in RTSP into a web page. I've tried many solutions, like using VLC to transcode the stream, but none of them seems to be reliable enough to create a real web service. I'm thinking on using some media…
Arnaud Geotribu
  • 919
  • 4
  • 11
  • 22
7
votes
3 answers

Decoding a h264 (High) stream with OpenCV's ffmpeg on Ubuntu

I am working with a video stream from an ip camera on Ubuntu 14.04. Everything was going great with a camera that has these parameters (from FFMPEG): Stream #0:0: Video: h264 (Main), yuv420p(progressive), 352x192, 29.97 tbr, 90k tbn, 180k…
arvids
  • 184
  • 2
  • 11
7
votes
0 answers

Building an RTSP streaming server from processed frames in OpenCV

I have to process frames from a distant camera using OpenCV. I need to stream the processed frames to be accessible over network as a live video. How to make the processed frames (cv::Mat objects) be passed to the RTSP streaming server in real time?
ProEns08
  • 1,856
  • 2
  • 22
  • 38
7
votes
1 answer

Android VideoView save RTSP stream

I'm playing on my Android Nexus One some videos of a few cisco cameras using a VideoView. While this works fine, I'm unsure if it's possible to save the movie to a file. I'm opening an URL like rtsp://192.168.1.22:554/live.sdp How can I save it to…
Nils
  • 1,705
  • 6
  • 23
  • 32
7
votes
2 answers

Set RTSP/UDP buffer size in FFmpeg/LibAV

Note: I'm aware ffmpeg and libav are different libraries. This is a problem common to both. Disclaimer: Duplicate of SO question marked as answered but actually didn't give a proper solution. Insufficient UDP buffer size causes broken streams for…
Sergio Basurco
  • 3,488
  • 2
  • 22
  • 40
7
votes
1 answer

Using Gstreamer or ffmpeg to create rtsp client on Android

I want to stream a rtsp stream on android and I finally have come to conclusion that I can't use android API's MediaPlayer,Videoview etc because latency is big issue for me. I need an latency of <500 ms. Now I am planning to use Gstreamer or…
Pankaj Bansal
  • 889
  • 1
  • 12
  • 37
7
votes
6 answers

How to force client to switch RTP transport from UDP to TCP?

If the client wants to watch a stream that is on my RTSP server, it first tries to setup a stream through the UDP protocol. How can I tell it that my server only supports RTP/AVP/TCP and that it should switch transports? I want to terminate the UDP…
Cipi
  • 11,055
  • 9
  • 47
  • 60
7
votes
0 answers

gstreamer: How to do streaming over TLS?

In "gst-rtsp-server/examples/test-video.c", it seems one can set up TLS certificate and launch rtsp server. I wonder how it would work at the client side, including e.g. command line parameters and certificate authority, etc. Thank you for the…
user180574
  • 5,681
  • 13
  • 53
  • 94
7
votes
5 answers

Draw overlay (HUD) on Android VideoView?

I have a custom view that draws HUD: Here is my layout:
Danpe
  • 18,668
  • 21
  • 96
  • 131
7
votes
1 answer

Android: Any way to reduce media delay/latency on VideoView/MediaPlayer?

I'm trying to build an Android application that takes in an RTSP stream and displays the audio/video. I've been using VideoView and still getting a delay between 3 and 10 seconds from real time. I need this delay to be under 3 seconds. On a PC, I…