Broken timeline view

Current Development version likely to have breaking changes
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

migo wrote: Sun Apr 13, 2025 6:08 pm Yes, I've set timeline as default in options:
Yes, in that case the problem is only in FF.
Very strange and incomprehensible behavior.
I will try to fix it.
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

Ufff. :( I'm trouble seeker... :( I found another one. When I try watching live stream from monitors in FF memory gets exhausted and FF becomes unresponsive and no images are displayed. When I kill tab with ZM, memory gets freed and FF becomes usable again. This behavior is reproducible only on high bandwidth connections, like optical 1Gb/s, at home where I have only 50/5Mb/s there is video playing at lower FPS and no mem exhaustion happens. Monitors are running FullHD at 25FPS.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

migo wrote: Sun Apr 13, 2025 6:54 pm I found another one.
Viewing using RTSP2Web, Janus or ffmpeg?
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

ffmpeg and h264 pass-trough, always recording, decoding on demand. I was able to reproduce it on FF on win and Linux. Chrome and Edge displayed video stream correctly and mem usage was higher but in sane range. FF consumed all available RAM.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

migo wrote: Mon Apr 14, 2025 6:08 am ffmpeg and h264 pass-trough,
Got it, I haven't looked into it yet.
Try using RTSPToWeb type MSE or type WebRtc. They should work just fine now. In the next thread I briefly wrote about installing RTSPToWeb on ZM
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

Just looked, there are no errors in FF web console. Only stuck tab consuming 100% of one CPU/thread and increasing memory usage.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

migo wrote: Mon Apr 14, 2025 7:38 am Just looked
RTSPToWeb or ffmpeg ?
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

Please check PR https://github.com/ZoneMinder/zoneminder/pull/4310
Should fix the situation of going to the previous page in FF and should work correctly in other browsers
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

IgorA100 wrote: Mon Apr 14, 2025 7:52 am
migo wrote: Mon Apr 14, 2025 7:38 am Just looked
RTSPToWeb or ffmpeg ?
still ffmpeg, had no time to check RTSPToWeb, need to work now :((
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

IgorA100 wrote: Mon Apr 14, 2025 7:54 am Please check PR https://github.com/ZoneMinder/zoneminder/pull/4310
Should fix the situation of going to the previous page in FF and should work correctly in other browsers
Thank you very much, will check and report back.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

migo wrote: Mon Apr 14, 2025 8:31 am still ffmpeg,
Just checked.
Firefox 115.22.0esr 64bit
8Mp camera 20FPS, bitrate 15Mbs no memory or CPU issues.
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

It is strange, it only happens on high bandwidth connection, like directly connected on LAN with server, or 1Gbps optical fiber. I've checked only latest stable FF and Dev. edition FF not ESR.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

I don't know why your high-speed connection affects CPU and memory load.
It's a mystery to me...
I'm more inclined to think that this is not a ZM problem.
There is a bitrate from the camera. And this is the main indicator.
If the bitrate does not change, but only the network bandwidth changes and at the same time there are problems with CPU and memory load - my brain will soon explode :)
Are you viewing one camera or several?
What is the network load?
migo
Posts: 40
Joined: Tue Oct 11, 2016 9:19 am

Re: Broken timeline view

Post by migo »

IgorA100 wrote: Mon Apr 14, 2025 7:54 am Please check PR https://github.com/ZoneMinder/zoneminder/pull/4310
Should fix the situation of going to the previous page in FF and should work correctly in other browsers
Hello, fix is working but only for first back press. When I go to watch next monitor it returns to blank screen again on go back action. Thank you.
IgorA100
Posts: 203
Joined: Sat Feb 03, 2024 11:55 am

Re: Broken timeline view

Post by IgorA100 »

Have you cleared your browser cache?
Post Reply