Hi,
I've set up a fresh zoneminder 1.30.4 on debian 9.2. following exactly the HowTo: https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way
I could found my camera through onvi detect.
The resulting url was: rtsp://admin:@192.168.1.210:554/rtsp_live0
If I access that URL through VLC, it shows me a good and fast video stream.
The same url in zoneminder with:
source type: ffmpeg
source path: rtsp://admin:@192.168.1.210:554/rtsp_live0
remote method: UDP Multicast
Just lead to a bluescreen and log entry: "Unable to open input rtsp://admin:@192.168.1.210:554/rtsp_live0 due to: Operation now in progress"
If I change remote method to: UDP or TCP lead to a blank screen an following log entry:
"Socket /dev/shm/zms-557276s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information."
PATH_ZMS is set to: /cgi-bin/zms
Any Ideas how can I fix that error?
RTSP stream in VLC works, but not in zoneminder
Re: RTSP stream in VLC works, but not in zoneminder
Resolution! Use vlc to check the display resolution and use that in zoneminder!
Re: RTSP stream in VLC works, but not in zoneminder
Thanks for your reply.
VLC showed 1280 x 720 as the display resolution.
I added to Capture Width: 1280 and to Capture Height: 720 but the stream is still blue.
Error log throw out only:
Unable to open input rtsp://admin:@192.168.1.210:554/rtsp_live0 due to: Operation now in progress
Cam: 70000 - Capturing at 1000.00 fps
EDIT:
Again I let ONVIF detect the cam and now it set Remote Method: TCP
Resolution and Path is the same like above.
But still no picture..
Log Entries:
VLC showed 1280 x 720 as the display resolution.
I added to Capture Width: 1280 and to Capture Height: 720 but the stream is still blue.
Error log throw out only:
Unable to open input rtsp://admin:@192.168.1.210:554/rtsp_live0 due to: Operation now in progress
Cam: 70000 - Capturing at 1000.00 fps
EDIT:
Again I let ONVIF detect the cam and now it set Remote Method: TCP
Resolution and Path is the same like above.
But still no picture..
Log Entries:
Code: Select all
Date/Time
Component Server PID Level Message File Line
2017-10-31 08:45:47.332670 zmdc 1716 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2017-10-31 08:45:47.310390 zmc_m1 1800 FAT Unable to decode frame at frame 0 zm_ffmpeg_camera.cpp 178
2017-10-31 08:45:45.316696 zmc_m1 1800 INF Priming capture from rtsp://admin:admin@192.168.1.210:554/rtsp_live0 zm_ffmpeg_camera.cpp 104
Re: RTSP stream in VLC works, but not in zoneminder
Oho
Now I switched TCP to UDP and it worked, I have a picture.
Very strange, because its the same settings like yesterday...anyway thanks!
Now I switched TCP to UDP and it worked, I have a picture.
Very strange, because its the same settings like yesterday...anyway thanks!
Re: RTSP stream in VLC works, but not in zoneminder
Great! VLC (Tools, Media Information, Codec) to check camera Display Resolution. Possible your camera does not like a TCP connection? Check its settings.