Skip to content
Skip to main content

Hardware video decode, and why it matters for wallpapers

How VideoToolbox and Apple's media engine decode video without the CPU, why that makes 4K live wallpapers cheap, and when software decode kicks in.

Decoding video means turning compressed data into displayable frames. It can happen in two places: on the general-purpose CPU, or in a fixed-function block of silicon built for exactly this job. Which one your Mac uses is the single biggest factor in what a live wallpaper costs you.

Hardware decode

Every modern Mac includes a dedicated media engine. Apple exposes it through the VideoToolbox framework. Frames are decoded in that block, handed to the GPU as texture surfaces, and composited — the CPU only supervises. This path is dramatically more power-efficient than doing the same math in general-purpose cores, which is why your Mac can play 4K video for hours on battery.

Software decode

When a codec is not supported in hardware, the decoder falls back to the CPU. Every frame becomes real arithmetic across multiple cores. CPU use climbs, fans may spin up, and battery life drops. Same video, same picture, very different cost.

What decodes in hardware on Mac

  • H.264 (AVC) — hardware decoded everywhere. The safest choice.
  • HEVC (H.265) — hardware decoded on modern Macs; smaller files at equal quality.
  • ProRes — hardware decoded on Apple silicon with a media engine. Editing-grade and very large; overkill for a wallpaper.
  • AV1 — hardware decode only on the newest Apple silicon. Falls back to software elsewhere.
  • VP9 / WebM — commonly software decoded on macOS. Avoid for wallpapers.

Why this decides the wallpaper question

A wallpaper is the one video that plays all day. On the hardware path a 4K loop typically costs a fraction of a percent of CPU — the wallpaper is not what warms your Mac. On the software path the same loop can hold a meaningful slice of several cores indefinitely. This is also why a browser-tab or Electron-based wallpaper tends to cost far more than a native one: extra layers between the file and the media engine, plus a full rendering stack kept alive to display it.

Beyond decoding: not decoding at all

The cheapest frame is the one never decoded. A well-behaved wallpaper app stops when nothing is visible — display asleep, screen locked, full-screen app in front, or running on battery. Hardware decode plus aggressive pausing is what makes a live wallpaper genuinely free in practice; the rules are listed in performance and battery.

Check it on your own Mac

  1. Open Activity MonitorCPU and watch the wallpaper app while a loop plays.
  2. Switch to Energy and read Energy Impact over a couple of minutes.
  3. Pause playback and confirm both drop to effectively zero.
  4. Compare against a browser tab playing the same clip — the difference is the point.

Keep learning

Frequently asked questions

How do I know if my video is hardware decoded?
Watch CPU usage in Activity Monitor. Hardware decode of a 4K loop stays near zero; software decode shows sustained, obvious CPU across cores.
Is HEVC better than H.264 for a wallpaper?
Usually yes — roughly half the file size at similar quality, and hardware decoded on modern Macs. Choose H.264 if you need compatibility with very old machines.
Does higher frame rate cost more?
Yes, proportionally: 60 fps is twice the decode work of 30 fps. For ambient motion, 24–30 fps looks the same and costs half.

Try MacWall.

Download for macOS

Minimum macOS 14.0 or later

Get Pro