th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
9.08k stars 514 forks source link

[Bug]: audio cuts sporadically, every 10s #2161

Open avichou opened 5 months ago

avichou commented 5 months ago

Preflight Checklist

YouTube Music (Application) Version

3.3.12

Checklists

What operating system are you using?

macOS

Operating System Version

macOS 14.5

What CPU architecture are you using?

arm64 (including Apple Silicon)

Last Known Working YouTube Music (Application) version

none

Reproduction steps

  1. play a song with youtube music
  2. experience cuts in song, short 1/2s cuts every 10 seconds or so

Expected Behavior

the audio shouldnt cut at all, this behavior is only present with th-ch youtube-music

none of the other apps i've used present that issue. youtube music websites, pwa with chrome/safari, https://github.com/steve228uk/YouTube-Music, or any other

Actual Behavior

there's audio cuts , from 1/4s to 1/2s , every five, ten, or fifteen seconds. it's bloody annoying

Enabled plugins

none. i disabled all of them and all options as well

Additional Information

macbook air m1

i can provide with recording if necessary

https://github.com/th-ch/youtube-music/assets/86660671/b98df13b-23cc-4d56-8153-5a52ca091220

https://github.com/th-ch/youtube-music/assets/86660671/0f4acf6c-3036-4b7f-b721-32cf1b634912

JellyBrick commented 5 months ago

Duplicate of #2149

avichou commented 5 months ago

Duplicate of #2149

That's not it . The interface isn't laggy. It's just the audio that cuts intermittently Every 5 seconds there's a cut . At 0.05, then 0.10, then 0.15s

I don't think it should be closed as the same issue. Only the sound cuts like if it was trying to reach a higher bandwidth

And it's not at the start actually, it happens all the time

ComGreed commented 5 months ago

I experienced the same problem, but only in video mode. Disabling hardware acceleration fixed it for me.

avichou commented 5 months ago

I experienced the same problem, but only in video mode. Disabling hardware acceleration fixed it for me.

i have just tried and sadly it fixes nothing...

JellyBrick commented 4 months ago

Probably fixed in 3.4.0.

avichou commented 4 months ago

Probably fixed in 3.4.0.

Just tested and sadly the issue is still here and just as annoying , every 5/10s there's this annoying sound cut

Perhaps is it because I downloaded my likes playlist using YouTube music premium ? Maybe it's what slowing it ?

I tried uninstalling and reinstalling from scratch and after some time the issues comes back and never leaves

I use brew install btw

ass293 commented 2 months ago

There are the same issues, where listening to music stutters, and it pauses to buffer (not related to proxy issues, as YouTube videos on Chrome web pages do not stutter). The playback on steve228uk / YouTube-Music works fine under the same environment.

I have tried reinstalling, from different methods (GitHub, brew), and changing proxy software, but the problem of music playback pausing persists.

Are there any solutions for this issue?

Mac m1 16.4.1 YouTube Music version 3.5.2 (3.5.2)