I use AVCaptureSession and AVCaptureMovieFileOutput to capture video / audio from the camera and write to mov file.
I also collect time data from another source (say, accelerometer samples) that I want to sync with the AV capture timeline.
Is it possible to add a third “multimedia” track to the mov file containing my user temporary data?
Alternatively, AVMetadataItem has a time property, so can I add my data as time-based metadata to a mov file or one of its multimedia tracks? Can I add AVAssetTrack from mediaType AVMediaTypeTimedMetadata to store temporary data?
source
share