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 it possible to find some ffmpeg command combination to start in the exact moment the recording process for the three cameras.
Currently, we are using this command:
ffmpeg -rtsp_transport tcp -i rtsp://admin:[email protected]:554 -rtsp_transport tcp -i rtsp://admin:[email protected]:554 -rtsp_transport tcp -i rtsp://admin:[email protected]:554 -map 0 -vcodec copy video1.mp4 -map 1 -vcodec copy video2.mp4 -map 2 -vcodec copy video3.mp4 -y
It provides a 2 seconds delay more or less.
Also, We are trying to keep synchronized all the frames while we are recording, but it seems impossible if they come from different devices, it should have a variable delay among videos....