Streaming live video as a macOS screensaver using AVFoundation and yt-dlp
I built this to play live HLS streams as a screensaver on macOS. It supports both direct .m3u8 URLs and YouTube
links (via yt-dlp extraction with caching).

The interesting bits:

  • Cross-screen synchronization: All displays show the same frame of the video by syncing to a shared timestamp,
    making it feel like one continuous stream across monitors
  • Handles the unreliable macOS screensaver lifecycle (stopAnimation doesn’t always get called when … ⌘ Read more

​ Read More

Participate

Login or Register to join in on this yarn.