
AVFoundation
AVFoundation is the full featured framework for working with time-based audiovisual media on iOS, macOS, watchOS and tvOS. Using AVFoundation, you can easily play, create, and edit QuickTime movies and MPEG-4 files, play HLS streams, and build powerful media functionality into your apps.
Programming Guides and Reference
- AVFoundation Programming Guide
- AVFoundation Framework
- Core Animation Programming Guide
- iOS Device Compatibility Reference: Cameras
Technical Notes and FAQs
- New AVFoundation APIs in OS X Yosemite for Professional Video Workflows
- Video Player unexpectedly shows Alternate Track button for Subtitles and Captions
- Transitioning QTKit code to AVFoundation
- Playing media while in the background using AVFoundation on iOS
- AVFoundation - Timecode Support with AVAssetWriter and AVAssetReader
- How do I set the volume of audio media for playback with AVPlayer on iOS?
- Setting the orientation of video captured with AVFoundation
- AVAudio Player Streaming Support
- AVAssetExportSession - Exporting a Trimmed Audio Asset
- How to capture screen activity to a movie file using AVFoundation on OS X
- Video Color Management in AVFoundation and QTKit
- Evaluating an Application’s Video Color
Sample Code
- AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media
- AVFoundationQueuePlayer-iOS: Using a Mixture of Local File Based Assets and HTTP Live Streaming Assets with AVFoundation
- AVReaderWriter: Offline Audio / Video Processing
- AVCam-iOS: Using AVFoundation to Capture Images and Movies
- Using AVAudioEngine for Playback, Mixing and Recording
- AVMetadataRecordPlay: Timed Metadata Capture Recording and Playback
-
Videos
Learn about AVFoundation with video presentations and tutorials.
- AVCapturePhotoOutput - Beyond the Basics
- AVKit on tvOS
- Advances in AVFoundation Playback
- Advances in iOS Photography
- Delivering an Exceptional Audio Experience
- Live Photo Editing and RAW Processing with Core Image
- Editing Movies in AVFoundation
- Audio Unit Extensions
- What’s New in Core Audio
- AVAudioEngine in Practice
- Mastering Modern Media Playback
- Harnessing Metadata in Audiovisual Media
- Direct Access to Video Encoding and Decoding
- Moving to AV Kit and AVFoundation
- Preparing and Presenting Media for Accessibility
- Advanced Editing with AVFoundation
- Real-Time Media Effects and Processing during Playback
-
Forums
Post questions and discuss with other developers and Apple engineers.
-
Related Resources