Top "Avfoundation" questions

The AVFoundation framework provides both Objective-C and Swift interfaces for editing and playing audio-visual media in a Mac OSX or iOS application.

AVFoundation: Video to OpenGL texture working - How to play and sync audio?

I've managed to load a video-track of a movie frame by frame into an OpenGL texture with AVFoundation. I followed …

ios opengl-es ios4 avaudioplayer avfoundation
CVPixelBufferLockBaseAddress why? Capture still image using AVFoundation

I'm writing an iPhone app that creates still images from the camera using AVFoundation. Reading the programming guide I've found …

iphone image ios4 avfoundation capture
How to convert a kCVPixelFormatType_420YpCbCr8BiPlanarFullRange buffer to UIImage in iOS

I tried to answer this in the original thread however SO would not let me. Hopefully someone with more authority …

ios uiimage avfoundation video-capture video-processing
How to play m3u audio stream in iOS app

I'm trying to create an iOS/iPhone radio app using Xcode 4.5.2. I wanted to stream @"http://xx.xxxxxxx.com/8111/radio.…

ios xcode audio avfoundation mpmovieplayer
AVSpeechSynthesizer in background mode

I can't get the iOS 7 AVSpeechSynthesizer to work when my iOS app is in background mode. I have added the "…

ios objective-c ios7 avfoundation
Unable to trim a video using AVAssetExportSession

I want to trim a video: -(void)trimVideo:(NSURL*)outputURL { //[[NSFileManager defaultManager] removeItemAtURL:outputURL error:nil]; AVURLAsset *asset = [AVURLAsset …

iphone objective-c ios avfoundation avassetexportsession
How do I convert a CGImage to CMSampleBufferRef?

I’d like to convert a CGImage to CMSampleBufferRef and append it to a AVAssetWriterInput using the appendSampleBuffer: method. I’…

ios avfoundation core-video core-media
Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record"

It keeps on giving me the error: Error Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" I am not sure what the …

ios objective-c avfoundation record
AVAssetWriter multiple sessions and the status property

I am attempting to create multiple, serial writing sessions with AVAssetWriter. Once I've completed one successfully (after calling finishWriting) the …

iphone ios avfoundation avassetwriter
Why does CMSampleBufferGetImageBuffer return NULL

I have built some code to process video files on OSX, frame by frame. The following is an extract from …

macos avfoundation avassetreader