AVFoundation - Retiming CMSampleBufferRef Video Output
问题 First time asking a question here. I'm hoping the post is clear and sample code is formatted correctly. I'm experimenting with AVFoundation and time lapse photography. My intent is to grab every Nth frame from the video camera of an iOS device (my iPod touch, version 4) and write each of those frames out to a file to create a timelapse. I'm using AVCaptureVideoDataOutput, AVAssetWriter and AVAssetWriterInput. The problem is, if I use the CMSampleBufferRef passed to captureOutput