Lurker News
Ever since Apple introduced their video wallpapers I wanted to be able to put custom videos there. I decided to reverse engineer and see what I can do.

I built Phosphene to sell it, but the existing competitors were polished enough that the time it would have taken to catch up wasn't going to pay off. So I'm open-sourcing it.
WallpaperExtensionKit.framework is what powers macOS wallpapers. It controls what’s shows in the Settings app. It took a lot of trial and error to replicate the behavior, but the result is that your custom wallpapers appear alongside everything else. I wanted to have an “add” button there too, but I couldn’t find a way to do so, so there’s a companion app that will put your video where it needs to be.
Unlike Apple's Aerials, the video keeps playing on the desktop (not just the lock screen). The renderer drives AVSampleBufferDisplayLayer directly with PTS-offset gapless looping, and pauses or downshifts based on thermal state, battery level, brightness, and window occlusion.
It’s free and works well.

Comments (108) 38 threads

Show all comments

Showing thread 16 of 38

solarkraft1 reply#
Very nice, thank you for this! I’ve been wishing for a way to control when the wallpaper freezes. Can your app also keep it playing on the lock screen?
boston_clone1 reply#
this is stated in the post my dude. not even at the github link, just like, a few paragraphs in.

> the video keeps playing on the desktop (not just the lock screen)

solarkraft#
My dude, that doesn’t really answer the question unless you infer more than people usually mean. This is about changing the behavior of the video stopping after considerable time, the default behavior is that it keeps playing for a good while (while on the desktop it stops close to immediately), which I assume is what they are referring to by “just the lock screen”.