Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers.
Questions tagged [rtsp]
113 questions
34
votes
5 answers
Capture RTSP stream from IP Camera and store
I've got a few IP Cameras which output an RTSP (h264 mpeg4) stream.
Hitting the URL locally via VLC:
rtsp://192.168.0.21:554/mpeg4
I can stream the camera and dump to disk (on my desktop). I'd like to however store these files on my NAS (FreeNAS).…
Keerthi
- 441
- 1
- 4
- 4
12
votes
3 answers
Streaming Media From Inside HTML Pages, by Example
So I'm a software engineer trying to understand some nitty gritty details about how streaming media works. I've spent the lion's share of the day trying to understand the various codecs, container formats and streaming protocols that are pertinent…
smeeb
- 601
- 3
- 11
- 27
9
votes
1 answer
Streaming RTSP with ffmpeg?
So I have been able to successfully send an RTP video stream from my server to the client on another system on the LAN and play it using ffplay. I now want to send the video on the same network using RTSP so that the client can receive the video and…
Candy
- 111
- 1
- 1
- 6
7
votes
2 answers
RTSP -> HLS using FFMPEG
I'm using FFMPEG to convert my rtsp stream into an HLS stream so it can be played on all browsers on my website using player js. I'm having an issue with FFMPEG dying if the internet connection to the rtsp stream goes out for a min. Is there a way…
James
- 121
- 1
- 1
- 5
6
votes
6 answers
Unable to remotely view IP camera's RTSP stream
I have recently completed a Zoneminder surveillance system installation at a remote location. The dedicated server is running Ubuntu 14.04 LTS and is currently connected to 4 IP Cameras (Hikvision DS-2CD2032-I) on the same subnet. The router is a…
ks78
- 191
- 1
- 1
- 7
6
votes
1 answer
Capturing multiple RTSP streams simultaneously in sync
I would like to capture h264 rtsp streams from up to six IP cameras simultaneously and save them to separate files. The cameras are connected to a Gigabit switch which is connected to my pc. The output videos must be synchronized for further…
MartinKS
- 61
- 1
- 2
5
votes
2 answers
how to generate multiple bitrate HLS content from live rtsp stream?
I am gerating single bitrate live hls content from live rtsp stream . I am using the following command
ffmpeg -v verbose -i rtsp://127.0.0.1:8080/test.sdp \
-vcodec libx264 -acodec aac -ac 1 -strict -2 -crf 18 -profile:v baseline \
-maxrate 400k…
prashantas
- 163
- 1
- 1
- 9
5
votes
2 answers
Using VLC as RTSP server
I'm trying to figure out how to use the server capabilities of VLC. More specifically, how to export an SDP file when RTP streaming. In chapter 4 in the section related to RTP Streaming examples for server and client are given:
vlc -vvv input_stream…
StackedCrooked
- 2,951
- 9
- 37
- 43
5
votes
1 answer
How to configure port forwarding for an IP camera
I need to configure port forwarding for my IP camera so that I can access it from internet. UPNP is not supported on my gateway.
My network configuration is the following:
Gateway (Ubuntu Server 12) --- Internal network
7.8.9.10 --- 192.168.2.1 …
Andrew
- 151
- 1
- 2
5
votes
3 answers
I need motion detection on a RTSP stream
I have my camera streaming through VLC using a separate (slower) computer because my iMac is too far from the window. I was curious if there was software that could take streaming video and watch it for motion (take shots/etc). The software can be…
kylehotchkiss
- 890
- 3
- 11
- 17
4
votes
1 answer
Reolink RTSP-->ffmpeg, RTP: PT=xx: bad cseq if stopped/restarted quickly
My BeeCam is a Raspberry Pi3/Raspbian Stretch w/freshly compiled ffmpeg version N-89882-g4dbae00bac running this as a service:
#!/bin/bash
cd /usr/local/bin/
while true
do
./ffmpeg -re -thread_queue_size 512 -rtsp_transport tcp -i…
Steven Kan
- 41
- 1
- 3
4
votes
0 answers
Directing USB webcam into RTSP server or MJPEG server (OS X)
I have - for want of a better term - a DVR, which accepts IP camera feeds in the form of RTSP streams or MJPEG feeds. It works a treat.
For reasons I'll not go into, for the sake of a customer demo, I'd like also to feed the DVR with the output…
Adrian Hand
- 41
- 3
3
votes
2 answers
Getting error: Unknown encoder 'libvo_aacenc'
I am new to ffmpeg, just trying to build an SDP file for streaming. I'm facing an error when I run the command
ffmpeg -re -i "sample.mp4" -f rtp rtp://127.0.0.1:10000 -flags +global_header -c:a libvo_aacenc -vn -map 0:1 -f rtp rtp://127.0.0.1:10002…
mathlearner
- 139
- 1
- 1
- 3
3
votes
1 answer
FFmpeg raw audio and H264 in RTSP
Trying to grab correctly video and audio data from an IP camera Hikvision.
Everything works like a charm when doing so for H264 + MP2 for example.
When trying to grab RAW audio in PCM s16le - smile goes off of my face.
Here is how I grab my camera…
Max Ridman
- 33
- 1
- 4
2
votes
1 answer
H.264 decoding error log from RTSP stream
I am getting the following H264 error log. This log comes while decoding an RTSP video stream with help of FFMPEG. The picture displayed is blurred after 5/6 seconds. The picture would recover it from time to time. However, it remains blurred for…
Tariq
- 121
- 1
- 3