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
1
vote
0answers
23 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, ...
1
vote
0answers
33 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 ...
0
votes
0answers
33 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, ...
0
votes
0answers
122 views

ffmpeg combine mp4 with rtsp stream

Currently, I am streaming the output of my rtsp camera to YouTube using ffmpeg. This is the command I am using: ffmpeg -re -rtsp_transport tcp -i [RTSP URL] -acodec libmp3lame -ar 44100 -b:a 128k -...
0
votes
0answers
45 views

ffmpeg / ffplay cannot handle multiple rtsp with h264_v4l2m2m decoder on raspberry pi 4

I'm using ffmpeg / ffplay on my raspberry pi 4 (8GO of ram), I have a problem with this decoder h264_v4l2m2m with rtsp streams, I cannot play or run multiple rtsps flows with the same decoder. (on ...
0
votes
0answers
129 views

ffmpeg RTSP -> HLS stream stops with repeating the message “Non-monotonous DTS in output stream 0:0”

I am trying to make an HLS video stream from RTSP video stream, got from a Dahua IP camera. The "architecture", may I say, is as follows: The IP camera is connected to a router, providing ...
0
votes
0answers
158 views

FFMPEG - stream RTSP feed to YouTube with AAC audio

From HIK Vision camera I get G.711ulaw audio. Need to help to convert the audio to AAC or any YouTube supported audio so that I can stream my IP camera to YouTube live. Thanks in advance. FFMPEG ...
1
vote
0answers
12 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=...
0
votes
0answers
25 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 ...
0
votes
0answers
230 views

ffmpeg returns errors and missed packets and cause a 7/8 seconds delay

I am using the following command to convert a RTSP stream to a dash one to play in a browser using dashjs player: /usr/bin/ffmpeg -nostdin -i rtsp://admin:Password@172.25.1.47:554/h264/ch1/main/...
0
votes
1answer
82 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 ...
0
votes
0answers
140 views

Sending RTSP stream to ffmpeg instance behind NAT

I have two devices: A and B, which should exchange audio stream via Internet. So, I have one stream from A to B and a second stream from B to A. Another thing is that A has public IP address, B has ...
0
votes
0answers
138 views

Audio-Video Delay When Fetching From NGINX-RTMP live-Mode

We get an RTSP-stream and mix it together with line-in over pulseaudio. This looks something like: ffmpeg \ -use_wallclock_as_timestamps 1 -fflags +genpts \ -max_delay 2000000 -...
1
vote
0answers
231 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 --...
0
votes
0answers
56 views

Can ffmpeg be used to capture a stream

Can ffmpeg be used to capture a stream and save it as a single still frame with a unique filename? I have tried this but can't connect. ffmpeg -rtsp_transport tcp -i 'rtsp://root:23594lgx@192.168.254....
0
votes
0answers
65 views

Periodical video hangs when recording rtsp stream with ffmpeg

I write a rtsp stream with ffmpeg to raspberry pi. When recording for a long time, it starts to hang from one second to 20 seconds. I used ffmpeg version 4.2.2 for the recording. I noticed this ...
0
votes
1answer
233 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 ...
0
votes
0answers
29 views

What ssh arguments do I need to forward another network interface's traffic?

On my server I have two network interfaces. They're both connected to different networks. From Network_A I am trying to access an RTSP stream on port 554 on Network_B. Network_A and Network_B are not ...
0
votes
0answers
38 views

Access cctv rtsp links over internet

I have a couple of tplink cameras set up in site A. So they have a link to access the rtsp feed. I plan to use this to record the activities in site B. This is to ensure in case of theft they cannot ...
0
votes
0answers
98 views

Rtsp and Ip-Camera

Mme My Ip-Cam have problem. Impossible to connect VLC on Stream with other LAN! In my Lan is work perfect. I have redirect port, Ip v4 fixe + DNS record. With https://apps.apple.com/fr/app/ip-cam-...
0
votes
0answers
66 views

ffmpeg restream stops in middle

I am using ffmpeg command to push the RTSP stream to Wowza RTMP endpoint. I am using below command to push the stream to Wowza ffmpeg -stream_loop 1 -i rtsp://192.168.0.201:554/live0 -c copy -f flv -...
1
vote
0answers
46 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 ...
1
vote
0answers
16 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 ...
0
votes
1answer
167 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 ...
0
votes
0answers
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 ...
0
votes
1answer
31 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....
0
votes
0answers
1k 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:...
0
votes
1answer
688 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 /...
0
votes
0answers
185 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 ...
0
votes
2answers
301 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 ...
0
votes
0answers
150 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 ...
0
votes
0answers
1k 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 ...
1
vote
0answers
865 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
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 ...
0
votes
1answer
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/...
1
vote
1answer
2k 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: ...
1
vote
1answer
954 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 ...
1
vote
1answer
2k 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 ...
5
votes
1answer
25k 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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
223 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 ...
0
votes
0answers
1k 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 ...
0
votes
1answer
738 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 ...
0
votes
1answer
1k 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 ...
1
vote
0answers
112 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 ...
0
votes
0answers
601 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 ...
1
vote
2answers
3k 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?
0
votes
1answer
7k 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 ...
0
votes
0answers
2k views

RTSP Stream to File With VLC

I am trying to record an RTSP stream from my IP camera to my PC using VLC. It is h264. I use this command (plus many more I tried) "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv rtsp://192.168.1....