Top "Avcapturesession" questions

iPhone - To perform a real-time or offline capture, you instantiate an AVCaptureSession object and add appropriate inputs (such as AVCaptureDeviceInput), and outputs (such as AVCaptureMovieFileOutput).

AVCaptureMovieFileOutput - no active/enabled connections

I am trying to record video in my iPhone app using AVFoundation. But whenever I click the Record button app …

ios objective-c video avfoundation avcapturesession
How to crop an image from AVCapture to a rect seen on the display

This is driving me crazy because I can't get it to work. I have the following scenario: I'm using an …

ios avcapturesession
AVCaptureVideoPreviewLayer (camera preview) freezes/stuck after moving to background and back

Cant figure this one out. Everything works fine when the app is active, and than sometimes when i move the …

ios camera preview avcapturesession avcapturedevice
iOS tap to focus

I used this code to achieve Tap-to-Focus in iOS custom camera App, but it isn't working. Here's the code override …

ios swift avcapturesession
Capture 60fps in iPhone app

I am working on a project where we will be using iPhones as cameras for capturing a scene. When recording …

iphone ios recording avcapturesession
iphone camera show focus rectangle

I am cloning Apple's camera app using AVCaptureSession based on Apple's AppCam app sample. The problem is I cannot see …

iphone avcapturesession autofocus
CALayer - Place sublayer below storyboard UIButtons?

I've got a view controller in my storyboard with several UIButtons. One of them activates an AVFoundation camera preview layer …

ios uibutton avfoundation calayer avcapturesession
How to calculate FOV?

Initial Context I am developping an augmented reality application location based and I need to get the field of view […

ios iphone camera avcapturesession fieldofview
AVFoundation camera tutorial

Is there a basic tutorial for the AVFoundation for use with the camera anywhere? UIImagePicker isn't the right tool for …

iphone avfoundation avcapturesession
How to add autofocus to AVCaptureSession? SWIFT

I'm using AVFoundation to recognize text and perform OCR. How do I add autofocus? I don't want to have the …

ios swift avfoundation avcapturesession autofocus