Live data from Hacker News

Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

news.ycombinator.com

41–50 of 133 posts

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#41
post #31
post #15

If the video is encoded using a codec your hardware doesn't handle, it would be left up to the CPU to decode. Av1 can slow everything down to a crawl over CPU. You'd think the browser would be smart about the stream selection though.

I run an extension that allows to automatically request h.264 streams from YouTube even when av1 is also available. Saves a lot of CPU, at the cost of some bandwidth.

What's the name of the addon?

I recall h264ify but not sure about it

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#42

If you have an adblocker it might be intentional.

That's not plausible. If someone sees, oh YouTube is making my computer hot, the last thing that's going to occur to them is, "wait let me try turning off my adblocker." When corporations try to change people's incentives, they are obvious about it, so people know what to change. In contrast, changing CPU usage on video playback for people who use adblockers and then not telling anyone is... just not a strategy that…

Sure it is. They’ve done crap like make firefox or safari run hot on other Google properties in the past.

Is it incompetence or sabotage? Who knows. The first rule of sabotage is to be indistinguishable from incompetence.

https://www.gutenberg.org/ebooks/26184

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#44
post #22

Earlier quoted context omitted.

Hanlon's Razor: https://en.m.wikipedia.org/wiki/Hanlon%27s_razor

I’m sorry but big tech doesn’t get the benefit of the doubt.

Google does - Google search and maps have gotten objectively worse over the past 2 years. At least in Canada.

I have 38 locations in my (huge) city saved in Google maps and it breaks when I ask it to find a way from point A to point B. Works fine when logged out.

Maps also put traffic signals where there are none, and while finding shortest path it stopped putting weights to traffic signals. So you could have it route you via a city's main street instead of the freeway because it's 2km shorter but it ignores the 9 traffic signals that wastes 15 mins. Apple maps works fine.

Google search on web has adopted bad UX, and clicking a map or a shopping item has a noticeable delay between. Also right click "Open in new tab" options are gone.

Are you saying all these "enshittification" changes are deliberate?

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#45
post #15

If the video is encoded using a codec your hardware doesn't handle, it would be left up to the CPU to decode. Av1 can slow everything down to a crawl over CPU. You'd think the browser would be smart about the stream selection though.

That's intentional on YouTubes end, they aim to serve more bitrate-efficient codecs wherever possible, even if it's a high burden on the client due to a lack of hardware acceleration. They'll only fall back to older codecs if the client is completely incapable of handling the modern ones. It's annoying but at their scale it no doubt saves them a shitload of bandwidth.

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#46
post #31
post #15

If the video is encoded using a codec your hardware doesn't handle, it would be left up to the CPU to decode. Av1 can slow everything down to a crawl over CPU. You'd think the browser would be smart about the stream selection though.

I run an extension that allows to automatically request h.264 streams from YouTube even when av1 is also available. Saves a lot of CPU, at the cost of some bandwidth.

It’s funny that this kind of browser extension has recurred over the years. Originally it was to replace the awful CPU hog flash player with an HTML5 h.264 player[1], then it was to sidestep YouTube’s insistence on VP* codecs, and now it’s to sidestep AV1.

[1]: https://web.archive.org/web/20110302145602/http://www.vertic...

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#50
post #40

YouTube is pretty shocking in Firefox, even worse with an ad blocker.

The experience suddenly gets mysteriously better if you switch your user agent to Chrome's, though.

Sounds like an unnecessary polyfill.
Post reply on HN