Hi All.
Ubuntu 22.04.01
ZM v1.36.31
Camera EZVIZ DB1
Setup as monitor only.
The main stream works fine. Source is rtsp://XXXXX:XXXXXX@192.168.1.150:554/Streaming/Channels/101
Capturing at 14.87 fps, capturing bandwidth 58991bytes/sec Analysing at 15.62 fps
Everything works great.
I am trying to use the substream from this same camera.
When I try to setup a second monitor using rtsp://XXXXX:XXXXXX@192.168.1.150:554/Streaming/Channels/102
It will start capturing at 2.38 fps, capturing bandwidth 1627bytes/sec Analysing at 0.00 fps
But then it immediatly stops.
11/17/22, 6:51:47 PM EST zmc_m6 6208 INF Monitor-2: 10 - Capturing at 1.84 fps, capturing bandwidth 1363bytes/sec Analysing at 0.00 fps zm_monitor.cpp 1702
11/17/22, 6:51:42 PM EST zmc_m6 6208 INF Starting Capture version 1.37.27 zmc.cpp 221
11/17/22, 6:51:42 PM EST zmdc 5741 INF 'zmc -m 6' starting at 22/11/17 18:51:42, pid = 6208 zmdc.pl -
11/17/22, 6:51:42 PM EST zmdc 6208 INF 'zmc -m 6' started at 22/11/17 18:51:42 zmdc.pl -
11/17/22, 6:51:42 PM EST zmdc 5741 INF Command 'zmc -m 6' removed from pending list at 22/11/17 18:51:42 zmdc.pl -
11/17/22, 6:51:42 PM EST zmdc 5741 INF 'zmc -m 6' crashed, signal 8 zmdc.pl -
11/17/22, 6:51:42 PM EST zmdc 5741 WAR 'zmc -m 6' has not stopped at 22/11/17 18:51:42 after 10 seconds. Sending KILL to pid 6181 zmdc.pl -
11/17/22, 6:51:42 PM EST zmwatch 5795 INF Restarting capture daemon for 6 Monitor-2, 1668729102 - heartbeat time 1668729040 62 > 45 zmwatch.pl -
11/17/22, 6:51:31 PM EST zmdc 5741 INF 'zmc -m 6' sending stop to pid 6181 at 22/11/17 18:51:31
I can see the cameras image using vlc without any issues from both sources.
Where should I start looking?
Cant use substream EZVIZ DB1
Re: Cant use substream EZVIZ DB1
signal 6 is normally an issue with not enough /dev/shm, but these days we shouldn't need veyr much. What is your Monitor->Buffers->Image Buffer set to? Shoudl be around 3 to 5.
Re: Cant use substream EZVIZ DB1
Image buffer is set to 5.
Where did you see signal 6?
I'm seeing signal 8. Or am I not looking into right spot?
Appreciate the help and feedback.
Where did you see signal 6?
I'm seeing signal 8. Or am I not looking into right spot?
Appreciate the help and feedback.
-
- Posts: 1336
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Cant use substream EZVIZ DB1
It may not matter these days, but you might need to change the resolution for the second channel.
Re: Cant use substream EZVIZ DB1
I did. The mainstream is 1536x2048
Sub is 600x800
That is also what zoneminder reports in the logs.
Sub is 600x800
That is also what zoneminder reports in the logs.
Re: Cant use substream EZVIZ DB1
So, after reading your comment, for fun I changed the resolution to 640x400 and it works.
The image is stretched but at least it works.
Any idea why the native resolution of 800x600 will not work?
The image is stretched but at least it works.
Any idea why the native resolution of 800x600 will not work?
Re: Cant use substream EZVIZ DB1
Sometimes resolutions should be multiples of 16 or 32 or whatever... but things should still work. I would say it is a bug. Bug might be within ffmpeg. I'll have to do some testing.
Re: Cant use substream EZVIZ DB1
I have the same camera, and use the sub stream to trigger the main stream. My camera resolution on the sub stream is 576x576, which makes sense as it is a doorbell fisheye lens. Works fine at that resolution
Re: Cant use substream EZVIZ DB1
Must be an older model to do 576x576?
Both VLC and Zoneminder see the substream as 800x600
Is your main stream different from 1536x2048?
Both VLC and Zoneminder see the substream as 800x600
Is your main stream different from 1536x2048?
Re: Cant use substream EZVIZ DB1
Mainstream is 1024x1024. And that works fine with Zoneminder as well. It is a fisheye lens on my camera, and I am not using any of the EZVIZ software at all. I did use the HikVision batch tool to fine tune the settings beyond what the EZVIZ software allows. Notably it gave me access to some different resolutions and frame rates not exposed by the EZVIZ setup software.