Two things get conflated constantly. The container is the file wrapper — `.mp4`, `.mov`, `.mkv`, `.webm`. The codec is how the picture inside is compressed — H.264, HEVC, ProRes, AV1, VP9. The extension tells you the container; it does not tell you the codec, and the codec is what determines whether your Mac decodes efficiently.
Containers you will meet
- MP4 — the universal choice. Broad support, small overhead, works everywhere.
- MOV — Apple's container. Functionally similar to MP4 and the default from Final Cut and QuickTime.
- M4V — an MP4 variant from the Apple ecosystem.
- MKV — flexible and popular for archiving, but the least predictable for native macOS playback.
- WebM — a web container, usually carrying VP9 or AV1. Poor fit for macOS wallpapers.
Codecs, ranked for this job
- HEVC (H.265) — best size-to-quality ratio, hardware decoded on modern Macs. First choice.
- H.264 (AVC) — slightly larger at equal quality, hardware decoded on everything. Safest choice.
- ProRes — beautiful and enormous. Fine as a master, wasteful as a wallpaper.
- AV1 — excellent compression, but hardware decode only on the newest Apple silicon.
- VP9 — typically software decoded on macOS. Avoid.
Export recipe for a wallpaper
- Container: MP4.
- Codec: HEVC, or H.264 if you want maximum compatibility.
- Resolution: match your display — 3840×2160 for a 4K panel. Never encode above it.
- Frame rate: 24–30 fps. Ambient motion gains nothing from 60.
- Bitrate: 8–15 Mbps at 4K is plenty for the slow footage that makes good wallpaper.
- Colour: Rec. 709, SDR. HDR wallpapers can look washed out or oddly bright next to standard UI.
- Audio: remove the track entirely.
- Duration: 5–30 seconds, looping cleanly.
Making the loop seamless
- Pick footage with no strong directional change — drifting fog, rain, gentle particle motion, slow pans.
- Trim so the first and last frames are visually close.
- Crossfade the final half-second into the opening half-second, or mirror the clip for a ping-pong loop.
- Preview it looping for a full minute before you commit. Loop points you barely notice once become obvious after ten repeats.
Ready to use your own file? Import your own videos walks through the drag-and-drop flow.
Keep learning
- What is a live wallpaper?A live wallpaper is a short video loop rendered at the desktop wallpaper layer instead of a still image.
- How macOS wallpapers workmacOS composites the wallpaper as its own layer below icons and windows, and only recent versions let third-party apps supply Lock Screen video.
- Hardware video decodeApple's media engine decodes H.264 and HEVC in dedicated silicon, so a 4K wallpaper loop costs almost no CPU.
- Resolution and displaysMatch wallpaper resolution to the panel's native pixels, and prefer one mirrored loop over separate loops on every display.
- Battery and energy basicsA wallpaper's battery cost is decode work times time on screen — pausing when nothing is visible removes almost all of it.