Page 1 of 1

Gapless event speed increases after 1st event

Posted: Thu Oct 21, 2021 6:08 pm
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?

Re: Gapless event speed increases after 1st event

Posted: Fri Oct 22, 2021 7:20 am
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?

Re: Gapless event speed increases after 1st event

Posted: Fri Oct 22, 2021 1:44 pm
by Magic919
I have 1.36.9 on 20.04 and also fine.

Re: Gapless event speed increases after 1st event

Posted: Fri Oct 22, 2021 2:41 pm
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.

Re: Gapless event speed increases after 1st event

Posted: Sat Oct 23, 2021 10:21 am
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?

Re: Gapless event speed increases after 1st event

Posted: Sat Oct 23, 2021 3:35 pm
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.

Re: Gapless event speed increases after 1st event

Posted: Sat Oct 23, 2021 5:12 pm
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.

Re: Gapless event speed increases after 1st event

Posted: Mon Oct 25, 2021 3:28 pm
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.

Re: Gapless event speed increases after 1st event

Posted: Mon Oct 25, 2021 3:31 pm
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.

Re: Gapless event speed increases after 1st event

Posted: Tue Oct 26, 2021 6:55 pm
by lightguy48
So I moved my cameras to H.264 passthrough storage and the speed-up issue has gone away.