Re:Ask HN: Alternative ways to make money with coding and sy...
by alin23 on Wednesday November 16, 2022 @01:20PM
(#33627900)
Thank you!
I think that might be because Safari uses the HEVC version of the video. I'm also seeing 25% usage on an M1 Max MacBook, which is more than I expected.
Firefox and Chrome don't have noticeable CPU usage. They only support the H264 encoded video.
I might have to reencode the video and optimize for hardware decoding. Default ffmpeg options were not enough apparently.
-------
EDIT: it's actually because of the HDR section from https://lunar.fyi/#xdrSafari is the only browser that can activate the HDR subsystem on these Display P3 screens, and by doing that it taxes the GPU more when playing back video.
Re:Ask HN: Alternative ways to make money with coding and sy...
by tambourine_man on Wednesday November 16, 2022 @04:17PM
(#33630760)
Ah! Makes sense. Thanks for sharing
For whatever reason, the hero video at https://lunar.fyi/ makes Safari use 100% of all cores, Webkit.GPU goes nuts, WindowServer unresponsive… works fine on Chrome however. Monterey 12.5.1, iMac 5K, 27"