zmc is saving empty files

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
launcoan
Posts: 3
Joined: Sun Nov 07, 2021 6:21 pm

zmc is saving empty files

Post by launcoan »

fedora 38 with ZM 1.36.33, 16GB, AMD
11 ip cams, where 2 of those are 3 lens camera ( https://it.aliexpress.com/item/1005005710195681.html)
I have set the Low Res Cameras in Modect, while the High Res Cameras are in Record mode and linked to the related Low Res Camera.
I get the streams via rtsp
Source is ffmpeg.
All are in passthrough mode.

The 3 Lens Cameras are having a funny behavior.
Mostly every day one of the 3 cameras is not having its video recorded by zmc, for exactly one hour.
In attach the screenshot of the events showing the matter.

I'd like to attach as well the debug files, but are kind of big. Let me know, how to provide those here, if needed.

Anyway my question here is:
would it be possible to restart the ZMC daemon, within zm itself, when the mp4 files keep staying empty ? I did a test and restarting the zmc daemon kinda fix the issue.
Attachments
Events.jpg
Events.jpg (244.77 KiB) Viewed 545 times
aquadot
Posts: 17
Joined: Tue Apr 26, 2022 10:13 pm

Re: zmc is saving empty files

Post by aquadot »

You can run a cron job to restart ZoneMinder periodically but the bigger question would be WHY your having this problem in the first place. Are your error logs indicating that you can't connect to the stream or that writing files is giving a permission error or anything that could lead you to the root cause?
launcoan
Posts: 3
Joined: Sun Nov 07, 2021 6:21 pm

Re: zmc is saving empty files

Post by launcoan »

Hi,

I think mainly the problem could be the way the camera handles the stream... some codec thing I suppose...


the debug log shows the following at the time ZMC starts to write the first empty file ( HiRes Stream ):
The problem happened at 06:34:06, I put here a bit more...

=====================================================================================

03/28/24 06:33:32.384684 zmc_m30[2241324].DB1-zm_event.cpp/734 [Adding packet 447814]
03/28/24 06:33:32.384724 zmc_m30[2241324].DB1-zm_videostore.cpp/1054 [Queue size for 0 is 0]
03/28/24 06:33:32.384737 zmc_m30[2241324].DB1-zm_videostore.cpp/1082 [Pushing on queue 0, size is 1]
03/28/24 06:33:32.384761 zmc_m30[2241324].DB1-zm_event.cpp/436 [Have frame type Normal from score(0) state 5 frames 4265 bulk frame interval 100 and mod65]
03/28/24 06:33:32.384775 zmc_m30[2241324].DB1-zm_event.cpp/484 [No image]
03/28/24 06:33:43.001619 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/631 [timeout in ffmpeg camera now 1711604023 - 1711604012 > 10]
03/28/24 06:33:43.001833 zmc_m30[2239513].DB1-zm_monitor.cpp/1790 [Checking linked monitors]
03/28/24 06:33:43.001878 zmc_m30[2239513].DB1-zm_monitor.cpp/1797 [Linked monitor 31 Cucina-DX-Low is connected]
03/28/24 06:33:43.001892 zmc_m30[2239513].DB1-zm_monitor.cpp/1813 [Linked monitor 31 Cucina-DX-Low is not alarmed]
03/28/24 06:33:43.001905 zmc_m30[2239513].DB1-zm_monitor.cpp/1887 [Not Active(1) enabled 1 active 1 doing motion detection: 0]
03/28/24 06:33:43.001918 zmc_m30[2239513].DB1-zm_monitor.cpp/2040 [State TAPE because image_count(447806)-last_alarm_count(445875) > post_event_count(0) and timestamp.tv_sec(1711604023) - recording.tv_src(1711603799) >= min_section_length(10)]
03/28/24 06:33:43.001956 zmc_m30[2241324].DB1-zm_event.cpp/734 [Adding packet 447815]
03/28/24 06:33:43.001974 zmc_m30[2241324].DB1-zm_videostore.cpp/1054 [Queue size for 0 is 0]
03/28/24 06:33:43.001987 zmc_m30[2241324].DB1-zm_videostore.cpp/1082 [Pushing on queue 0, size is 1]
03/28/24 06:33:43.002013 zmc_m30[2241324].DB1-zm_event.cpp/436 [Have frame type Normal from score(0) state 5 frames 4266 bulk frame interval 100 and mod66]
03/28/24 06:33:43.002027 zmc_m30[2241324].DB1-zm_event.cpp/484 [No image]
03/28/24 06:33:54.019692 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/631 [timeout in ffmpeg camera now 1711604034 - 1711604023 > 10]
03/28/24 06:33:54.019765 zmc_m30[2226615].ERR-zm_ffmpeg_camera.cpp/231 [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
03/28/24 06:33:54.023535 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604034.019765, 'zmc_m30', 0, 2226615, -2, 'ERR', 'Unable to read packet from stream 0: error -1414092869 \"Immediate exit requested\".', 'zm_ffmpeg_camera.cpp', 231 )]
03/28/24 06:33:54.026862 zmc_m30[2226615].ERR-zmc.cpp/305 [Failed to capture image from monitor 30 Cucina-DX-HD (1/1)]
03/28/24 06:33:54.026990 zmc_m30[2226615].INF-zm_monitor.cpp/3064 [Cucina-DX-HD: image_count:447817 - Closing event 2275277, shutting down]
03/28/24 06:33:54.027012 zmc_m30[2226615].DB1-zm_monitor.cpp/2731 [close event thread is not joinable]
03/28/24 06:33:54.027028 zmc_m30[2226615].DB1-zm_monitor.cpp/2733 [Starting thread to close event]
03/28/24 06:33:54.027046 zmc_m30[2239513].DB1-zm_packetqueue.cpp/471 [terminated, leaving]
03/28/24 06:33:54.027121 zmc_m30[2226615].DB1-zm_monitor.cpp/2735 [Nulling event]
03/28/24 06:33:54.027266 zmc_m30[2241445].DB1-zm_videostore.cpp/653 [Queue for 0 length is 0]
03/28/24 06:33:54.027297 zmc_m30[2241445].DB1-zm_videostore.cpp/673 [Writing trailer]
03/28/24 06:33:54.027641 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604034.026862, 'zmc_m30', 0, 2226615, -2, 'ERR', 'Failed to capture image from monitor 30 Cucina-DX-HD (1/1)', 'zmc.cpp', 305 )]
03/28/24 06:33:54.031153 zmc_m30[2226615].DB1-zm_packetqueue.cpp/380 [Clearing packetqueue]
03/28/24 06:33:54.031270 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447750 with keyframe:1, video frames in queue:66 max: 1, queuesize:66]
03/28/24 06:33:54.031298 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447751 with keyframe:0, video frames in queue:65 max: 1, queuesize:65]
03/28/24 06:33:54.031319 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447752 with keyframe:0, video frames in queue:64 max: 1, queuesize:64]
03/28/24 06:33:54.031343 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447753 with keyframe:0, video frames in queue:63 max: 1, queuesize:63]
03/28/24 06:33:54.031364 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447754 with keyframe:0, video frames in queue:62 max: 1, queuesize:62]
03/28/24 06:33:54.031410 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447755 with keyframe:0, video frames in queue:61 max: 1, queuesize:61]
03/28/24 06:33:54.031428 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447756 with keyframe:0, video frames in queue:60 max: 1, queuesize:60]
03/28/24 06:33:54.031446 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447757 with keyframe:0, video frames in queue:59 max: 1, queuesize:59]
03/28/24 06:33:54.031462 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447758 with keyframe:0, video frames in queue:58 max: 1, queuesize:58]
03/28/24 06:33:54.031479 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447759 with keyframe:0, video frames in queue:57 max: 1, queuesize:57]
03/28/24 06:33:54.031496 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447760 with keyframe:0, video frames in queue:56 max: 1, queuesize:56]
03/28/24 06:33:54.031513 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447761 with keyframe:0, video frames in queue:55 max: 1, queuesize:55]
03/28/24 06:33:54.031530 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447762 with keyframe:0, video frames in queue:54 max: 1, queuesize:54]
03/28/24 06:33:54.031546 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447763 with keyframe:0, video frames in queue:53 max: 1, queuesize:53]
03/28/24 06:33:54.031562 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447764 with keyframe:0, video frames in queue:52 max: 1, queuesize:52]
03/28/24 06:33:54.031580 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447765 with keyframe:0, video frames in queue:51 max: 1, queuesize:51]
03/28/24 06:33:54.031595 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447766 with keyframe:0, video frames in queue:50 max: 1, queuesize:50]
03/28/24 06:33:54.031611 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447767 with keyframe:0, video frames in queue:49 max: 1, queuesize:49]
03/28/24 06:33:54.031625 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447768 with keyframe:0, video frames in queue:48 max: 1, queuesize:48]
03/28/24 06:33:54.031641 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447769 with keyframe:0, video frames in queue:47 max: 1, queuesize:47]
03/28/24 06:33:54.031656 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447770 with keyframe:0, video frames in queue:46 max: 1, queuesize:46]
03/28/24 06:33:54.031672 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447771 with keyframe:0, video frames in queue:45 max: 1, queuesize:45]
03/28/24 06:33:54.031687 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447772 with keyframe:0, video frames in queue:44 max: 1, queuesize:44]
03/28/24 06:33:54.031703 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447773 with keyframe:0, video frames in queue:43 max: 1, queuesize:43]
03/28/24 06:33:54.031724 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447774 with keyframe:0, video frames in queue:42 max: 1, queuesize:42]
03/28/24 06:33:54.031741 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447775 with keyframe:0, video frames in queue:41 max: 1, queuesize:41]
03/28/24 06:33:54.031757 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447776 with keyframe:0, video frames in queue:40 max: 1, queuesize:40]
03/28/24 06:33:54.031785 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447777 with keyframe:0, video frames in queue:39 max: 1, queuesize:39]
03/28/24 06:33:54.031802 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447778 with keyframe:0, video frames in queue:38 max: 1, queuesize:38]
03/28/24 06:33:54.031819 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447779 with keyframe:0, video frames in queue:37 max: 1, queuesize:37]
03/28/24 06:33:54.031834 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447780 with keyframe:0, video frames in queue:36 max: 1, queuesize:36]
03/28/24 06:33:54.031850 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447781 with keyframe:0, video frames in queue:35 max: 1, queuesize:35]
03/28/24 06:33:54.031866 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447782 with keyframe:0, video frames in queue:34 max: 1, queuesize:34]
03/28/24 06:33:54.031881 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447783 with keyframe:0, video frames in queue:33 max: 1, queuesize:33]
03/28/24 06:33:54.031896 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447784 with keyframe:0, video frames in queue:32 max: 1, queuesize:32]
03/28/24 06:33:54.031911 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447785 with keyframe:0, video frames in queue:31 max: 1, queuesize:31]
03/28/24 06:33:54.031927 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447786 with keyframe:0, video frames in queue:30 max: 1, queuesize:30]
03/28/24 06:33:54.031949 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447787 with keyframe:0, video frames in queue:29 max: 1, queuesize:29]
03/28/24 06:33:54.031967 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447788 with keyframe:0, video frames in queue:28 max: 1, queuesize:28]
03/28/24 06:33:54.031983 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447789 with keyframe:0, video frames in queue:27 max: 1, queuesize:27]
03/28/24 06:33:54.031999 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447790 with keyframe:1, video frames in queue:26 max: 1, queuesize:26]
03/28/24 06:33:54.032045 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447791 with keyframe:0, video frames in queue:25 max: 1, queuesize:25]
03/28/24 06:33:54.032061 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447792 with keyframe:0, video frames in queue:24 max: 1, queuesize:24]
03/28/24 06:33:54.032076 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447793 with keyframe:0, video frames in queue:23 max: 1, queuesize:23]
03/28/24 06:33:54.032092 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447794 with keyframe:0, video frames in queue:22 max: 1, queuesize:22]
03/28/24 06:33:54.032108 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447795 with keyframe:0, video frames in queue:21 max: 1, queuesize:21]
03/28/24 06:33:54.032124 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447796 with keyframe:0, video frames in queue:20 max: 1, queuesize:20]
03/28/24 06:33:54.032140 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447797 with keyframe:0, video frames in queue:19 max: 1, queuesize:19]
03/28/24 06:33:54.032166 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447798 with keyframe:0, video frames in queue:18 max: 1, queuesize:18]
03/28/24 06:33:54.032183 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447799 with keyframe:0, video frames in queue:17 max: 1, queuesize:17]
03/28/24 06:33:54.032199 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447800 with keyframe:0, video frames in queue:16 max: 1, queuesize:16]
03/28/24 06:33:54.032228 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447801 with keyframe:0, video frames in queue:15 max: 1, queuesize:15]
03/28/24 06:33:54.032250 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447802 with keyframe:0, video frames in queue:14 max: 1, queuesize:14]
03/28/24 06:33:54.032267 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447803 with keyframe:0, video frames in queue:13 max: 1, queuesize:13]
03/28/24 06:33:54.032283 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447804 with keyframe:0, video frames in queue:12 max: 1, queuesize:12]
03/28/24 06:33:54.032299 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447805 with keyframe:0, video frames in queue:11 max: 1, queuesize:11]
03/28/24 06:33:54.032315 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447806 with keyframe:0, video frames in queue:10 max: 1, queuesize:10]
03/28/24 06:33:54.032330 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447807 with keyframe:0, video frames in queue:9 max: 1, queuesize:9]
03/28/24 06:33:54.032346 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447808 with keyframe:0, video frames in queue:8 max: 1, queuesize:8]
03/28/24 06:33:54.032362 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447809 with keyframe:0, video frames in queue:7 max: 1, queuesize:7]
03/28/24 06:33:54.032377 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447810 with keyframe:0, video frames in queue:6 max: 1, queuesize:6]
03/28/24 06:33:54.032391 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447811 with keyframe:0, video frames in queue:5 max: 1, queuesize:5]
03/28/24 06:33:54.032405 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447812 with keyframe:0, video frames in queue:4 max: 1, queuesize:4]
03/28/24 06:33:54.032427 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447813 with keyframe:0, video frames in queue:3 max: 1, queuesize:3]
03/28/24 06:33:54.032444 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447814 with keyframe:0, video frames in queue:2 max: 1, queuesize:2]
03/28/24 06:33:54.032460 zmc_m30[2226615].DB1-zm_packetqueue.cpp/388 [Deleting a packet with stream index:0 image_index:447815 with keyframe:0, video frames in queue:1 max: 1, queuesize:1]
03/28/24 06:33:54.032475 zmc_m30[2226615].DB1-zm_packetqueue.cpp/400 [Packetqueue is clear, deleting iterators]
03/28/24 06:33:54.032488 zmc_m30[2226615].DB1-zm_packetqueue.cpp/415 [Packetqueue is clear, notifying]
03/28/24 06:33:54.032709 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/631 [timeout in ffmpeg camera now 1711604034 - 1711604023 > 10]
03/28/24 06:33:54.032859 zmc_m30[2226615].DB1-zm_monitor.cpp/1081 [Setting shared_data->valid = false]
03/28/24 06:33:54.048735 zmc_m30[2226615].DB1-zm_monitor.cpp/968 [Unable to map file /dev/shm/zm.mmap.30 (24888760 bytes) to locked memory, trying unlocked]
03/28/24 06:33:54.048811 zmc_m30[2226615].DB1-zm_monitor.cpp/971 [Mapped file /dev/shm/zm.mmap.30 (24888760 bytes) to unlocked memory]
03/28/24 06:33:54.102062 zmc_m30[2226615].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO Monitor_Status (MonitorId,Status,CaptureFPS,AnalysisFPS) VALUES (30, 'Running',0,0) ON DUPLICATE KEY UPDATE Status='Running',CaptureFPS=0,AnalysisFPS=0]
03/28/24 06:33:54.102087 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/185 [Priming capture from rtsp://x.x.x.x/live2_0.sdp]
03/28/24 06:33:54.102125 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/311 [Calling avformat_open_input for rtsp://x.x.x.x/live2_0.sdp]
03/28/24 06:33:55.406276 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/345 [Finding stream info]
03/28/24 06:34:05.022710 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/631 [timeout in ffmpeg camera now 1711604045 - 1711604034 > 10]
03/28/24 06:34:05.023009 zmc_m30[2226615].INF-zm_ffmpeg.cpp/69 [Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options]
03/28/24 06:34:05.023159 zmc_m30[2226615].DB1-zm_ffmpeg_camera.cpp/400 [Failed to find decoder (h264_mmal)]
03/28/24 06:34:05.023441 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/280 [Dumping stream index i(0) index(0)]
03/28/24 06:34:05.023461 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/290 [ Stream #0:0]
03/28/24 06:34:05.023475 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/298 [frame_size:0 stream timebase: 1/90000]
03/28/24 06:34:05.023490 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/304 [codec: h264 video]
03/28/24 06:34:05.023505 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/232 [90k stream tb numerator]
03/28/24 06:34:05.023741 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/254 [Dumping codec_context codec_type(0 video) codec_id(27 h264) width(0) height(0) timebase(0/1) format(none) gop_size 12 max_b_frames 0 me_cmp 0 me_range 0 qmin 2 qmax 31]
03/28/24 06:34:05.023788 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/280 [Dumping stream index i(1) index(0)]
03/28/24 06:34:05.023803 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/290 [ Stream #0:1]
03/28/24 06:34:05.023816 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/298 [frame_size:0 stream timebase: 1/8000]
03/28/24 06:34:05.023830 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/304 [codec: pcm_alaw audio]
03/28/24 06:34:05.023843 zmc_m30[2226615].DB1-zm_ffmpeg.cpp/337 [profile -99 channels 1 sample_rate 8000]
03/28/24 06:34:05.023867 zmc_m30[2226615].WAR-zm_ffmpeg_camera.cpp/579 [Monitor dimensions are 1920x1080 but camera is sending 0x0]
03/28/24 06:34:05.023962 zmc_m30[2226615].DB1-zm_monitor.cpp/3017 [Done restarting decoder]
03/28/24 06:34:05.023978 zmc_m30[2226615].DB1-zm_monitor.cpp/3022 [haveing analysis_it]
03/28/24 06:34:05.023991 zmc_m30[2226615].DB1-zm_monitor.cpp/3028 [Restarting analysis thread for monitor (30)]
03/28/24 06:34:05.027500 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604045.023867, 'zmc_m30', 0, 2226615, -1, 'WAR', 'Monitor dimensions are 1920x1080 but camera is sending 0x0', 'zm_ffmpeg_camera.cpp', 579 )]
03/28/24 06:34:05.028189 zmc_m30[2226615].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO Monitor_Status (MonitorId,Status) VALUES (30, 'Connected') ON DUPLICATE KEY UPDATE Status='Connected']
03/28/24 06:34:06.038484 zmc_m30[2241467].DB1-zm_monitor.cpp/1790 [Checking linked monitors]
03/28/24 06:34:06.038522 zmc_m30[2241467].DB1-zm_monitor.cpp/1817 [Linked monitor 0 31 is not connected. Connecting.]
03/28/24 06:34:06.038536 zmc_m30[2241467].DB1-zm_monitor.cpp/163 [link.mem.size=1320]
03/28/24 06:34:06.038668 zmc_m30[2241467].DB1-zm_monitor.cpp/1887 [Not Active(1) enabled 1 active 1 doing motion detection: 0]
03/28/24 06:34:06.060130 zmc_m30[2241467].INF-zm_monitor.cpp/1933 [Cucina-DX-HD: 447807 - Opened new event 2275287, section start]
03/28/24 06:34:06.060189 zmc_m30[2241467].DB1-zm_monitor.cpp/2040 [State TAPE because image_count(447807)-last_alarm_count(445875) > post_event_count(0) and timestamp.tv_sec(1711604046) - recording.tv_src(1711604046) >= min_section_length(10)]
03/28/24 06:34:06.060278 zmc_m30[2241475].DB1-zm_event.cpp/624 [Starting event thread]
03/28/24 06:34:06.060761 zmc_m30[2241475].DB1-zm_event.cpp/675 [Using storage area at /mnt/4tera2/zoneminder/30/2024-03-28/2275287]
03/28/24 06:34:06.060813 zmc_m30[2241475].DB1-zm_event.cpp/687 [Writing video file to /mnt/4tera2/zoneminder/30/2024-03-28/2275287/2275287-video.mp4]
03/28/24 06:34:06.060847 zmc_m30[2241475].DB1-zm_videostore.cpp/119 [Opening video storage stream /mnt/4tera2/zoneminder/30/2024-03-28/2275287/2275287-video.mp4 format: mp4]
03/28/24 06:34:06.060983 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/238 [Dumping codecpar codec_type(0 video) codec_id(27 h264) codec_tag(0) width(0) height(0) bit_rate(0) format(-1 none)]
03/28/24 06:34:06.061035 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/254 [Dumping codec_context codec_type(0 video) codec_id(27 h264) width(0) height(0) timebase(1/1000000) format(yuv420p) gop_size 12 max_b_frames 0 me_cmp 0 me_range 0 qmin 2 qmax 31]
03/28/24 06:34:06.061206 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/280 [Dumping stream index i(0) index(0)]
03/28/24 06:34:06.061250 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/290 [ Stream #0:0]
03/28/24 06:34:06.061265 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/298 [frame_size:0 stream timebase: 1/90000]
03/28/24 06:34:06.061280 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/304 [codec: h264 video]
03/28/24 06:34:06.061295 zmc_m30[2241475].DB1-zm_ffmpeg.cpp/232 [90k stream tb numerator]
03/28/24 06:34:06.061319 zmc_m30[2241475].DB1-zm_videostore.cpp/522 [setting movflags to frag_keyframe+empty_moov]
03/28/24 06:34:06.061360 zmc_m30[2241475].WAR-zm_ffmpeg.cpp/69 [dimensions not set]
03/28/24 06:34:06.061455 zmc_m30[2241475].WAR-zm_videostore.cpp/529 [Unable to set movflags trying with defaults.]
03/28/24 06:34:06.061501 zmc_m30[2241475].WAR-zm_ffmpeg.cpp/69 [dimensions not set]
03/28/24 06:34:06.061548 zmc_m30[2241475].ERR-zm_videostore.cpp/543 [Error occurred when writing out file header to /mnt/4tera2/zoneminder/30/2024-03-28/2275287/2275287-video.mp4: Invalid argument]
03/28/24 06:34:06.061613 zmc_m30[2241475].WAR-zm_event.cpp/701 [Failed to open videostore, turning on jpegs]
03/28/24 06:34:06.061656 zmc_m30[2241475].DB1-zm_videostore.cpp/653 [Queue for 0 length is 0]
03/28/24 06:34:06.062458 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604046.061360, 'zmc_m30', 0, 2241475, -1, 'WAR', 'dimensions not set', 'zm_ffmpeg.cpp', 69 )]
03/28/24 06:34:06.063030 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604046.061455, 'zmc_m30', 0, 2241475, -1, 'WAR', 'Unable to set movflags trying with defaults.', 'zm_videostore.cpp', 529 )]
03/28/24 06:34:06.063596 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604046.061501, 'zmc_m30', 0, 2241475, -1, 'WAR', 'dimensions not set', 'zm_ffmpeg.cpp', 69 )]
03/28/24 06:34:06.064072 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604046.061548, 'zmc_m30', 0, 2241475, -2, 'ERR', 'Error occurred when writing out file header to /mnt/4tera2/zoneminder/30/2024-03-28/2275287/2275287-video.mp4: Invalid argument', 'zm_videostore.cpp', 543 )]
03/28/24 06:34:06.064593 zmc_m30[2226618].DB1-zm_db.cpp/190 [Success running sql query INSERT INTO `Logs` ( `TimeKey`, `Component`, `ServerId`, `Pid`, `Level`, `Code`, `Message`, `File`, `Line` ) VALUES ( 1711604046.061613, 'zmc_m30', 0, 2241475, -1, 'WAR', 'Failed to open videostore, turning on jpegs', 'zm_event.cpp', 701 )]
03/28/24 06:34:06.065643 zmc_m30[2241475].DB1-zm_db.cpp/190 [Success running sql query UPDATE Events SET SaveJpegs=1 WHERE Id=2275287]
03/28/24 06:34:06.065681 zmc_m30[2241475].DB1-zm_event.cpp/734 [Adding packet 447817]
03/28/24 06:34:06.065690 zmc_m30[2241475].DB1-zm_event.cpp/436 [Have frame type Normal from score(0) state 5 frames 1 bulk frame interval 100 and mod1]
03/28/24 06:34:06.065699 zmc_m30[2241475].DB1-zm_event.cpp/484 [No image]
03/28/24 06:34:06.065705 zmc_m30[2241475].DB1-zm_event.cpp/505 [Frame delta is 1711604046.38414 - 1711604046.38414 = 0.0, score 0 zone_stats.size 0]
03/28/24 06:34:06.065714 zmc_m30[2241475].DB1-zm_event.cpp/541 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 0.000000 or BULK]
03/28/24 06:34:06.071427 zmc_m30[2241467].DB1-zm_monitor.cpp/1790 [Checking linked monitors]
03/28/24 06:34:06.071453 zmc_m30[2241467].DB1-zm_monitor.cpp/1797 [Linked monitor 31 Cucina-DX-Low is connected]
03/28/24 06:34:06.071463 zmc_m30[2241467].DB1-zm_monitor.cpp/1813 [Linked monitor 31 Cucina-DX-Low is not alarmed]
03/28/24 06:34:06.071472 zmc_m30[2241467].DB1-zm_monitor.cpp/1887 [Not Active(1) enabled 1 active 1 doing motion detection: 0]
03/28/24 06:34:06.071482 zmc_m30[2241467].DB1-zm_monitor.cpp/2040 [State TAPE because image_count(447808)-last_alarm_count(445875) > post_event_count(0) and timestamp.tv_sec(1711604046) - recording.tv_src(1711604046) >= min_section_length(10)]
03/28/24 06:34:06.071521 zmc_m30[2241475].DB1-zm_event.cpp/734 [Adding packet 447818]
03/28/24 06:34:06.071550 zmc_m30[2241475].DB1-zm_event.cpp/436 [Have frame type Normal from score(0) state 5 frames 2 bulk frame interval 100 and mod2]
03/28/24 06:34:06.071568 zmc_m30[2241475].DB1-zm_event.cpp/484 [No image]
03/28/24 06:34:06.124057 zmc_m30[2241467].DB1-zm_monitor.cpp/1790 [Checking linked monitors]
03/28/24 06:34:06.124102 zmc_m30[2241467].DB1-zm_monitor.cpp/1797 [Linked monitor 31 Cucina-DX-Low is connected]
03/28/24 06:34:06.124117 zmc_m30[2241467].DB1-zm_monitor.cpp/1813 [Linked monitor 31 Cucina-DX-Low is not alarmed]
03/28/24 06:34:06.124131 zmc_m30[2241467].DB1-zm_monitor.cpp/1887 [Not Active(1) enabled 1 active 1 doing motion detection: 0]
03/28/24 06:34:06.124146 zmc_m30[2241467].DB1-zm_monitor.cpp/2040 [State TAPE because image_count(447809)-last_alarm_count(445875) > post_event_count(0) and timestamp.tv_sec(1711604046) - recording.tv_src(1711604046) >= min_section_length(10)]
03/28/24 06:34:06.124161 zmc_m30[2241467].DB1-zm_packetqueue.cpp/246 [Tail count is 0, queue size is 3]
03/28/24 06:34:06.124181 zmc_m30[2241467].DB1-zm_packetqueue.cpp/337 [Resulting it pointing at latest packet? 1, next front points to begin? 1, Keyframe interval 2]
03/28/24 06:34:06.124211 zmc_m30[2241475].DB1-zm_event.cpp/734 [Adding packet 447819]
03/28/24 06:34:06.124234 zmc_m30[2241475].DB1-zm_event.cpp/436 [Have frame type Normal from score(0) state 5 frames 3 bulk frame interval 100 and mod3]

====================================================================================================


let me add that the empty files are related to the HiRes streams. the LowRes stream keeps kinda working because zmc instead of registering mp4 switch to saving jpegs...

I'll add the debug log of the LowRes Stream in a different message as there is a limit in the message size...
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zmc is saving empty files

Post by iconnor »

03/28/24 06:34:05.023009 zmc_m30[2226615].INF-zm_ffmpeg.cpp/69 [Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options]
launcoan
Posts: 3
Joined: Sun Nov 07, 2021 6:21 pm

Re: zmc is saving empty files

Post by launcoan »

Hi Isaac,

I tried your suggestion, but no luck.

I added the conf in the Storage Tab, in the Optional Encoder Parameters

this is what I put there:

=======================
crf=23
analyzeduration=10000000
probesize=10000000

=======================

I hope to have done that properly, in case I failed, just tell me and I'll study more...

Anyway, looking to some others logs I found that the problem is happening everyday nearly at the same time now, and it happens when the Camera ip address is renewed.

Point is that I have such renewal happening every hour, as I can see in the log file, but the issue happens only once per day....

When the problem happened this morning at 2:11 in the log file I found:

Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: DHCPOFFER on xx.xx.xx.xx to xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: Dynamic and static leases present for xx.xx.xx.xx.
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: Remove host declaration 3ipxxxxxxxcam or remove xx.xx.xx.xx
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: from the dynamic address pool for xx.xx.xx.0/24
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: DHCPREQUEST for xx.xx.xx.xx (xx.xx.xx.YY) from xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 02:10:52 xxxxxxxxxxxxxxxx dhcpd[2591871]: DHCPACK on xx.xx.xx.xx to xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Failed to capture image from monitor 31 xxxxxxx-DX-Low (1/1)]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m32[2528943]: ERR [zmc_m32] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m33[2549917]: ERR [zmc_m33] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Failed to capture image from monitor 30 xxxxxxx-DX-HD (1/1)]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m33[2549917]: ERR [zmc_m33] [Failed to capture image from monitor 33 xxxxxxx-Pan-Low (1/1)]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m32[2528943]: ERR [zmc_m32] [Failed to capture image from monitor 32 xxxxxxx-Pan-HD (1/1)]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Failed to capture image from monitor 28 xxxxxxx-SX-HD (1/1)]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:03 xxxxxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Failed to capture image from monitor 29 xxxxxxx-SX-Low (1/1)]
Apr 4 02:11:06 xxxxxxxxxxxxxxxx zmc_m33[2549917]: WAR [zmc_m33] [Hit end of packetqueue before satisfying pre_event_count. Needed 4 more video frames]
Apr 4 02:11:14 xxxxxxxxxxxxxxxx zmc_m30[2538224]: WAR [zmc_m30] [Monitor dimensions are 1920x1080 but camera is sending 0x0]
Apr 4 02:11:14 xxxxxxxxxxxxxxxx zmc_m31[2528939]: WAR [zmc_m31] [Monitor dimensions are 784x440 but camera is sending 0x0]
Apr 4 02:11:14 xxxxxxxxxxxxxxxx zmc_m29[2580518]: WAR [zmc_m29] [Hit end of packetqueue before satisfying pre_event_count. Needed 3 more video frames]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m30[2538224]: WAR [zmc_m30] [Unable to set movflags trying with defaults.]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Error occurred when writing out file header to /mnt/4tera2/zoneminder/30/2024-04-04/2294460/2294460-video.mp4: Invalid argument]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m30[2538224]: WAR [zmc_m30] [Failed to open videostore, turning on jpegs]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m31[2528939]: WAR [zmc_m31] [Hit end of packetqueue before satisfying pre_event_count. Needed 3 more video frames]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m31[2528939]: WAR [zmc_m31] [Unable to set movflags trying with defaults.]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Error occurred when writing out file header to /mnt/4tera2/zoneminder/31/2024-04-04/2294461/2294461-video.mp4: Invalid argument]
Apr 4 02:11:16 xxxxxxxxxxxxxxxx zmc_m31[2528939]: WAR [zmc_m31] [Failed to open videostore, turning on jpegs]
Apr 4 02:11:25 xxxxxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:25 xxxxxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 02:11:25 xxxxxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Failed to capture image from monitor 28 xxxxxxx-SX-HD (1/1)]
Apr 4 02:11:25 xxxxxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Failed to capture image from monitor 29 xxxxxxx-SX-Low (1/1)]



while at 3:11 I found :

Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: DHCPOFFER on xx.xx.xx.xx to xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: Dynamic and static leases present for xx.xx.xx.xx.
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: Remove host declaration 3ipxxxxxxxcam or remove xx.xx.xx.xx
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: from the dynamic address pool for xx.xx.xx.0/24
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: DHCPREQUEST for xx.xx.xx.xx (xx.xx.xx.YY) from xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 03:11:01 xxxxxxxxxxxxx dhcpd[2591871]: DHCPACK on xx.xx.xx.xx to xx:xx:xx:xx:xx:xx via enp2s0
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m32[2528943]: ERR [zmc_m32] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m33[2549917]: ERR [zmc_m33] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m33[2549917]: ERR [zmc_m33] [Failed to capture image from monitor 33 xxxxxxx-Pan-Low (1/1)]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m32[2528943]: ERR [zmc_m32] [Failed to capture image from monitor 32 xxxxxxx-Pan-HD (1/1)]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Failed to capture image from monitor 29 xxxxxxx-SX-Low (1/1)]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Failed to capture image from monitor 28 xxxxxxx-SX-HD (1/1)]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Failed to capture image from monitor 31 xxxxxxx-DX-Low (1/1)]
Apr 4 03:11:12 xxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Failed to capture image from monitor 30 xxxxxxx-DX-HD (1/1)]
Apr 4 03:11:15 xxxxxxxxxxxxx zmc_m33[2549917]: WAR [zmc_m33] [Hit end of packetqueue before satisfying pre_event_count. Needed 4 more video frames]
Apr 4 03:11:23 xxxxxxxxxxxxx zmc_m31[2528939]: WAR [zmc_m31] [Hit end of packetqueue before satisfying pre_event_count. Needed 3 more video frames]
Apr 4 03:11:23 xxxxxxxxxxxxx zmc_m29[2580518]: WAR [zmc_m29] [Hit end of packetqueue before satisfying pre_event_count. Needed 3 more video frames]
Apr 4 03:11:23 xxxxxxxxxxxxx zmc_m31[2528939]: ERR [zmc_m31] [Error writing packet: Invalid argument]
Apr 4 03:11:25 xxxxxxxxxxxxx zmc_m30[2538224]: ERR [zmc_m30] [Error writing packet: Invalid argument]
Apr 4 03:11:34 xxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Unable to read packet from stream 0: error -1414092869 "Immediate exit requested".]
Apr 4 03:11:34 xxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Unable to read packet from stream 0: error -5 "Input/output error".]
Apr 4 03:11:34 xxxxxxxxxxxxx zmc_m29[2580518]: ERR [zmc_m29] [Failed to capture image from monitor 29 xxxxxxx-SX-Low (1/1)]
Apr 4 03:11:34 xxxxxxxxxxxxx zmc_m28[2580515]: ERR [zmc_m28] [Failed to capture image from monitor 28 xxxxxxx-SX-HD (1/1)]

and the above is present every hour.

Last but not least, such last renewal made ZMC to recover and the video started to be properly recorded again. I'll try to fix the dhcp issue first as that seems to be the starting point. No dhcp issue, no streaming problem...

keep you posted.
User avatar
iconnor
Posts: 2904
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: zmc is saving empty files

Post by iconnor »

No they have to go in Source->Options
Post Reply