Questions tagged [rtsp]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How to stream via VLC with RTSP

I have a problem streaming video using VLC. I want to use RTSP protocol. I have set the streaming as follows: Open VLC; Press CTRL+S in order to open streaming options; Add the video file; Add ...
user avatar
0 votes
1 answer
239 views

Using openRTSP to record from Eufy Cam 2 Pro

I have a couple of Eufy Cam 2 Pros. I want to record the RTSP streams to my NAS. I have tried the built-in NAS service, which only works with synology, as well as many open source video recording ...
user avatar
0 votes
0 answers
163 views

ffmpeg tls verify rtsps

I'm trying to connect to a RTSP stream using tls and I would like to know how to validate the server certificate. I tried to use tls_verify=1 parameter without any luck. It's not validating the ...
user avatar
  • 1
0 votes
0 answers
115 views

ffmpeg - Wyzecam RTSP Mosaic - lagging

I'm trying to display 4 RTSP streams simultaneously. It works but with huge lag. That's my ffmpeg command: #!/bin/bash ffmpeg \ -i rtsp://f:a@10.10.20.206/live \ -i rtsp://f:a@10.10.20.207/live ...
user avatar
  • 1
0 votes
0 answers
215 views

Transcoding h265(3840x2160, 25fps) into h264(1280x720, 5fps) and h264(3840x2160, 25fps). RTSP in and RTSP out using qsv

So hardware: E-2224G - Intel® UHD Graphics P630 Reolink 820A 4k PoE security camera So I've setup a dockerfile to get rtsp server and all the right ffmpeg tools with intel drivers: FROM aler9/rtsp-...
user avatar
  • 101
0 votes
0 answers
128 views

How to run multiple stream in FFMPEG in RTSP?

I am new in FFMPEG RTSP Suppose I have two media stream https://localhost:6147/?url=rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov and https://localhost:6147/?url=rtsp://ipcam....
user avatar
0 votes
0 answers
72 views

Dahua DVR and HTTP stream

I have a Dahua DVR VR5108H-4kl and I am trying to work out how to access the cameras via HTTP stream (not RTSP). For example http://login:password@my_ip_address:port/camera1.html - Is this possible? I ...
user avatar
  • 1
0 votes
0 answers
243 views

Decode H.265 plus with ffmpeg

I'm trying to decode an H.265+ rtsp stream to an image using ffmpeg as follows: ffmpeg -rtsp_transport tcp -stimeout 10000000 -i 'rtsp://user:passwd@url:port/Streaming/tracks/101?starttime=...
user avatar
  • 3
0 votes
0 answers
76 views

Relay RTSP to server

I have a setup like this, Device 1 is running Raspbian with a custom made software (Python), on a Raspberry Pi 3, and can access to the video stream via rtsp://SOMEIP. Device 2 is running Windows 10 ...
user avatar
0 votes
0 answers
1k views

Recording IP camera RTSP stream to a .mp4 file

I was wondering if anybody can help me figure out what I am doing wrong in the following scenario. So my goal is to record an RTSP stream from an IP camera to a .mp4 file. I have 4 x Vstarcam-C7824 ...
user avatar
0 votes
0 answers
24 views

Capture RTSP/H.264

I am interested in develop a software to capture H.264/RTSP including its audio. I have seen commands or programing lines in internet of FFMPEG Libraries, but i´d like to known more about which are ...
user avatar
0 votes
0 answers
36 views

Show stream of IP camera in modern browsers

My camera has RTSP and i know that RTSP cannot be played in modern browsers. What is the best way to show live stream from IP camera in my web application. I need open source solution and if it ...
user avatar
0 votes
0 answers
76 views

Kill ffmpeg process if input from camera is lost or empty

I use ffmpeg to convert rtsp to MPEG-Dash and restream chunks in modern browsers. Issue comes if camera loses connection and ffmpeg process is still running in Linux OS, usage of RAM and CPU is 0% but ...
user avatar
0 votes
0 answers
55 views

RTSP Stops Recording

I'm trying to record a RTSP stream but it keeps stopping by itself. The time it stops seems random and the last line seems normal but just stops. There are also a few error in the beginning but I ...
user avatar
1 vote
0 answers
130 views

Converting RTSP to HLS as close to realtime as possible

What flags do I use to make ffmpeg convert RTSP into an HLS playlist with the video stream as close to realtime as possible? We would rather have instantaneous video, without regard for bandwidth, ...
user avatar
  • 11
1 vote
0 answers
448 views

How to stream video capture in FFMPEG in RTSP?

Linux: ffmpeg -re -i /dev/video0 -f rtsp -muxdelay 0.1 rtsp://127.0.0.1:1234/live.sdp /usr/share/libdrm/amdgpu.ids: No such file or directory ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg ...
user avatar
0 votes
0 answers
129 views

ffmpeg can't change number of B-frames

When streaming from a source I keep receiving frames following the same pattern: I-frame P-frame I-frame P-frame I-frame P-frame .... I tried many options and read as many questions here as I found, ...
user avatar
1 vote
0 answers
49 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=...
user avatar
  • 111
0 votes
0 answers
55 views

RPI problems with surveillance on USB devices

I configured my raspberry 4B as a video surveillance system with ffmpeg that captures rtsp streams from 8 IP cameras set at 4Mb of bitrate. Before, I used a NAS, until the ethernet controller failed ...
user avatar
  • 53
0 votes
1 answer
527 views

Run ffmpeg in parallel for synchronization in rtsp streaming

I am trying to receive videos from three cameras via rtsp. We use ffmpeg with multiple outputs how ffmpeg explains, but the delay is worse than we run directly three different linux processes, is ...
user avatar
1 vote
0 answers
387 views

Loop record RTSP stream with VLC

I am able to save an RTSP stream to a .mp4 file using the following command: /usr/bin/vlc -vvv rtsp://stream_address --sout=file/mp4:/home/test-$(date +"%Y%m%d%H%M%S").mp4 --intf dummy --...
user avatar
  • 11
0 votes
1 answer
342 views

How to stream RTSP behind firewall to server

I'm looking for a way to unicast the video stream of an IP camera to a VPS on the internet for recording and live viewing. Like on any network, the IP camera is behind a firewall, and also port ...
user avatar
1 vote
0 answers
146 views

Building server that spawns ffmpeg instances to stream mp4 files to RTMP

We are building a server that streams a mp4 file to any RTMP server (Facebook, Twitch) and we might have several streams running at the same time. We plan to have up to 1080p 30fps videos ~ 5000 ...
user avatar
1 vote
0 answers
26 views

Scaling Application for video decoding using ffmpeg

I am building an application to read multiple IP camera streams (rtsp) and run different Machine Learning Algorithms over it in real time. For each camera stream, I spawn an ffmpeg process which ...
user avatar
  • 11
0 votes
1 answer
638 views

Add current date to a file via task scheduler

I need to automate some CCTV stuff, since the software of the manufacturer doesn't work properly. I found this: Automate VLC schedule recording I scheduled it daily and it works fine, but it ...
user avatar
0 votes
0 answers
2k views

buffer deadlock prevented error from RTSP streaming over UDP

I have an issue to view RTSP streaming over UDP in the open VPN connection. Our project is to integrate 360 degree IP camera in unity system. And we want to get the UDP streaming rather than TCP to ...
user avatar
0 votes
1 answer
68 views

How do I split a video to 4 subpicture and serve them with rtsp?

I have one video, and need to split it to 4 videos, 2 x 2 by frame, then serve them with rtsp, rtsp://192.168.1.100/left-top rtsp://192.168.1.100/right-top rtsp://192.168.1.100/left-bottom rtsp://192....
user avatar
  • 103
0 votes
1 answer
2k views

Error trying to retrieve RTSP Stream from IP Camera (invalid data found when processing input)

i'm struggling trying to get FFMPEG working with a Chinese IP CAMERA (Brand: Victure, Model: PC730). I've been able to obtain and decode RTSP stream from this camera (url like rtsp://user:passw@IP:...
user avatar
0 votes
1 answer
1k views

Why does ffmpeg record the wrong FPS when recording an rtsp feed?

I am using a Raspberry Pi 3B+ to record video from a ActiA31 security camera (connected vie a power-over-ethernet router). The camera is set to record at 29.97 fps. The command I am using is sudo /...
user avatar
  • 101
0 votes
0 answers
354 views

Issues when RTSP streaming from CCTV cameras over Wi-Fi

I'm working on a project where we will be using UniFI AC-HD and AC-Pro access points to RTSP stream CCTV video. But we are having issues... With the UniFI AC-Pro we are able to do two continues ...
user avatar
0 votes
2 answers
520 views

RTSP address to Yale WIPC-303w camera

In order to use the Yale PTZ WIPC-303w camera with NVRs or simply stream the video to eg. VLC the RTSP address to it is required. How to get it or what is it? Ability to stream the video from the cam ...
user avatar
  • 1
0 votes
0 answers
234 views

GStreamer define port used for outgoing traffic (rtsp)

I try to get some custom rtsp software running that has an annoying quirk. It cannot negotiate the port on which it will send the video. It will always send the video to the port from which the ...
user avatar
  • 111
0 votes
0 answers
2k views

Retrieving RTSP/RTP Timestamps

This is an update to my previous post. I am able to get the RTP timestamps by using ffmpeg and opencv currently, however, I am trying to actually get the timestamp at which the frame was captured. I ...
user avatar
  • 141
1 vote
0 answers
1k views

Trying to stream RTSP to Youtube via VLC

Kinda of a noob at ffmpeg but familiar enough with VLC. Trying to convert and stream RTSP to youtube live and having no luck. What am I missing? I know a lot of input in the empty fields and ...
user avatar
0 votes
1 answer
66 views

Bundling AAC-LD with MPEG2-TS

While using a proprietary SDK I had the following observations: 1) Could hear audio (AAC-LD) and see video (H.264) during the playback of MP4 video file. 2) Could not hear audio (AAC-LD) but could ...
user avatar
  • 1
0 votes
1 answer
2k views

Sync two rtsp stream with ffmpeg

Before creating the post I did several searches on the web without finding a solution to my problem. I have to capture two rtsp streams from 2 ipcam to be analyzed later with opencv. I use a ...
user avatar
  • 53
0 votes
1 answer
1k views

Why does OpenCV+GStreamer lags exactly two seconds behind real time?

I'm trying to capture live feed through an h264 camera on RTSP protocol. On a terminal, the following gst-launch-1.0 command gives almost real-time feed: gst-launch-1.0 playbin uri=rtsp://IP:PORT/...
user avatar
  • 1
1 vote
2 answers
3k views

ffmpeg to get an HEVC RTSP stream into an mkv container

I'm trying to copy an hevc video from an RTSP feed into an mkv container. This works: rtsp(hevc) -> out.hevc then out.hevc -> out.mkv This doesn't work rtsp(hevc) -> out.mkv Working below: ...
user avatar
1 vote
1 answer
1k views

ffmpeg to fix video playback speed without re-encoding?

What's the best way to fix incorrect timestamps on a network camera using ffmpeg? Running the camera in h264 mode with a 1fps correctly produces duration=1.000: ffmpeg -hide_banner -rtsp_transport ...
user avatar
1 vote
1 answer
3k views

FFMPEG Failed to open codec in avformat_find_stream_info for RTSP feed

I'm having an issue using FFMPEG when the version is greater than 2.8.15 (not a boundary - it's just that v3 and v4 do not work). ffprobe doesn't work either. Version 3: ffprobe -rtsp_transport tcp ...
user avatar
8 votes
1 answer
40k views

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 ...
user avatar
  • 101
1 vote
1 answer
2k views

SSH reverse tunneling: Address family not supported by protocol

I am trying to create a reverse SSH tunnel to stream a RTSP stream. When I connect to my server with this command: ssh -Nf -R serverIP:serverPort:localhost:554 user@serverIP it seems to be working but ...
user avatar
  • 131
1 vote
0 answers
288 views

FFmpeg switch source RTSP in one contaier

I'm looking for a way to switch the rtsp input of two ipcam into the capture of a single mp4 file. At the moment I'm listening to: ffmpeg -re -i udp://127.0.0.1:20000 -c:v copy -an out.mp4 While in ...
user avatar
  • 53
0 votes
0 answers
2k views

FFmpeg capture RTSP stream only audio, black screen

I have a Foscam IP camera for which i have access to the RTSP address. If i use VLC, the stream is working fine. I wanted to capture it using FFmpeg, using the command ffmpeg -i <address> -codec ...
user avatar
0 votes
1 answer
1k views

Is there a way to access an RTSP feed on a remote camera that only has a local network RTSP URL?

We have a IP CCTV camera connected to a 4G modem that connects it to the Internet. The manufacturer has provided us with an RTSP URL in the form of rtsp://admin:password0@LOCALIP/cam/channel1, which ...
user avatar
0 votes
1 answer
2k views

FFmpeg RTSP to HLS Conversion is causing random freezes and errors

So, I have a command that converts RTSP to HLS for me: sudo ffmpeg -fflags nobuffer -rtsp_transport udp -i rtsp://admin:'password'@10.2.10.201/video1 -vsync 0 -copyts -vcodec copy -movflags ...
user avatar
1 vote
0 answers
165 views

How to check fps consistency for an ip camera

Blockquote How can i check the number of frames captured by an ip camera? Background: I'm not much experienced in IP cameras, but my work right now is to fix an fps inconsistency of a grabber module ...
user avatar
  • 372
0 votes
0 answers
669 views

RTP/UDP Video Stream Via Local File?

I'm stumped here... We use a signage software package here at work that for some weirdo reason, requires EVERYTHING to be coded in XML in order for anything to work... The problem is this: We ...
user avatar
  • 1
1 vote
2 answers
4k views

How can I get openRTSP working on windows

I would like to stream an RTSP stream to my machine in windows 10. How can I get openRTSP working on windows? http://www.live555.com/openRTSP/ Have you tried it, and did it work?
user avatar
  • 705
1 vote
1 answer
8k views

How to Record RTSP Stream to Disk?

I have an IP camera, and would like to record the RTSP stream to my hard drive in Windows 10. How should I go about this? This needs to be a 24/7 running application. I have tried ffmpeg, and this ...
user avatar
  • 705