Hi, I am interested in extracting/accessing timestamp of each frame captured while recording a video via iPhone (HEVC - 4k 60fps). Any links to relevant documentation will be very useful.
timestamp of each frame of a HEVC mov file
You can create an AVAsset of your video. Then read the asset with an AVAssetReader, add an AVAssetReaderTrackOutput (initialized with the video track you are interested in) to the asset reader, and then call copyNextSampleBuffer on the video track output to get access to the sample buffers in the video track. Each sample buffer has a presentationTimeStamp property.