All Questions
61
questions
0
votes
0
answers
49
views
Green screen on RTSP stream from USB camera using mediamtx (ffmpeg)
I need to cast a stream from a USB camera via RTSP as stable as possible (at any moment i need to be able to get a static picture on a remote host, reflecting the real state of affairs in front of the ...
0
votes
0
answers
103
views
FFmpeg RTSP Recording: Video Timestamp Does not Match With Recorded MP4 File Timestamp
I'm currently testing by streaming a 30 fps example flv video using a local Happy-Time RTSP server.
This is the flv file i am streaming with RTSP:
I recorded the video with below ffmpeg command:
...
0
votes
0
answers
141
views
FFMPEG unexpectedly stops any stream
I am trying to stream my webcams (32+ pcs) with
ffmpeg -hide_banner -y -v verbose -rtsp_transport tcp -fflags +genpts -i "{SOME RTSP URL}" -c:v copy -an -threads auto -f hls -hls_time 3 ...
0
votes
1
answer
50
views
Nmap does not show open RTP and RTCP ports
I am running ffmpeg as in:
ffmpeg -t 00:05:00 -i rtsp://admin:[email protected]:554 -c:v copy -an output2.mp4
While ffmpeg is running, I run nmap as in:
nmap -p1-65535 192.168.1.64
I see the ...
0
votes
0
answers
2k
views
How can I publish an RTSP stream to a MediaMTX instance with TLS encryption configured?
I have an instance of (MediaMTX) running on my laptop. I have an Amcrest IP camera. I can publish the camera's RTSP stream to the server so that the stream can be accessed from the MediaMTX instance.
...
2
votes
0
answers
344
views
I am unable to play the RTSP stream using ffmpeg
I have two computers with Ubuntu 20.04.5 LTS installed, and one virtual machine with Ubuntu 22.04.3 LTS. I have a docker container with mediamtx installed on one of the computers, let's call it server....
0
votes
1
answer
242
views
ffmpeg streaming UDP port is closed
I'm trying to use ffmpeg in order to transcode RTSP stream from CCTV to HLS stream so it could be accessed through a web server.
ffmpeg used to stream video from CCTV with following command
$ ffmpeg -...
0
votes
0
answers
379
views
using ffmpeg to fix a mp4 with dropped/skipped frames due to dropped stream
the output stream from my security cameras (EufyCam) will occasionally drop the rtsp stream, sometimes up to 10s of seconds at a time, if the network connection (wifi) signal is poor.
the stream ...
2
votes
0
answers
530
views
Exit on network or other failure when recording an RTSP stream
I am using ffmpeg on linux to record an rtsp stream from a cctv dvr. Sometimes the recording silently stops and ffmpeg just continues to run, and the only way I can detect this is that the output file ...
1
vote
0
answers
75
views
ffmpeg segments are not working as expected
Trying to record rstp stream from an IP camera into ~10 mins chunks.
FFREPORT=file=$log_DIR/ffmpeg_recording.log \
ffmpeg -i "rtsp://$CAMERA_USERNAME:$CAMERA_PASSWORD@$IP:$PORT/stream1" \
-...
0
votes
0
answers
204
views
get, using ffmpeg, the RTSP response code
It's possible get using the ffmpeg the RTSP response code?
I need collect the information from RTSP header, similar to the HTTP header. But using 'curl' i dont think it would be possible.
0
votes
0
answers
740
views
open Onvif rtsp recordings
I'm trying to export recordings from a NVT to a file (.mp4) using the Onvif protocol.
Onvif relies in RTSP streams to access live video and recordings.
Saving live video can be done with ffmpeg and it ...
1
vote
0
answers
563
views
Redirected RTSP video stream cannot connect to server
I have an Auvidea video encoder/decoder that allows me to stream video via RTSP. I would like to redirect the stream from it to another server. As a server I use MediaMtx software previously known as ...
2
votes
1
answer
2k
views
Trying to stream a video loop using FFMPEG. However, I keep getting the error "Cannot Write the Headers Server returned 400 Bad Request"
I am using mediamtx for starting RTSP server. The command that I am using for ffmpeg is as follows:
ffmpeg -re -stream_loop -1 -i ./clouds.mp4 -f rtsp -rtsp_transport tcp rtsp://localhost:8554
The ...
0
votes
0
answers
842
views
A proper way to convert rtsp to rtmp with ffmpeg
I have a code that streams NVR camera to youtube. This code is done not by me and I don't completely understand what each option does
ffmpeg -rtsp_transport tcp -i "rtsp://stream:Stream123@192....