Tikfollowers

Zoneminder decoding is not keeping up. So at the moment I don't have live for these two camera's.

KeyFrames + Ondemand eats even more, because (my guess) decoded keyframes aren't used for thumbnail generation and zmc does the same as with Decoding='Ondemand' for thumbnails. If it returns immediately there's a problem so check the logs, if it stays up then your video configuration is probably ok. Waiting. Run mysqltuner to make adjustments to the database settings (innodb_buffer_pool_size may need to be increased). Under prior releases my cpu loads are around 40%. I'm having an issue figuring out how to tell the filter not to purge the last weeks worth. It means the key frame from the camera is leaving the buffer before the video is analyzed, the key frame is needed for analysis. Jun 12, 2021 · All that is happening here is that the consumers of the buffer, which is the motion detection/writing out to disk part are not keeping up with capture. Camera: Reolink RLC-410-5MP Source type: Ffmmpeg Function: mocord Analysis disabled Method: TCP Feb 25, 2023 · I am trying to get zoneminder to use Intel's QSV hardware accelertated decoding to work. In my systems contention on the Events table is a problem, or we are dealing with a 4k camera where it literally takes too long to write out the alarm snapshot jpegs. Oct 26, 2022 · After updating to 1. In your CLI example I think you are only copying the video stream, which is exactly what we do for writing the stream to a file, but after that ZMA gets involved and decodes it. Oct 22, 2014 · It seems zmtrigger works fine when analysis and decoding are enabled but fails to work if they are not. I resolved this issue by decreasing the key frame interval on my cameras. In some cases I have seen the process of converting from yuv420p (what we get back from the decoder) to rgba (what we do our motion detection on) takes way longer than doing the actual decoding. The second is due to the keyframe interval being set too large in your camera or the analysis process waiting on decode or locked writing to disk. decode_video is deprecated since libavcodec54. CPU usage of the zm container over 24h averages 2%. by bbunge » Thu Jun 16, 2022 8:58 pm. I don't know why and will have to do more investigation. 13~20220401124110-focal How you installed ZoneMinder [e. 2021-03-29 03:32:36zmc_m185268WARYou have set the video packets in the queue to 1. Aug 21, 2007 · I have a couple cams here I have to gear ffmpeg up for h264 so I might be able to assist later this week. Jan 12, 2023 · 1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. Leave the camera settings in zm as default or tune based on the zm Jun 17, 2021 · Set up a monitor pointing to the camera's high-res stream and set it to Record. 720P or lower. Turning off the Spectre mitigations improved your I/O, resulting in more camera data processed per second and this elevated your CPU utilization. 20240126gitg543d3bdd9. Also, long term, we should be doing our motion detection on the yuv420 image Jun 22, 2015 · Unable to decode frame at frame 0. Or some kind of OS update leads to this. Jan 23, 2021 · I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. I still get log errors saying “unable to free up older packets. How you installed ZoneMinder: APT. We are 514 seconds behind capture. To use ZoneMinder properly you need to define at least one Monitor. May 30, 2023 · Decoding is ON, except for the 2 Chinese camera's. The quick fix is to set MaxImagebuffer = 2*keyframe interval+1 or larger. You can set it up in the "device config->Encode" section of the camera Jun 14, 2022 · Once I had a couple of cameras in and configured, I noted the logs started reporting "Decoding is not keeping up. Last edited by velthuizen on Sun Sep 18, 2016 6:21 pm, edited 1 time in total. I am not seeing recent errors or warnings except for the telemetry server. We are 641 seconds behind capture. set the sub stream to a low resolution and framerate, from the camera (i run at 352x288 with 1 fps and Iframe-interval = 3) Jan 17, 2013 · ZM just didn't keep up, and it's not wireless, I had gigie wired ethernet two my cams,. Zoneminder is running on a 4 core, 32GB Intel NUC, that's running at about 0. Also, long term, we should be doing our motion detection on the yuv420 image May 7, 2022 · Toggle navigation. Fix missing/corrupted pre-alarm frames in recording. The drop-down box was there, but it did not work. Sep 18, 2012 · which suggest the camera is spitting out m-jpeg. This list may or may not be complete. In order to get live Montage, you need save jpegs set to anything other than disabled, AND/OR Decoding enabled on the General tab. Jun 11, 2022 · Now I disabled the two added cameras, rebooted the zm, the CPU load did not fall. Jul 27, 2023 · Seems I must setup two monitors under the console. Need a new Live view method so we can pass a stream to browser without decoding first. x; ↳ ZoneMinder 1. I have disabled Analysis and Decoding in the camera settings. In Zoneminder, I have a single camera called “dome”. Unfortunately, the camera does not record at all. Might also need to use rtsp://user:pass@url. Apr 4, 2022 · Version of ZoneMinder [release version, development version, or commit] 1. We now have gpu encoding support, and that might actually be useful. This basically means that decoding is not kkeping up. Changes since 1. You can run the zmc capture daemon from the command line as 'zmc --device <device>' (or whatever your video device is). 30. For example, the latest Ubuntu Server 12. The h264 encoder is already being used to output motion vectors, why not process the video frame data into an h264 stream. 31. Hardware: Intel Core i5-6300U, 16GB ram, 256GB SSD, performance governor. " and You have set the max video packets in the queue to 20. fc39. 2. zoneminder is HW accelerated :D. If this is not possible, any way to keep the secondary listing from showing under montage, etc? I'm unable to remove monitors from being viewed and save that layout. Mar 2, 2022 · Version of ZoneMinder: 1. So i checked by simply viewing the system ressources monitor and saw that all cores are running on kinda 50-60% load. not keeping up. Feb 3, 2021 · The issue I still have and hope gets resoved with TrueNAS Scale is to use a video card for the encoding/decoding. zm_packetqueue. Yet your latest ffmpeg is compiled with avcodec_decode_video2 ( in libavcodec55). 29. I tried to double CPU cores and RAM, disabled save JPEGs storage option for sub monitor and reduced the FPS for sub (4) and main (8), but I still have the same problems: 1/7/23, 3:31:44 PM GMT+1 zmc_m2 2188 WAR Decoding Zoneminder seems capped at 11. Zoneminder is running on Lubuntu 16. 99 fps when in Record mode. EDIT: After adding 2 more cores and 4GB ram, one camera already is starting to lag behind by a few minutes just after reboot. If anyone could get me a zoneminder style ffmpeg test line that would be great. 32. I'm getting: disk_total_space returned false. repeat step 3 and watch RAM increase. I'm uncertain if that's how it's supposed to work, but that's how it is on my 1. Verify the web account user has access to /media/ZONEMINDER/events Apr 22, 2019 · Code: Select all. dougmccrary. In you first post you were using remote type RTSP, which is zm built in rtsp support, but it does not have h264 decoder, which your screen shot indicates you are using so it will fail. Jul 14, 2023 · Seems I must setup two monitors under the console. You can access the monitor window by clicking on the “Add New Monitor” button, or by clicking on the “Source” column of a predefined I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. 4. In the latest version, you don’t then need to decode the high resolution stream, although you still need to run the analysis process. Mine is now set to 1 key frame per second, the lowest setting on my Oct 13, 2017 · A few days ago I did a full clean install of Ubuntu 18. x Development Branch; ↳ ZoneMinder 1. I pulled the git master and modified zm_ffmpeg_camera. 36 For all cameras the same logs: It says "Decoding is not keeping up" Your CPU can't cope with the work you are giving it (in real Apr 30, 2022 · Playing around with decoding for some more time, this is what I've found: Thumbnails Enabled Ondemand eats more memory than KeyFrames Only. I tried to get this camera to work with an older version of Zoneminder and had a devil of a time. There is no event appearing in the webui. In 1. We are xxx seconds behind capture. It can't keep up with a 1080p stream in this vm. 5. While VAAPI seems to work (very not efficient) QSV is just not working. The Linux Spectre patches have a big impact on I/O - not just general computation. The first is obvious, your zone is too sensitive. All of that works fine with a system load of less than 2 in zoneminder console. Posts: 2404. Dec 22, 2015 · Today have all seven cameras hooked up (two D-link domes and five HIKvision DS-2CD2035-I bullets). Not useful for motion detection at this time. Like AI, expect 90% but do not ever expect 100%. I've setup encoding on my much older gpu and it works well. dome sensor. So at the moment I don't have live for these two camera's. Clear install ZoneMinder 1. 5 has helped big time and resolved the buffering and RAM usage issues for me. With three camers I really don't neeed it. 6 load, and no single process shows more than about 50% CPU in 'top'. I have not disabled that setting. I set mocord to record thinking maybe analysis of frames was driving up the cpu. I'm also running mlapi on a second Raspberry Pi to reduce the load on the ZM Pi. x86_64, I still need to restart to free up memory every few hours. Every camera is throwing "You have set the max video packets in the queue to 300. If I disable decoding, it jumps up to 12. png. 34 there was no concept of locking so frames would just be lost. Most cameras can support pushing two streams, and you'll be able to watch your cameras without adding any additional load to your Zoneminder server. You might save 1-2% of cpu. 1 works really well, I like the ability to punch in numbers for may storage and have them go up and down for the ZFS quota, so I don't need to use much or can keep Feb 5, 2021 · Re: Zoneminder 1. What should I do? I read somewhere that Zoneminder shouldn't ever try to use over 1/2 of the available system RAM but it is doing this. The queue is full. 04. I found ZM H264 Video Storage Branch on Github. Jul 5, 2020 · Setting up Zoneminder with the HDB4300C. all running 1080. Change to ffmpeg or libvlc methods and use ftp/rtsp to force tcp can help. Can Zoneminder decode this natively ? I understand Chrome might not be able to (which is why the Cambozola applet is needed to be able to show ZM frames), so I am less bothered about not being able to browse to it. 27. Jan 18, 2021 · Re: Many new errors after upgrading to 1. 36. Flydude25. While I have been able to get several versions of a zoneminder-in-docker up and running, I am unable to pull my old monitor zones from the host setup and import them into a docker setup. This will cause RAM usage to increase and not clear over time (it does decrease slightly). cpp128. You do not have the required permissions to view the files attached Dec 8, 2021 · I don't know how things are set up there but you'll probably want to set the Video Writer to Camera Passthrough to avoid decoding/encoding the video stream and use a separate low-resolution stream for any detection or analysis, triggering a higher-resolution stream to record any events. 1GHz in VirtualBox vm. 50-1. And I believe I've configured my new ZM instance to follow the recommended best practices - more details on my setup below. Tail of the server logs is below. root@ZoneMinder-Server:~# df -h. To set this up correctly, you will need cameras with dual stream capability (main/sub) add both streams to zoneminder. When the script purged when full is executed the events are gone but the disk space is still the same, seems only database entry are gone but not the images. 26, ZM appears to devour all memory and lock up the server. 33, and reflects what the note at Decoding Enabled says. but also using ppa to get the most recent version 1. cpp 2624. Your packetqueue is growing forever. 28. Jun 5, 2016 · Re: whatg does this log entry mean? by Andyrh » Tue May 25, 2021 7:48 pm. A full-featured, open source, state-of-the-art video surveillance software system. May 29, 2023 · Decoding is ON, except for the 2 Chinese camera's. This line is just me guessing at what zoneminder does. 03 version has libavcodec version 53 However, avcodec. 2) generally the amount of traffic and storage from jpeg pulls or decoding h264 streams to jpegs, was not acceptable. . if ffmpeg is compiled with HW acceleration in my distribution then. 33. Might be due to CPU usage; I've seen loads of 27 on a 6 core system so basically unusable. 1. On both OSes ZM use ffmpeg. knight-of-ni. Couldn't find anything in the wiki. Set a max image buffer. Filesystem Size Used Avail Use% Mounted on. 2): The answer from developers: Video manipulation is controlled by ffmpeg. Zones have their gotchas, and you may want to consider ZMES. 3M (2048x1536) cam 10 fps h264 - decoding and analyzing "eat" ~20-25% of 1 core of Core i7 920@3. Software and hardware motion vector processing require different buffer sizes. 13 fps. It no longer gets any ONVIF events from my "problem" cameras. ZoneMinder 1. May 5, 2020 · 2021-11-08 14:29:27zmc_m48516WARYou have set the max video packets in the queue to 5. 25 The Memory Remains Released. Jun 29, 2023 · OK, I was somewhat mistaken about not needing to save jpegs. I also have a fix in master that fixes the lockup situation by simply removing frames from the beginning of the queue but keeping the needed keyframe. When I switch decoding on for those two, CPU increases enormously, and I constantly see the zmc processes restart on ALL camera's. Full name and version of OS: Ubuntu 18. 37. We are dropping packets. Filters - Moved event email options from global config to per Filter - Added user to run filter as, so that users without access to certain monitors can't just use a filter to access them. *" and in the Option Help. apt install zoneminder. Everything more or less working, but zillions of these 'decoding frame' errors in the logs. I use the IPCams application (MacOS and iOS) to view my cameras live this way and it works great. See: Understanding Zoneminder's Zoning system for Dummies. However my 8 core system was over taxed by ZM (never mind all the RAM I had to add to keep up, but that wasn't enough). Something derived from the code inside of zoneminder would be a MUCH better test case. cpp as follows: case AV_HWDEVICE_TYPE_CUDA: return AV_PIX_FMT_CUDA; May 30, 2023 · Decoding is ON, except for the 2 Chinese camera's. From what I can glean on the forum, they are related to the keyframe (?? "i-frame", as HIK calls it). All settings are identical. Aug 27, 2019 · I am slowly transferring my home server applications from the host machine to containers using docker-compose. Essentially, a monitor is associated with a camera and can continually check it for motion detection and such like. It's not "FreeBSD slow". Mar 2, 2017 · I will document the install/compile process of FFMpeg with CUDA support and post it in this thread (Monday~ish). I've seen the Dummies guide in the wiki. Once Zonemidner is started it quickly rises to 100% CPU load. 3. There is no days, hours, weeks setting. In the link, it mentions possibly using MQTT to fire the overview camera. I thought my zones where not right, but i guess this is the problem that not all motion is recorded. So the answer is: Code: Select all. g. Monitor your home, office, or wherever you want. Sep 7, 2020 · Saves ram - ONVIF probe can now select a network to scan - Sessions now stored in database - Clicking on username in header will now list other logged in users if you have SystemView ppermission. I'm doing passthrough and not decoding for all streams btw. Aug 15, 2016 · If I leave the analysis and decoding options on then the memory utilization for a given worker exceeds 26GB and soon all of the system memory is used until the OS kills the thread. Nov 27, 2020 · Thought I'd make a sticky about what is actually going on in 1. Trigger event by waving hand in front of camera and watch RAM usage increase. by zamar17 » Sun Apr 17, 2016 4:56 am. 1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. #3 is actually just a warning I think no action is taken anymore. I'm running modect on the low res sub streams and capturing the high res streams on alarm. Also, long term, we should be doing our motion detection on the yuv420 image Dec 17, 2023 · With zoneminder-1. Now I see, that it was already mentioned in the topic "Features in 1. 2021-03-29 03:32:36zmc_m185268ERRUnable to free up older packets. A native mmal h264 decoder can be implemented which would remove reliance on specially built ffmpeg. 04 with Zoneminder 1. TrueNAS core 12. ” And “ You have set the max video packets in the queue to 150. May 29, 2023 · I'm just going to run mocord to all drives now, and purge only non-motion continuous events when the storage is 90%, always keeping the last weeks worth regardless of alarms for not. 24 - add build for ubuntu kinetic - fix Dec 6, 2022 · I'm running four cameras on a Raspberry Pi and if I set all 4 to Modect then I run into zmc not keeping up with decoding. cpp 92 2021-05-12 15:51:57 zmc_m14 320413 WAR You have set the max video packets in the queue Mar 8, 2011 · Thus i setup a camera in 'Record' mode and disabled decoding. The description says, the branch supports direct recording of h264 cameras into MP4 format uisng the h264 Passthrough option, but only with FFMPEG Monitors currently. We will update it as we go. I use zmtrigger to start events and specify a specific trigger cause. 17 Freezing on Third Camera. Jun 16, 2021 · All that is happening here is that the consumers of the buffer, which is the motion detection/writing out to disk part are not keeping up with capture. Set up a second monitor pointing to the low-res stream and set it to Monitor. I have found that zmu can trigger an event but there is not a way to specify the cause. 11. I gather from other posts that the zone Aug 5, 2022 · Once I had a couple of cameras in and configured, I noted the logs started reporting "Decoding is not keeping up. 86. This will work, but was hoping to set this up under one monitor. ↳ ZoneMinder 1. My 8 cameras pump out at 5 frames a second or less. Sign in Defining Monitors. Describe the bug. 25 from 1. Having worked through the various camera settings, I reduced them down to the Record function with no analysis or decoding enabled, no Save JPEGs and Camera Passthrough. May 14, 2021 · There are a lot of information regarding ZM and at the very start it's not so easy to find out, what is relevant to your case and to understand this information. I'm new to ZM, so try to figure out its full potential for my tasks. 35 development. Im new and this will probably not be my last question here but i am getting a delay in recording and i am unsure where in my setting to check. Jun 17, 2023 · Code: Select all. why an hour ago, before rebooting the zm, the cpu was loaded by 50%, and how it rebooted the zm to 100%. Jul 6, 2024 · The challenge of all surveillance systems lies in its motion detection analysis (thus the 'zone' in zoneminder, being the motion detection zones). zm_monitor. 33) i noticed that my CPU, which is, due to hardware conditions, able to run completely passively cooled, is running hot. May 4, 2021 · 2 decoding is not keeping up. 31 from 1. x Mar 25, 2021 · 2021-05-12 15:51:57 zmc_m13 320408 WAR You have set the max video packets in the queue to 20. There's probably an equivalent app on Windows or Linux if you use I wrote about: avcodec_decode_video2 being only in libavcodec 54 and above. gpu isn't that useful in decoding. - New Monitor Setting: Decoding Enabled/Disabled Aug 28, 2021 · By setting up the high and low resolution streams as separate cameras, you can perform the analysis on the low resolution camera and then have that trigger recording from the high resolution camera. In HA, I see the following entities: Binary sensor for Zoneminder camera. May 17, 2020 · Decoding is not keeping up. Sep 22, 2020 · I’ve got HA and Zoneminder talking to each other successfully, but I can’t see any camera images. Begin with a single monitor and single zone. 4 we will now just wait instead of dropping the packets, which might be ok but we need understand WHY the consumer is not keeping up. Not queueing this video packet. Record durations also seem to be correct. Jun 24, 2021 · Not enough CPU. Mine went 100% cpus after adding just a few cameras. I don't know why freebsd is so slow for decoding. I seem to have Zoneminder SORT OF up and running. " This was not there in the past, I believe its a result of iconnors "- Keep track of max Jan 18, 2017 · Hardware video acceleration on ZoneMinder (zoneminder as of >= 1. I have 7 cemeras all UDP rtsp streams. Sep 17, 2007 · A single monitor, no recording, set to h264 passthrough is now taking 80-90% CPU. It does not appear the server ever establishes any sort of successful boot. " I cannot find the setting for max video Apr 30, 2022 · ↳ ZoneMinder Distributions; ↳ ZoneMinder Translations; ↳ Archive [End of Life Versions] ↳ ZoneMinder 1. Using off the shelf hardware with any camera, you can design a system as large or as small as you need. Lower the camera resolution. 6 LTS. by iconnor » Sun Dec 19, 2021 5:40 pm. Expected behavior. 36 For all cameras the same logs: It says "Decoding is not keeping up" Your CPU can't cope with the work you are giving it (in real Clear install ZoneMinder 1. Similar Ubuntu vm's have no trouble. Jun 16, 2022 · I've recently updated to 1. 36 For all cameras the same logs: It says "Decoding is not keeping up" Your CPU can't cope with the work you are giving it (in real May 15, 2021 · There are a lot of information regarding ZM and at the very start it's not so easy to find out, what is relevant to your case and to understand this information. In fact, I downloaded and compiled a new version of Zoneminder from scratch, and somehow managed to get it compiled without FFMPEG. x; ↳ Mobile Apps and Event Oct 2, 2021 · I have zoneminder installed on a older Dell pe2950, 2 quad core xeon processors and 32gb of ram and 4 bonded gigabit nics. Jan 4, 2009 · Generally this either means that my code is bad, or event writing is too slow. 21. 0-U2. dome_status Both dome_events and dome_status have correct values, so I know I’m getting good data from Zoneminder, but all the I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. Jan 18, 2021 · So zmwatch kills it and restarts. ) 'zmc -m 2' exited abnormally, exit status 255 in VLC the URL works fine, on Zoneminder server that command works fine too: Jun 8, 2021 · 1. We are xxx seconds behind capture". Add camera and set to MOCORD. The log file seem to indicate that it is recording, however there are recording in the events folder. Fixes [ #3510] Stop streams when clicking cancel/Save so that we don't log errors trying to access a dead zms. zm_packetqueue. cpp 2624 I tried to double CPU cores and RAM, disabled save JPEGs storage option for sub monitor and reduced the FPS for sub (4) and main (8), but I still have the same problems: Jun 27, 2021 · Not enough CPU. Oct 8, 2022 · This runs on a i7-4790 but limited to two cores. Jun 23, 2008 · by velthuizen » Mon Sep 12, 2016 12:36 pm. When you view the Montage you'll see both streams but if you click the Function selector drop-down at the top of the page and choose Monitor you'll only see the low-res monitor. There are four possibilities: DB hanging. Either Analysis is not keeping up or your camera's keyframe interval is larger than this setting. cpp 2624 I tried to double CPU cores and RAM, disabled save JPEGs storage option for sub monitor and reduced the FPS for sub (4) and main (8), but I still have the same problems: Dec 15, 2021 · "Found locked packet when trying to free up video packets. 1. I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. I've got zoneminder working on 3 ip cams. Decoding not keeping up. However, I like running with analysis/enabled off to reduce CPU. 33 and am enjoying it so far. although CPU usage did drop by %50 and RAM usage never got over 6GB in total before. So if you want timestamping, privacy zones or whatever, then you need encoding and the gpu will help a lot. 35. Jul 18, 2023 · Start simple. else. Lower the frame rate to 10 or lower at the camera. Fixes [ #3643] Add a sleeping flag so that when we get sigterm, we can just exit instead of returning to the sleep. dome_events sensor. 34. I expect to be able to turn the server on and not have all of the memory consumed. Also, decoding is not keeping up. Jul 13, 2024 · I am trying out zoneminder 1. - ZoneMinder will now try other Storage Areas if it can't create the event in the assigned area. I dont want to use Modect on this high resolution camera, and only want to record a stream 24x7 without analysis/decoding (akin to directly storing using ffmpeg). Jan 7, 2015 · At a guess. Turns out that my build of ffmpeg did not have libx264 support compiled in, so after building x264, rebuilding ffmpeg, and then rebuilding zm, I was able to view the rtsp stream in h264. 26. Speeds up zoneminder shutdown. Jan 25, 2022 · Install zoneminder through PPA following read the docs. Start by dropping the frame rate on the cameras themselves to 5 fps. Jul 3, 2020 · It is always decoding, even in monitor mode for use in Live view. Jun 27, 2021 · Not enough CPU. Note: these are settings I made directly in the camera's UI - I did not install Escam's CMS software QD300 allows you to configure both a primary and secondary stream. I've seen numerous threads on optimizing performance and how it can really scale to handle a lot of cameras. Zoneminder saves events as usual. Apr 13, 2016 · H264 Videostorage. PPA, RPMFusion, from-source, etc] I want to record 24x7 a 1080p camera with Decoding disabled to save CPU. Either Analysis is not keeping up or your camera's keyframe interval 180 is larger than this setting. wq ol ar xk px bl sb rn pz ta