Questions tagged [avcam]

iOS Audio Video Foundation capture APIs for recording movies and taking still images.

AVCam sample program of Apple demonstrates how to use the AV Foundation capture APIs for recording movies and taking still images.

86 questions
2
votes
1 answer

Image 90 degrees rotated AVCam

I've looked through tons of questions here in Stackoverflow and none of them solved my problem. So, I'm using Apple's AVCam sample: http://developer.apple.com/library/ios/#samplecode/AVCam/Introduction/Intro.html So, when I take a picture and save…
2
votes
1 answer

AVCam Libriary capture image saving

hi I am using the AVCam Liberary for automatic image capturing.I dont want to save the image in photo libriary I want to save the image in document directory .it saves the image but having problem when i load this image gives access bad. - (void)…
Usman khan
  • 340
  • 3
  • 8
1
vote
0 answers

AVCam output through HDMI adapter locked to portrait only

I'm by no means an iOS developer though I did sign up for a year, and only have very basic coding abilities. I'm working with the AVCam project to output a clean 720p video feed via an HDMI adapter from iPhone 4S and iPad2 to ingest into Telestream…
1
vote
1 answer

Muting AVCapture shutter sound on iPhone

I'm using the Apple AVCam code with AVCamCaptureManger to capture a still image. I don't display any camera views to the user, the image is just automatically taken behind the scenes without the user's involvement. However, it still plays a shutter…
Snowman
  • 31,411
  • 46
  • 180
  • 303
1
vote
1 answer

Prevent MTKView camera feed rotation, but allow other on-screen VCs to rotate

Goal With an MTKView, replicate the gravity of the AVCaptureVideoPreviewLayer or Apple's Camera app. Video device orientation does not change. The camera feed's edges do not budge a pixel, never revealing the screen background. Other on-screen VCs…
Ryan
  • 1,252
  • 6
  • 15
1
vote
2 answers

iOS camera view opening up at black intermittently

I have a viewcontroller which has a button that calls a second viewcontroller, which adds a video sublayer and calls the camera. The code has been working fine until I tried adding other things like another button to the second viewcontroller, then,…
Bevan
  • 179
  • 1
  • 12
1
vote
1 answer

How to pause video recording in ios application (objective-c)

Using AVCam I'm abel to start and stop video recording. This method to start recording: -(void)captureOutput:(AVCaptureFileOutput *)captureOutput didStartRecordingToOutputFileAtURL:(NSURL *)fileURL fromConnections:(NSArray *)connections; and to…
R.AlAli
  • 85
  • 2
  • 10
1
vote
1 answer

Getting Photo Data from AVCapturePhotoCaptureDelegate

I'm currently trying to build a camera application for fun and ran into a problem. I was using an example that Apple provides you for the process of taking a photo or video. Found here:…
scouty
  • 145
  • 1
  • 10
1
vote
2 answers

How to add any custom image in Camera screen while capturing image?

I want to add custom UIImage in Camera Screen while user capture the photo. Also i want that image in foreground of that captured image on the same position the image is added. Here the demo image that explain what i want. To work around this i…
Nirav D
  • 71,513
  • 12
  • 161
  • 183
1
vote
1 answer

AVCam: Zoom further out (as it is possible for photo-mode)?

Using XCode-6.4, iOS-8.4.1: With AVCaptureSession, I would like to zoom further out (as much as the iPhone camera possibly can manage!) I already use the "setVideoZoomFactor" method set equal to 1 (= its smallest value allowed). This works quite…
iKK
  • 6,394
  • 10
  • 58
  • 131
1
vote
0 answers

Front Camera recording is MUTE

I am working with some camera recoding app. I want to record video using front and back camera both. For back camera my video is working fine but for front camera my final video is mute (without audio). CODE: - (id)initWithPreviewView:(UIView…
Rock
  • 1,408
  • 1
  • 12
  • 27
1
vote
0 answers

Record multiple videos and update progress bar using AVCaptureSession

I am creating an Instagram kind of video recording and posting app. I have a max recording duration of 15 sec and i need to show a progress bar.This link helped .Code here. CMTime maxDuration = CMTimeMakeWithSeconds(15, 50); [[self…
KiranGit
  • 61
  • 1
  • 6
1
vote
1 answer

Possible to use AV Foundation to crop a video?

I am trying to crop videos both taken in my app and uploaded from the user's photo library. I am looking to crop every video to be the size of the iPhone 5s screen (I know that sounds dumb, but that's what I need to do). Can I do this using the AV…
Joseph Gill
  • 1,067
  • 11
  • 18
1
vote
0 answers

Change videoview frame in AVCam

I used AVCam version of 3.1. I set the video gravity AVLayerVideoGravityResizeAspectFill. Then i want to change frame - (void)setSession:(AVCaptureSession *)session { ((AVPlayerLayer *)[self layer]).videoGravity =…
SukruK
  • 560
  • 2
  • 8
  • 22
1
vote
0 answers

AVCAM terminated due to memory pressure

Basically, my app starts with a View with a button that calls AVCamViewController. In the AVCamViewController I have a back button. The thing is, if I run the app and repeat 8 times the following cycle: "pressing the button to AVCamViewController…
diogo.appDev
  • 1,595
  • 5
  • 16
  • 30