I have installed zoneminder 1.32 on my Raspberry Pi 3B. Install went fine with no problems found.
I configured the service for my Wansview camera using the following url path: rtsp://admin:password@xxx.xxx.xxx.xxx/live/ch0
(I used actual password of course)
I get no video at all and the console shows the camera in red indicating a problem.
I have checked the log and can't figure out what its telling me. I don't know what log entries I need to be concernd with or which will give me the answer.
Here is a short snippet of the log.
Startup time was 1633448337 - now 1633448370 > 5]
2021-10-05 10:39:20.676230 zmdc[1429].INF-zmdc.pl ['zma -m 1' started at 21/10/05 10:39:20]
2021-10-05 10:39:20.676210 zmdc[650].INF-zmdc.pl ['zma -m 1' starting at 21/10/05 10:39:20, pid = 1429]
2021-10-05 10:39:20.196241 zmc_m1[1405].INF-zm_signal.cpp/40 [Got signal 15 (Terminated), exiting]
2021-10-05 10:39:20.178950 zmdc[650].INF-zmdc.pl ['zmc -m 1' sending stop to pid 1405 at 21/10/05 10:39:20]
2021-10-05 10:39:19.706670 zmdc[650].INF-zmdc.pl ['zma -m 1' exited, signal 14]
2021-10-05 10:39:19.686660 zmdc[650].INF-zmdc.pl ['zma -m 1' sending stop to pid 1422 at 21/10/05 10:39:19]
2021-10-05 10:39:19.144950 zmwatch[700].INF-zmwatch.pl [Restarting capture daemon for Front, no image since startup.
Which keep repeating.
I was able to view the camera using the same url from VLC.
Any help really appreciated.
Zoneminder 1.32.2-3 on Raspberry Pi 3B
Re: Zoneminder 1.32.2-3 on Raspberry Pi 3B
What do you have set as the Source Type on the General tab of the camera config?
Using FFMpeg as the Source Type works with my cameras' rtsp streams, using TCP as the a Method on the Source tab.
Using FFMpeg as the Source Type works with my cameras' rtsp streams, using TCP as the a Method on the Source tab.
Re: Zoneminder 1.32.2-3 on Raspberry Pi 3B
I have it set up just as yours is, ffmpeg and tcp.
I had it working for several years using this same configuration until my system became corrupted and I had to do a rebuild. I remember having a lot of issues the first time trying to find the right camera settings, but most resolved around the rtsp string.
Strange that it will not connect.
I had it working for several years using this same configuration until my system became corrupted and I had to do a rebuild. I remember having a lot of issues the first time trying to find the right camera settings, but most resolved around the rtsp string.
Strange that it will not connect.
Re: Zoneminder 1.32.2-3 on Raspberry Pi 3B
Anybody? Here is the output from service zoneminder status:
zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-10-12 21:07:07 CDT; 19min ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 2721 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 2731 (zmdc.pl)
Tasks: 6 (limit: 2059)
CGroup: /system.slice/zoneminder.service
├─2731 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─2776 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─2783 /usr/bin/perl -w /usr/bin/zmtelemetry.pl
├─2788 /usr/bin/perl -wT /usr/bin/zmstats.pl
├─2970 /usr/bin/zmc -m 2
└─2971 /usr/bin/zma -m 2
Oct 12 21:26:05 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXXX@192.168.10.106:554/live/ch0]
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Unable to open input rtsp://admin:XXXXXX@192.168.10.106:554/live/ch0 due to: Operation now in progres
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXX@192.168.10.106:554/live/ch0]
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Unable to open input rtsp://admin:XXXXX@192.168.10.106:554/live/ch0 due to: Operation now in progres
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:36 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXXX@192.168.10.106:554/live/ch0]
I can use the same URI in VLC and I can stream from my camera. So I am pretty much at a loss as to what is going on. I have used the same setup in the past and it worked fine, but when I had a sdcard failure I had to re-install everything.
Equipment.
Raspberry Pi 3B
Latest RPI (Buster) 32 bit Lite (no gui)
Wansview Camera (1080 P) Older I purchased a few years back.
32GB sdcard
1gb ram
External Hardrive (500gb) for video storage.
I followed these instructions: https://wiki.zoneminder.com/Single_Board_Computers
Install went fine, zoneminder cannot get data from the camera.
zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-10-12 21:07:07 CDT; 19min ago
Docs: http://zoneminder.readthedocs.org/en/latest/
Process: 2721 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=0/SUCCESS)
Main PID: 2731 (zmdc.pl)
Tasks: 6 (limit: 2059)
CGroup: /system.slice/zoneminder.service
├─2731 /usr/bin/perl -wT /usr/bin/zmdc.pl startup
├─2776 /usr/bin/perl -wT /usr/bin/zmwatch.pl
├─2783 /usr/bin/perl -w /usr/bin/zmtelemetry.pl
├─2788 /usr/bin/perl -wT /usr/bin/zmstats.pl
├─2970 /usr/bin/zmc -m 2
└─2971 /usr/bin/zma -m 2
Oct 12 21:26:05 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXXX@192.168.10.106:554/live/ch0]
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Unable to open input rtsp://admin:XXXXXX@192.168.10.106:554/live/ch0 due to: Operation now in progres
Oct 12 21:26:15 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXX@192.168.10.106:554/live/ch0]
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Unable to open input rtsp://admin:XXXXX@192.168.10.106:554/live/ch0 due to: Operation now in progres
Oct 12 21:26:25 Zoneminder zmc_m2[2970]: ERR [zmc_m2] [Failed to prime capture of initial monitor]
Oct 12 21:26:36 Zoneminder zmc_m2[2970]: INF [zmc_m2] [Priming capture from rtsp://admin:XXXXXXX@192.168.10.106:554/live/ch0]
I can use the same URI in VLC and I can stream from my camera. So I am pretty much at a loss as to what is going on. I have used the same setup in the past and it worked fine, but when I had a sdcard failure I had to re-install everything.
Equipment.
Raspberry Pi 3B
Latest RPI (Buster) 32 bit Lite (no gui)
Wansview Camera (1080 P) Older I purchased a few years back.
32GB sdcard
1gb ram
External Hardrive (500gb) for video storage.
I followed these instructions: https://wiki.zoneminder.com/Single_Board_Computers
Install went fine, zoneminder cannot get data from the camera.
-
- Posts: 360
- Joined: Sun Jun 05, 2016 2:53 pm
Re: Zoneminder 1.32.2-3 on Raspberry Pi 3B
What does syslog show? Is one of the ZM processes crashing?
Is there a port closure issue on the Pi? (firewall?)
Try a short tcpdump capture and perhaps you can see what's going wrong, may need to export the resulting pcap and look at it with wireshark etc on separate box.
Is there a port closure issue on the Pi? (firewall?)
Try a short tcpdump capture and perhaps you can see what's going wrong, may need to export the resulting pcap and look at it with wireshark etc on separate box.