I cant find the source for the problem, only some logs which tells "there is a problem":
debug.log:
Code: Select all
04/06/21 10:44:57.165983 zms_m1[12116].DB1-zm_logger.cpp/224 [LogOpts: level=DB2 effective=DB2, screen=OFF, database=INF, logfile=DB2->/var/log/zm/debug.log, syslog=OFF]
04/06/21 10:44:57.166969 zms_m1[12116].INF-zm_user.cpp/126 [Authenticated user 'admin']
04/06/21 10:44:57.167097 zms_m1[12116].DB1-zm_utils.cpp/198 [Detected a x86\x86-64 processor with AVX2]
04/06/21 10:44:57.167219 zms_m1[12116].DB2-zm_stream.h/209 [Setting replay_rate 100]
04/06/21 10:44:57.169145 zms_m1[12116].DB1-zm_storage.cpp/91 [No id passed to Storage constructor. Using default path /var/lib/zoneminder/events instead]
04/06/21 10:44:57.169209 zms_m1[12116].DB1-zm_monitor.cpp/475 [Have camera type Ffmpeg]
04/06/21 10:44:57.169235 zms_m1[12116].DB1-zm_monitor.cpp/2374 [Reloading linked monitors for monitor Parkplatz, '(null)']
04/06/21 10:44:57.169284 zms_m1[12116].DB1-zm_packetqueue.cpp/759 [Setting pre_event_video_packet_count to 1]
04/06/21 10:44:57.169311 zms_m1[12116].DB1-zm_packetqueue.cpp/753 [Setting max_video_packet_count to 81]
04/06/21 10:44:57.169336 zms_m1[12116].DB1-zm_monitor.cpp/639 [mem.size(8) SharedData=760 TriggerData=560 VideoStoreData=4128 timestamps=160 images=10x8294400 = 82944000 total=82949672]
04/06/21 10:44:57.169369 zms_m1[12116].DB1-zm_monitor.cpp/685 [Loaded monitor 1(Parkplatz), 0 zones]
04/06/21 10:44:57.169634 zms_m1[12116].DB1-zm_monitor.cpp/956 [Unable to map file /dev/shm/zm.mmap.1 (82949672 bytes) to locked memory, trying unlocked]
04/06/21 10:44:57.169684 zms_m1[12116].DB1-zm_monitor.cpp/959 [Mapped file /dev/shm/zm.mmap.1 (82949672 bytes) to unlocked memory]
04/06/21 10:44:57.169735 zms_m1[12116].DB2-zm_camera.cpp/66 [New camera id: 1 width: 1920 line size: 7680 height: 1080 colours: 4 subpixelorder: 8 capture: 0]
04/06/21 10:44:57.169837 zms_m1[12116].DB1-zm_stream.cpp/311 [Trying to open the lock on /var/run/zm/zms-087080.lock]
04/06/21 10:44:57.169890 zms_m1[12116].DB1-zm_stream.cpp/334 [We have obtained a lock on /var/run/zm/zms-087080.lock fd: 6]
04/06/21 10:44:57.170046 zms_m1[12116].DB1-zm_monitor.cpp/956 [Unable to map file /dev/shm/zm.mmap.1 (82949672 bytes) to locked memory, trying unlocked]
04/06/21 10:44:57.170086 zms_m1[12116].DB1-zm_monitor.cpp/959 [Mapped file /dev/shm/zm.mmap.1 (82949672 bytes) to unlocked memory]
04/06/21 10:44:57.170150 zms_m1[12116].DB1-zm_stream.cpp/76 [Monitor is not decoding.]
04/06/21 10:44:57.170176 zms_m1[12116].DB2-zm_stream.cpp/252 [Sending 1920x1080 * 100 text frame 'Unable to stream']
Code: Select all
[80549.311944] traps: nph-zms[12015] trap divide error ip:562c5f6b10f4 sp:7ffd0e34fc80 error:0 in zms[562c5f634000+154000]
Any suggestions to solve this?
UPDATE
If i change the function from "nodect" to "record" the captured video is correct saved and playable... only the live-view wont work (doesnt matter if nodect or record).