Questions tagged [avcapture]

iOS video capture API for both Swift and Objective-C

Some common high-level objects used with this API:

  • AVCaptureDevice
  • AVCaptureSession
  • AVCaptureVideoPreviewLayer

related tags:

223 questions
0
votes
1 answer

Sending video data while recording using AVCaptureSession

Hai I am creating an iOS application for video streaming. I never tried AVCaptureSession. I want to send the video+audio data while recording, is it possible ? If so please help me to do that. Or is there any way to get video data in some time…
user1842872
0
votes
1 answer

camera view - can settings disrupt button response on a camera view on iPhone 5S?

I have a strange situation... I implemented an in-app camera based on Apple's AVCam sample. It works just fine. My question is not about the actual camera implementation, but rather... What could cause a view's buttons to work on one iPhone 5S but…
0
votes
1 answer

How to save a movie from AVCapture

I've been trying to figure out AVCapture the last couple of days and am struggling to save a video. My understanding is that you call [movieFileOutput startRecordingToOutputFileURL:outputURL recordingDelegate:self]; and then at a later time you can…
0
votes
2 answers

How to get video output from avfoundation camera

Here i am trying to record video and process output buffers , i am using avfoundation camera to record video and collecting output at sample buffer delegate method and displaying that output in image view.every thing works find but the thing how to…
kmReddy
  • 143
  • 2
  • 7
0
votes
1 answer

Take photo during video-input

I'm currently trying to take an image in the best quality during capturing video at a lower quality. The problem is, that i'm using the video stream to check if face are in front of the cam and this needs lot's of resources, so i'm using a lower…
Lukas
  • 1,346
  • 7
  • 24
  • 49
0
votes
1 answer

AVCaptureVideoPreviewLayer connection crash on iOS5 only

I'm using some code from Apple's "SquareCam" source code. It runs fine on iOS6, but on iOS5 I get a crash: AVCaptureSession *session = [AVCaptureSession new]; [session setSessionPreset:AVCaptureSessionPresetPhoto]; // Select a video device, make…
soleil
  • 12,133
  • 33
  • 112
  • 183
0
votes
0 answers

Shoot photo in high quality, while capturing video

Hello, Is it possible to take a image in high quality, while viewing video with AVCapture in low quality? The problem is that i need to analyze the video (with a special algorithm, which takes too much time on high quality images, so i use low video…
Lukas
  • 1,346
  • 7
  • 24
  • 49
0
votes
1 answer

How can you set a custom frame size for AV Foundation camera capture?

I am working from the AVCam sample application, which uses AV Foundation for camera capture. When I use the following preset: [self.captureSession setSessionPreset:AVCaptureSessionPresetMedium]; I get a 480 x 360 video frame from the camera.…
sreenivas
  • 399
  • 2
  • 5
  • 20
0
votes
1 answer

iOS: draw over video with OpenGL

I'm trying to draw some OpenGL graphics over the video from camera. I've modified Apple's GLCameraRipple sample with code that draws a couple of textured triangles. This code works well in my another OpenGL project (but without…
Seify
  • 312
  • 2
  • 10
-1
votes
1 answer

How to remove rectangle frame on a captured image in iPhone

I am new to iOS and i use avcaptuesession to capturing an image in my application.After capture an image it shows a rectangle frame on the image. This is how I get the output.i need to remove the rectangle overlay on the image.how can i resolve…
-1
votes
1 answer

How could save the CMSampleBuffer to a CFArrayRef (or other container) that from didOutputSampleBuffer

I tried to save the CMSampleBuffer from didOutputSampleBuffer, as the iOS developer docs, I copy it in CFArrayRetainCallBack like blow: static const void * ObjectRetainCallBack(CFAllocatorRef allocator, const void *value) { CMSampleBufferRef…
Clover.P
  • 26
  • 2
-1
votes
2 answers

how to correctly start a camera session using AVCapture session/AVCapture

I want to make an iOS app in objective C. Right now I'm stuck on making the preview layer to the AVCapture preview output. Could someone please tell me how to successfully start an image capture session using the AVCapture camera session in iOS…
sreejesh
  • 718
  • 5
  • 15
-1
votes
1 answer

iOS stop camera feed AVCapture

I have an app, when it detects (eg CIDetect for face) it will take a picture and upload to server for processing. However during this process I want to stop the camera video feed so it does not continue to take more pictures..I…
James Gu
  • 1,382
  • 4
  • 26
  • 39
1 2 3
14
15