How to compress videos in Apple Photos without losing the date and location
You compress a video from your Photos library, import the smaller file, and it shows up at the bottom of the library, dated today. The map in the Info window is empty. The clip from your daughter’s first birthday is now filed between yesterday’s parking ticket and a screenshot of a recipe.
This happens with a lot of video converters. The date lives where many of them don’t look. Here is where it lives, how it gets lost, and two ways to keep it: by hand, or with an app built for it.
Where Photos gets a video’s date
A photo keeps its date in EXIF, and most photo tools carry EXIF over. Video is different. An iPhone video is a QuickTime file, and the date Photos shows comes from a small block of QuickTime metadata inside it, written by the camera: the moment recording started, with the time zone. The location sits in the same block, together with the camera model and, on newer iPhones, the lens.
The file also has a plainer timestamp in its header, in UTC and without a time zone, which a converter may copy, reset or leave out. Apple doesn’t document what Photos does when the camera’s block is missing, but people who have tested it found that it falls back to that header timestamp and, failing that, to the date the file was created on your Mac. For a freshly compressed copy, that is today.
How the date goes missing
The block isn’t copied. Many converters write a fresh file with only the video and sound. The date, location and camera are simply not there anymore.
The block is copied, but spoiled. This one is sneaky. Some tools copy the camera’s metadata and then add a few entries of their own to the same block, such as the encoder’s name. When that happens, Photos can quietly stop reading the block altogether. The date and location are still inside the file, ExifTool will show them, and Photos still files the clip under today.
The date is copied, but the wrong one. Some cameras record the end of the clip in one field and the start in another; Fujifilm cameras are an example. Copy the wrong field into the place Photos reads, and the date shifts by the length of the clip. Drop the time zone, and it can shift by hours, which is enough to move a video recorded late in the evening to the next day.
Albums and Favorites were never in the file
Even a perfect copy of the file’s metadata won’t bring back everything. Albums, Favorites, the Hidden flag, and the title and caption you typed in Photos are stored in the Photos library, not in the video. Any time you export a video and import a new file, Photos sees a brand-new item. It belongs to no album, isn’t a Favorite, and has no caption. If you also corrected the date or location in Photos, that correction stays with the old item.
So keeping a video “the same” after compression means two separate jobs: carrying the metadata inside the file, and carrying what Photos knows about the item.
Doing it by hand
It can be done with free tools. Here is the outline, for one clip:
- Select the video in Photos and choose File → Export → Export Unmodified Original. A normal export can rewrite the file and its metadata.
- Compress it with a tool like HandBrake. For iPhone HDR video, choose a 10-bit H.265 encoder so the copy stays HDR. HandBrake 1.10 and later copies the capture date and location when Passthru common Metadata is on, which it is in most presets.
- Check the copy with ExifTool. If the date, location or camera is missing, copy it from the original, and make sure nothing else ended up in the block Photos reads.
- Import the copy into Photos, select it and press ⌘I. Check the date, the time and the map against the original.
- Add the copy to every album the original was in, mark it as a Favorite if it was one, and paste the title and caption.
- Delete the original. Items in Recently Deleted don’t count towards your iCloud storage, so the space comes back as soon as you delete it.
It works. It is also slow enough that people on MacRumors describe doing a whole library this way as a project for several weekends. Steps 4 and 5 are where it usually goes wrong, because nobody wants to check 200 dates by eye.
Doing it with KeepFeather
KeepFeather is a Mac app that does steps 1 to 5 for every clip you pick, and checks its own work. It reads your Photos library, shows the videos taking the most space, and for each clip you choose:
- writes the date, time zone, location, camera and lens into the copy in the exact form Photos reads, and never lets the encoder add its own entries to that block;
- uses the date and location the original has in Photos, so your corrections survive;
- adds the copy to Photos together with its albums in one step, so it lands in every album that Photos lets apps add to, or in none, never half;
- carries Favorite and Hidden, and copies the title, caption and keywords;
- reads the copy back from Photos and compares it with the original, then lists anything that didn’t match in the job’s notes;
- puts the original in an album called “To be deleted” and, by default, saves a copy of it to a folder on your Mac.
Nothing is deleted until you press Move Originals to Recently Deleted… and macOS asks you to confirm.
What it can’t carry
Some things no app can do, because Photos doesn’t allow it. Copies can’t be added to shared albums or smart albums, People have to be recognized again by Photos itself, and edits are kept in the picture but can’t be undone in the copy. Live Photos aren’t linked to their copies. When any of this applies to a clip, KeepFeather names it in that clip’s notes instead of leaving you to discover it later. The full list is on How it works.
Checking a compressed video yourself
Whatever tool you use, check a few clips before you delete anything:
- In Photos, select the copy and press ⌘I, then do the same for the original. The date, time and location should match exactly.
- Scroll to the original’s place in the library. The copy should sit right next to it, not at the end.
- Open an album the original was in. The copy should be there too.
- If the video is HDR, play both on an HDR screen. The copy shouldn’t look dimmer, flatter or brighter. (Brighter is a real failure; we explain why in Does compressing iPhone video keep Dolby Vision?)
If those four look right on a handful of clips, the rest of the batch is likely fine. KeepFeather checks the date, location, albums and HDR of every copy for you; watching a few on a good screen is still worth it.