# I reverse engineered Apple's video wallpapers

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 o…

- **Page:** https://magpie.gallery/i/i-reverse-engineered-apple-s-video-wallpapers-0xcp
- **Type:** Link to an idea elsewhere
- **Category:** Utilities
- **Runs on:** macos
- **Tags:** wallpaper, video, reverse-engineering, open-source

## Source

Web · kageroumado: I reverse engineered Apple's video wallpapers

- **Original:** https://news.ycombinator.com/item?id=48215979

> 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. https://github.com/kageroumado/phosphene

## GitHub projects

- https://github.com/kageroumado/phosphene

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
