avcapturesession Questions

5

Solved

I have two view controllers. One is the root VC and contains the UI interface such as the record button. On this view controller, I also display the view of another VC at index 0. This view contain...
Hutson asked 12/5, 2015 at 22:33

5

Solved

I am trying to find the accepted formats on an AVFoundation output: self.theOutput=[[AVCaptureVideoDataOutput alloc]init]; if ([self.theSession canAddOutput:self.theOutput]) [self.theSession add...

9

Solved

I used this code to achieve Tap-to-Focus in iOS custom camera App, but it isn't working. Here's the code override func touchesBegan(touches: NSSet, withEvent event: UIEvent) { let touchPer = touc...
Hymenium asked 22/1, 2015 at 10:11

2

Solved

I have a AVCaptureVideoPreviewLayerin my app that works well and is showing the same preview video as the camera app. I would like to implement the 2x zoom functionality of the camera app. How do I...
Stortz asked 16/3, 2017 at 20:9

0

Hey I wonder if someone can point me in the right direction. I am building a Mac Audio App that I need to perform the following actions Select audio input device Show a live audio graph of device ...

3

Solved

I would like to perform a few operations to a CVPixelBufferRef and come out with a cv::Mat crop to a region of interest scaled to a fixed dimension equalised the histogram convert to greyscale - ...
Diatom asked 14/10, 2013 at 10:57

2

Solved

I have a working barcode scanner code. When I click the openCamera button, first time everything is good. When I click the closeCamera button, good, but if I click again the openCamera button gives...
Graduation asked 12/2, 2016 at 11:30

2

Solved

My team is developing a set of SDKs for barcode scanning, ID scanning and OCR. We use device's camera, specifically, AVCaptureSession, to obtain video frames on which we perform our processing. We...
Alisa asked 10/8, 2015 at 8:53

20

Solved

My app is landscape only. I'm presenting the AVCaptureVideoPreviewLayer like this: self.previewLayer = [[AVCaptureVideoPreviewLayer alloc] initWithSession:session]; [self.previewLayer setBackgroun...
Acariasis asked 25/2, 2013 at 19:53

3

Solved

I have seen some examples of CMTime (Three separate links), but I still don't get it. I'm using an AVCaptureSession with AVCaptureVideoDataOutput and I want to set the max and min frame rate of the...
Besprinkle asked 15/10, 2012 at 19:11

2

Solved

I am recording a movie with AVCaptureSession and AVCaptureMovieFileOutput. I am also recording acceleration data and trying to align the acceleration data with the video. I am trying to figure ou...
Goliath asked 3/12, 2012 at 23:9

4

I read about one million threads about how to make a VideoPreviewLayer filling the complete screen of an iPhone but nothing works ... maybe you can help me because I'm really stuck. This is my Pre...
Immorality asked 26/4, 2013 at 9:59

1

I noticed that AVCaptureDeviceFormat 1080p 60 fps on iPhone 6s does not supports focus pixels, so in low light conditions the camera continues to autofocus when moved. This creates an issue with vi...

4

I have a photo app that is using AV Foundation. I have setup a preview layer using AVCaptureVideoPreviewLayer that takes up the top half of the screen. So when the user is trying to take their phot...
Armourer asked 21/2, 2014 at 2:43

5

Solved

iPhone 12/12 pro supports recording Dolby vision HDR video in 10 bit format instead of 8 bits but it is not clear from iOS 14.1 SDK if AVCaptureVideoDataOutput supports delivery of 10 bit sample bu...

2

Solved

I have created a Camera using AVFoundation which is able to record video and audio using AVCaptureVideoDataOutput and AVCaptureAudioDataOutput. I create my capture session, attach all inputs and th...
Scorch asked 2/6, 2021 at 14:45

1

Solved

Recently I got notified about a crash from firebase and this is the message: [AVCaptureSession stopRunning] stopRunning may not be called between calls to beginConfiguration and commitConfiguration...
Mareld asked 2/6, 2021 at 18:36

3

After looking at this question: AVAudioSession AVAudioSessionCategoryPlayAndRecord glitch, i tried to take a stab at trying to get video recording with background music playing working correctly. I...

5

Solved

I am having issues with my AVCaptureVideoPreviewLayer method when grabbing a cropped UIImage of the viewable screen. Currently it is working but not outputting the correct crop that I require. I a...
Neufer asked 3/5, 2015 at 13:57

4

I am attempting to find the depth data at a certain point in the captured image and return the distance in meters. I have enabled depth data and am capturing the data alongside the image. I get t...
Gula asked 10/11, 2017 at 19:15

3

After heavy usage of my app which running AVCaptureSession instance It's suffering DroppedFrameReason(P) = OutOfBuffers This is the details from SampleBuffer object in - (void)captureOutput:(...
Knapweed asked 14/12, 2016 at 14:36

1

I'm developing app which supports both still image and video capture with AVFoundation. Capturing them requires different AVCaptureSession presets. I check for canSetSessionPreset(), begin change w...
Ivanaivanah asked 30/8, 2016 at 13:55

2

I am using WebRTC and its using AVCaptureSession. It works fine a few times but sometimes its getting crashed with this Exception. Assertion failed: (_internal->figCaptureSession == NULL), funct...
Quackery asked 21/7, 2017 at 5:49

3

Solved

I have my app set up to record video from the camera using an AVCaptureSession, however, there is no audio with it. What do I need to do to record audio and then add it to the videoOutput for the f...

9

Solved

I am building a QR code scanner with Swift and everything works in that regard. The issue I have is that I am trying to make only a small area of the entire visible AVCaptureVideoPreviewLayer be ab...
Pettifogging asked 4/9, 2015 at 15:12

© 2022 - 2025 — McMap. All rights reserved.