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.

Play audio through upper (phone call) speaker

I'm trying to get audio in my app to play through the upper speaker on the iPhone, the one you …

ios objective-c avfoundation media-player audiotoolbox
Get Camera Preview to AVCaptureVideoPreviewLayer

I was trying to get the camera input to show on a preview layer view. self.cameraPreviewView is tied to …

ios avfoundation avcapturesession avcapturedevice
How to apply "filters" to AVCaptureVideoPreviewLayer

My app is currently using AVFoundation to take the raw camera data from the rear camera of an iPhone and …

iphone avfoundation avcapturesession
Audio playback progress as UISlider in Swift

I've seen some posts about accomplishing this in Objective-C but I've been unable to do the same via Swift. Specifically, …

ios swift avfoundation avplayer
How to get Bytes from CMSampleBufferRef , To Send Over Network

Am Captuing video using AVFoundation frame work .With the help of Apple Documentation http://developer.apple.com/library/ios/#documentation/…

ios video-capture avfoundation video-processing core-video
UIImage created from CMSampleBufferRef not displayed in UIImageView?

I'm trying to display a UIImage in real-time coming from the camera, and it seems that my UIImageView is not …

iphone uiimageview uiimage ios4 avfoundation
objectiveC/CMTime - convert AVPlayer.duration to milliseconds

I'm creating an app for playing a ringtone and I'd want to know the current time in milliseconds of the …

iphone avfoundation avplayer cmtime
AVFoundation (AVPlayer) supported formats? No .vob or .mpg containers?

Using AVPlayer in a Mac app here to play random videos in fullscreen from a folder, but when I try …

macos video avfoundation avplayer
Handle streaming events with AVPlayer

I'm building an app which plays an audio stream (from a webradio). I'm using AVPlayer for it. I'd like to …

ios xcode stream avfoundation avplayer
How do I use AVFoundation to crop a video

I'm trying to use AVFoundation to crop videos I'm recording. So lets say i create a AVCaptureVideoPreviewLayer and set the …

ios avfoundation