How to create cinemagraphs in Objective-C using AVFoundation How to create cinemagraphs in Objective-C using AVFoundation objective-c objective-c

How to create cinemagraphs in Objective-C using AVFoundation


The AVFoundation framework provides tools for creating new compositions from different assets (videos, images, etc.). You can most likely use AVMutableComposition to achieve your desired effect. https://developer.apple.com/library/ios//documentation/AVFoundation/Reference/AVMutableComposition_Class/index.html

And you can read more about editing audio/video with AVFoundation from apple docs here https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/03_Editing.html