我一直在尝试设置 ZoneMinder 以便能够看到来自 FOSCAM FI9831P 的流式视频。
我已经使用 VLC 成功测试了以下 url 的相机:rtsp://username:password@IPADDRESS:88/videoMain
不幸的是,我无法在 zoneminder 中使用此配置,即:
Source Type: Remote
Remote Protocol: RTSP
Remote Method: RTP/Unicast
Remote Host Name: IPADDRESS
Remote Host Port: 88 Remote Host
Path: /videoMain
Target Colorspace: 32 bits
Capture Width: 1280
Capture Height: 720
我总是遇到同样的错误:
2015-07-23 19:53:32.002350 zmdc 9974 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2015-07-23 19:53:31.999636 zmc_m1 10322 FAT No RTSP sources zm_remote_camera_rtsp.cpp 155
2015-07-23 19:53:22.911336 zmc_m1 10326 ERR Unexpected response code 400, text is 'Bad Request' zm_rtsp.cpp 92
2015-07-23 19:53:22.903196 zmc_m1 10326 ERR Unexpected response code 401, text is 'Unauthorized' zm_rtsp.cpp 92
现在,考虑到我能够使用 VLC,它不应该是连接本身的问题......所以我猜测 Apache 配置错误。我简直不能指望它!