Decoding is not keeping up

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
glue
Posts: 2
Joined: Sat Jan 07, 2023 12:31 pm

Decoding is not keeping up

Post by glue »

Hello folks, I'm a newbee to ZM and just setting up my first network video manager with ZM v1.36.32.

My ZM is running as a VM with 16 GB RAM and 8 Cores on a Proxmox Cluster, so there should be enough power to rely on.

I added my first camera, a Reolink RLC-842A, which worked well using this howto on reddit: https://www.reddit.com/r/reolinkcam/com ... inder_nvr/

I added a sub monitor with 25 FPS and 640x360 using the RTMP stream (1):
- rtmp://IP/bcs/channel0_sub.bcs?channel=0&stream=0&user=admin&password=PASSWD
- Mocord
- TCP
- Camera Passthrough

Then i added a main monitor with 10 FPS and 4K Resolution with RTSP stream, as I could not get the RTMP stream to connect (2):
- rtsp://admin:PASSWD@10.50.10.100:554//h264Preview_01_main
- Nodect
- TCP
- Camera Passthrough
- Connected Monitor: sub from above

The monitors connect and work.

After a short period of time I get this log messsages:
1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. We are 640 seconds behind capture. zm_monitor.cpp 2624
1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. We are 640 seconds behind capture. zm_monitor.cpp 2624
1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. We are 640 seconds behind capture. zm_monitor.cpp 2624
1/7/23, 2:02:25 PM GMT+1 zmc_m2 1246 WAR Decoding is not keeping up. We are 641 seconds behind capture. zm_monitor.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:
1/7/23, 3:31:44 PM GMT+1 zmc_m2 2188 WAR Decoding is not keeping up. We are 233 seconds behind capture. zm_monitor.cpp 2624
1/7/23, 3:31:44 PM GMT+1 zmc_m2 2188 WAR Decoding is not keeping up. We are 234 seconds behind capture. zm_monitor.cpp 2624
1/7/23, 3:31:43 PM GMT+1 zmc_m2 2188 WAR Decoding is not keeping up. We are 233 seconds behind capture. zm_monitor.cpp 2624
Do you have any ideas who to solve this?
glue
Posts: 2
Joined: Sat Jan 07, 2023 12:31 pm

Re: Decoding is not keeping up

Post by glue »

Hello,

sorry for bumping this thread. I still have no clue where to look at. I'd be glad for any hint.

Thanks!
User avatar
iconnor
Posts: 3272
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Decoding is not keeping up

Post by iconnor »

You don't have enough cpu to decode the 4k stream.

reduce fps, turn off saving jpegs, etc...
Last_Mile
Posts: 8
Joined: Tue Jan 03, 2017 3:08 pm

Re: Decoding is not keeping up

Post by Last_Mile »

I had the same problem with a RLC-823A. It started throwing the same not keeping up errors after the last upgrade. I rebooted the camera and things have been stable for a week now. I'm running on Proxmox, 12 vCPU and 32 Gb mem.

My HD stream is nodect and linked: 3840x2160, 8 FPS, 4096 Kbps max and Interframe 1x
My SD stream is mocord: 640x360, 7 FPS, 256 Kbps and Interframe 1x
Post Reply