Gapless event speed increases after 1st event

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Gapless event speed increases after 1st event

Post by lightguy48 »

I've noticed an issue on 1.36.x when playing back (rate set at 1x) using Gapless playback after the 1st event selected plays the next events playback at around 4x the normal playback speed. I've tried different browsers, clearing my cache and it happens on different systems too so it's not unique to one install.

Currently I'm on 1.36.9 on Ubuntu 20.04 LTS

Any ideas?
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Gapless event speed increases after 1st event

Post by dougmccrary »

I dunno - I don't see that on either 1.36.9 or 1.37.1 on 18.04 & 20.04, respectively.
Maybe something with how you access it? You have multiple systems on 20.04?
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Gapless event speed increases after 1st event

Post by Magic919 »

I have 1.36.9 on 20.04 and also fine.
-
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Re: Gapless event speed increases after 1st event

Post by lightguy48 »

Yes, and if I go to the next event and start from there it doesn't happen,

Sometimes it will do it for the next event then the third or 4th event will return to normal speed.
dougmccrary
Posts: 1172
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

Re: Gapless event speed increases after 1st event

Post by dougmccrary »

To me, that suggests the problem may be in the recording.
Is it repeatable with the same files?
Have you tried playing the same files directly from storage?
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Re: Gapless event speed increases after 1st event

Post by lightguy48 »

Ok but if it was the recording then why if I start with the next event first does it playback fine

i.e.

Event 56 plays fine then gapless plays to 57, 58, 59, etc but 57 - 59 randomly speed up and sometimes slow back down

If I start with 57 it plays fine then 58 - 59 have the speed issues.

It would reason to me if the issue was the recording it should happen equally whether the event is played 1st or 3rd, 4th, etc. But it's always the videos following the 1st event that have the issues.

Also I've seen this issue both with a system using jpg images and another using h264 passthrough. Also I never had this issue until 1.36.x, 1.34.x was fine.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Gapless event speed increases after 1st event

Post by Magic919 »

Unless you can point to an actual problem, using debug logs or browser debug console, I don't see how the devs can progress this.
-
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Re: Gapless event speed increases after 1st event

Post by lightguy48 »

What would be the process of debugging this? I'm unsure of how/what to provide? I do see on the event log a bunch of web.js error undefined:

"2021-10-25 10:26:06",web_js,,52921,ERR,undefined,?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bte,'-
"2021-10-25 10:26:06",web_js,,52931,ERR,undefined,?view=events&page=1&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Battr%5D=StartDateTime&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bop%5D=%3E%3D&filter%5BQuery%5D%5Bterms%5D%5B0%5D%5Bval%5D=-1+hour&filter%5BQuery%5D%5Bterms%5D%5B1%5D%5Bcnj%5D=and&filter%5BQuery%5D%5Bte,'-

It does seem to occur when playing back some of these events.
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Re: Gapless event speed increases after 1st event

Post by lightguy48 »

Also, as a side note, if I use the PREV button to jump back to an Event that played at high speed when I jump back using the PREV button to watch it again then it plays back at normal speed as well.
lightguy48
Posts: 101
Joined: Sun Nov 15, 2015 7:19 pm

Re: Gapless event speed increases after 1st event

Post by lightguy48 »

So I moved my cameras to H.264 passthrough storage and the speed-up issue has gone away.
Post Reply