There's very little documentation about interacting with spatial video on iOS/macOS, so I wrote a little about the new APIs for reading and writing spatial video with AVFoundation:
https://www.finnvoorhees.com/words/reading-and-writing-spatial-video-with-avfoundation
