Real-time Video Processing Using AVPlayerItemVideoOutput

Last Revision:
Version 1.2, 2015-10-01
Change in build configuration.
(Full Revision History)
Build Requirements:
Xcode 4.6 or later, iOS 6 or later
Runtime Requirements:
iOS 6 or later

AVBasicVideoOutput demonstrates how to perform real-time video processing using AVPlayerItemVideoOutput and how to display processed video frames on screen using CAEAGLLayer and CADisplayLink. AVPlayerItemVideoOutput provides sample buffers (CVPixelBufferRef) which are then adjusted for their luma (Y) and chroma (UV) values based on the input from a user via UISliders. These processed pixel buffers are then rendered to a CAEAGLLayer.