Can I set the frame rate of an IP camera over an RTSP connection using "webread"?
조회 수: 3 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 11월 28일
답변: MathWorks Support Team
2023년 12월 20일
I'm doing image acquisition from an IP Camera by using the "ipcam" function over an RTSP address. Although this works, when I try to use "webread" to set the frame rate using the RTSP URL, it fails. How can I set the frame rate of the camera?
채택된 답변
MathWorks Support Team
2023년 11월 28일
The “webread” function only supports HTTP or HTTPS URLs. Unfortunately, there is not a specific function to set the frame rate using RTSP in MATLAB.
RTSP as a protocol is designed to handle streaming data. The ability to set the frame rate programmatically while using RTSP may be possible, but it depends on the capabilities of the camera. Please contact the manufacturer to see if it is possible to do so by adding a parameter specifying the frame rate to the RTSP URL.
If it is not possible to do so using the RTSP connection, a possible workaround is to manually set the frame rate via the manufacturer’s interface to the camera and then begin the image acquisition process in MATLAB.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!