FFmpeg는 retry기능이 없으며 rtsp로 output하는 기능은 서버가 응답하지 않으면 fail 하니 MediaMTX부터 설정하는것이 좋다.
ffmpeg -re -stream_loop -1 -i input.mp4 -c:v copy -f rtsp rtsp://localhost:8554/mystream
[FFmpeg] → rtsp://localhost:8554/mystream (Push)
↓
[MediaMTX RTSP 서버]
↓
VLC / OpenCV / 외부에서 rtsp://서버IP:8554/mystream 접속
'개발기술 > 영상처리' 카테고리의 다른 글
적응형 비트레이트 스트리밍(Adaptive Bitrate Streaming) 설계 (0) | 2025.04.02 |
---|---|
HLS 프로토콜 튜닝 (0) | 2025.03.30 |
Encoding, Decoding, Frames 개념 (0) | 2025.03.30 |
영상 스트리밍 처리과정 (0) | 2025.03.26 |
영상처리 프로토콜(rtsp) 및 프레임워크(ffmpeg, gstreamer) (0) | 2025.03.13 |