Extracting spatial videos and panoramas from local photo libraries (for Vision Pro)
ArticlesI have about 300 panoramas scattered amongst hundreds of folders in around 60 terabytes of images, which are stored in shared folders on my local network. With Apple Vision Pro’s pleasing presentation of panoramas and spatial videos, I needed a way to identify and extract both formats from local file storage. I’m not a habitual iCloud Photos user, but I decided that I would use the service (via the Photos app on a computer) to organize and synchronize spatial videos and panos to AVP.
These scripts will recursively walk through an input folder and copy panoramas and spatial videos to an output folder, mirroring the original folder structure. There is also a version that grabs 360 photos (looking forward to the future? 🙂
I had hoped that after copying, I could just drag the top level output folder into the Photos app, but when I do that it makes both folders and albums, which requires a lot of organizational clean up for my obsessive needs. Still, at least it offers an easy way to get them into the app.
Disclaimer: I stopped working on these scripts the moment they worked. They are super rough. Maybe someone will decide to consolidate and clean them up.