Page 1 of 1
Slow preview speed of events
Posted: Fri Dec 08, 2023 2:06 pm
by ctrlsync
I have searched all over and can not seem to find an answer.
When I go to view a recorded event it plays fine. When I use the scroll bar at the bottom to jump to a specific section of that same event it slows the playback speed down to a second every 3 seconds making it very hard to watch a specific section of a clip. If I renew the page it will start playing correct speed from the beginning of the clip again.
System is Arch Linux ruining ZM 1.36.33
I never noticed this before I am not sure if its a new issue or I just overlooked it? Any help is appreciated. Logs does not show any errors.
Thanks.
Re: Slow preview speed of events
Posted: Sat Dec 09, 2023 11:21 am
by dougmccrary
Maybe you are inadvertently hitting the speed control just left of the volume control?
I'm seeing the speed change on my setups.
Re: Slow preview speed of events
Posted: Sat Dec 09, 2023 1:36 pm
by ctrlsync
I do not have a volume control?
When I open an event to view it plays normal and the seconds in the corner move at real time. When I seek through the video using the gray bar that shows the different motion sections in the video the seconds slow down to a crawl and the video is very slow. One click in the seek bar does this. The speed button on my interface is a pull down menu not a button, unless I am missing something?
Re: Slow preview speed of events
Posted: Sun Dec 10, 2023 9:33 am
by dougmccrary
Here's a screenshot -
- Screenshot from 2023-12-10 01-41-22.png (407.72 KiB) Viewed 23069 times
If you hover on the 1x you get a pop-up speed control. At least I do.
Re: Slow preview speed of events
Posted: Mon Dec 11, 2023 2:20 pm
by ctrlsync
Nothing happens when I hover over the 1x on mine. My screen looks the same as yours maybe its the browser?
Either way when you click the seek bar to lets say the middle of the clip does your play speed slow down or run regular?
Re: Slow preview speed of events
Posted: Wed Dec 13, 2023 1:05 am
by dougmccrary
Nothing like that. Everything works as one might expect.
Sometimes old cookies cause problems. Try clearing the browser cache for zm.
Re: Slow preview speed of events
Posted: Tue Jun 11, 2024 6:21 pm
by Belfeldt
It's not usually my style to revive old threads. But since I have exactly the same problem as the topic starter, I'm simply pushing the thread with the question of whether anyone has found a solution or at least an approach to a solution in the meantime.
zoneminder: v1.36.33
OS: debian 12 bookworm
Software and OS freshly installed three days ago. Load average is between 12 - 20 with 32 cores. RAM 47GB of 64GB occupied.
As already described, the problem occurs when you click on the timeline below the video. The stream first slows down considerably and then speeds up again after about 5 minutes (real time). If you click on a previous time period after the stream has accelerated back to normal, it even speeds up excessively.
There are 12 different cameras connected to the system. The problem occurs on all cameras and all browsers tested (Firefox, Edge on Windows 11, Firefox, Chromium on Linux Mint 21.3).
I am grateful for any ideas.
Re: Slow preview speed of events
Posted: Wed Jun 12, 2024 3:20 pm
by Belfeldt
To make a long story short: The problem disappears if you leave the encoding to the cameras and set the "Video Writer" parameter to "Camera Passthrough". Previously, in my configuration, this parameter was set to "Encode" for all cameras and the associated sub-items were set to "Auto", partly for the sake of simplicity and partly out of laziness.
Presumably this and similar problems can be solved by familiarizing yourself with FFMPEG, its options and codecs in general. But this takes a lot of time.
I suspect that knowledge of I-frames aka key frames in particular will be the key to solving the problem.
Re: Slow preview speed of events
Posted: Thu Jun 13, 2024 12:36 am
by dougmccrary
I suspect that knowledge of I-frames aka key frames in particular will be the key to solving the problem.
Ha - wait til you see 1.38!
Re: Slow preview speed of events
Posted: Fri Sep 20, 2024 10:06 pm
by ctrlsync
Belfeldt wrote: ↑Wed Jun 12, 2024 3:20 pm
To make a long story short: The problem disappears if you leave the encoding to the cameras and set the "Video Writer" parameter to "Camera Passthrough". Previously, in my configuration, this parameter was set to "Encode" for all cameras and the associated sub-items were set to "Auto", partly for the sake of simplicity and partly out of laziness.
Presumably this and similar problems can be solved by familiarizing yourself with FFMPEG, its options and codecs in general. But this takes a lot of time.
I suspect that knowledge of I-frames aka key frames in particular will be the key to solving the problem.
I just noticed this got an answer, and I still do not have mine fixed.
Where is that setting for me to try?