Frame order issues in recorded events
Posted: Mon Apr 28, 2025 6:43 am
Hello,
I'm running ZoneMinder 1.36x in a TrueNAS Jail and it's been excellent up until a couple of months ago. Now my recorded events are 'out of order' - for example time jumps back/forwards by upto 5 seconds and is now obviously unusable.
I have 3 Tapo C320WS cameras (I know they're low-end but they've been working fine up until recently). For months ZM has been capturing all 3 streams on 'Record' mode with decoding enabled and analysis off, at QHD resolution and ~15 FPS. Low CPU and RAM usage, I was very happy.
However, i'd started seeing errors like below:
"pkt.dts(50162348) must be <= pkt.pts(50155872).Decompression must happen before presentation."
"Error writing packet: Invalid argument"
and "non increasing dts, fixing. our dts 54207982 stream 0 last_dts 54210997. reorder_queue_size=0"
I've tried decreasing and increasing the reorder_queue_size value, to the point that I used all 32GB of RAM on my server and locked the system up, and nothing had any impact on the recorded footage.
Does anyone have any recommendations on how to fix this?
I'm running ZoneMinder 1.36x in a TrueNAS Jail and it's been excellent up until a couple of months ago. Now my recorded events are 'out of order' - for example time jumps back/forwards by upto 5 seconds and is now obviously unusable.
I have 3 Tapo C320WS cameras (I know they're low-end but they've been working fine up until recently). For months ZM has been capturing all 3 streams on 'Record' mode with decoding enabled and analysis off, at QHD resolution and ~15 FPS. Low CPU and RAM usage, I was very happy.
However, i'd started seeing errors like below:
"pkt.dts(50162348) must be <= pkt.pts(50155872).Decompression must happen before presentation."
"Error writing packet: Invalid argument"
and "non increasing dts, fixing. our dts 54207982 stream 0 last_dts 54210997. reorder_queue_size=0"
I've tried decreasing and increasing the reorder_queue_size value, to the point that I used all 32GB of RAM on my server and locked the system up, and nothing had any impact on the recorded footage.
Does anyone have any recommendations on how to fix this?