AVFoundation - Reverse an AVAsset and output video file AVFoundation - Reverse an AVAsset and output video file ios ios

AVFoundation - Reverse an AVAsset and output video file


Worked on this over the last few days and was able to get it working.

Source code here: http://www.andyhin.com/post/5/reverse-video-avfoundation

Uses AVAssetReader to read out the samples/frames, extracts the image/pixel buffer, and then appends it with the presentation time of the mirror frame.


matomo