### AVCustomEditOSX ###
A simple AVFoundation based movie editing application demonstrating custom compositing to add transitions. The sample demonstrates the use of custom compositors to add transitions to an AVMutableComposition. It implements the AVVideoCompositing and AVVideoCompositionInstruction protocols to have access to individual source frames, which are then be rendered using OpenGL off screen rendering.
This sample is ARC-enabled.
The main files are as follows:
The app delegate which handles setup, playback and export of AVMutableComposition along with other user interactions like scrubbing, toggling play/pause, selecting transition type.
This class setups an AVComposition with relevant AVVideoCompositions using the provided clips and time ranges.
Custom video composition instruction class implementing AVVideoCompositionInstruction protocol.
Custom video compositor class implementing AVVideoCompositing protocol.
Base class renderer setups an CGLContextObj for rendering, it also loads, compiles and links the vertex and fragment shaders.
A subclass of APLOpenGLRenderer, renders the given source buffers to perform a diagonal wipe over the transition time range.
A subclass of APLOpenGLRenderer, renders the given source buffers to perform a cross dissolve over the transition time range.
Copyright © 2013 Apple Inc. All rights reserved.