Version 2.1, 2014-10-09
Support iPhone 6 and 6 plus natively by using a launch storyboard. Added CoreImage based render. Use -[AVCaptureVideo/AudioDataOutput recommendedVideo/AudioSettingsForAssetWriterWithOutputFileType:] APIs to determine compression settings for the recorded movie. Adopted modern Objective-C syntax.
(Full Revision History)
Xcode 5.1.1 or later; iOS 7.0 or later.
iOS 7.1 or later.
This sample demonstrates how to use AVCaptureVideoDataOutput to bring frames from the camera into various processing pipelines, including CPU-based, OpenGL (i.e. on the GPU), CoreImage, and OpenCV. It also demonstrates best practices for writing the processed output of these pipelines to a movie file using AVAssetWriter.
The project includes a different target for each of the different processing pipelines.