WofWca / jumpcutter

⏩ Fast-forwards long pauses between sentences — watch lectures ~1.5x faster (browser extension)
https://chrome.google.com/webstore/detail/jump-cutter/lmppdpldfpfdlipofacekcfleacbbncp
GNU Affero General Public License v3.0
325 stars 11 forks source link

Video gets randomly sped up until I change (any) setting #168

Open dimii27 opened 4 months ago

dimii27 commented 4 months ago

Every minute or so the playback goes into silence speed but without making the visualised audio red. To fix this I just press any of the keyboard shortcuts so the extension wakes up from drunkness. If I do nothing it might fix by itself after 10-20 seconds, but then I have to seek backwards into the video as I missed some information. It is possible that this happens when my RAM gets near full as I have many tabs open, but I have 16gb RAM on my laptop. Also CPU performance should't be an issue because I have an AMD R7 5000 series on my laptop

WofWca commented 4 months ago

Haha, thanks for reporting.

Could you tell me what website you're using, and which value of this setting you have selected?

image

Also, the browser is Chromium, I assume?

dimii27 commented 4 months ago

Yes, chrome on youtube. The issue occurs when using 4x speed for silence, but when I set it to 3x it still occurs but it fixes itself after a second or two image

WofWca commented 4 months ago

Hmmm this is weird... Also which "algorithm" are you using, please, and can you also check the version of the extension on chrome://extensions/ ? Is it 1.26.9?

Do you think this can be related to ads?

Also, just to double check, you're not using any other playback speed-controlling extensions, right?

dimii27 commented 4 months ago

Extension version - 1.26.9, normal algorithm (not experimental because it doesn't work on youtube) General settings: image

Conflicting extensions that I use together:

Adblock:

I will try to troubleshoot this further to find if it gets fixed when I disable these extensions [will update]

WofWca commented 4 months ago

Oh my. That's a lot of extensions. I do strive to make mine compatible with others, so yeah, please do let me know if you manage to narrow down the issue. Thanks!

dimii27 commented 4 months ago

Long story short: I couldn't find a specific extension that causes my problems. Instead I came to the conclusion that it's either using too many extensions in general, too many tabs open or both. I'm afraid to close my tabs, but incognito mode does show a signifiant increase in browser performance using this benchmark. Might update when I close all my tabs, but that seems to be it. Even at less than 90% RAM usage I believe the performance has to suffer.

WofWca commented 4 months ago

A fellow billion tabs enjoyer XD You could right-click -> bookmark all tabs, or create a new browser profile (though you'd have to reinstall all extensions) in order to not lose the tabs. Also I think Ctrl + N could work as well, though I'm not sure how exactly it works.

And hmmm, yeah, multiple tabs could be of relevance to the case.

dimii27 commented 2 months ago

image

I seem to have mostly fixed the problems by using these settings and disabling everything mentioned before except for this extension: Tweaks for YouTube 3.67.0 image

But any setting within tweaks for youtube that affects sound volume should be turned off. I'm too distracted to find another combination that works, but this is good enough for me. Also, I think that video speed controller, while it mostly works well, might get the video stuck on the sped up version of speed.

P.S. in the mean time I have matured more and I have been focusing more on actually studying and not tweaking my browser settings. it helps if I know for sure what is essential and what's not for my studying so when I notice I have like 20 tabs open, I select the two of them that actually matter and Right_Click > Close other tabs.

P.P.S. I'm looking forward to find a way to adapt the remaining time displayed with Tweaks for YouTube (using this secret spell: %current_time / %duration (%pr_remaining_time) <?pr_not_1 %playback_rate ?>) by the average speed calculated by JumpCutter image - average speed by jumpcutter image - remaining time in the video (in paranthesis) by Tweaks for YouTube

To go further down the rabbit hole, I could then find a way to substract SponsorBlock segments from this, but that means constantly calculating the total time of the segments on the right hand. this could be an unrealistic and unnecessary dream, too much for an average poor computer to handle, especially if it's on Chrome and along with 20+ other tabs. when I was writing my previous comments I had laying around around 60 tabs open (I am not exaggerating) that I was afraid to close for several weeks. The hoarding is real