How to avoid shutter sound struggling during capturing still image with `AVCaptureStillImageOutput`? - ios

I'm capturing image with AVCaptureStillImageOutput. All done fine. But I tried to navigate into new view controller, the shuttering sound struggles. Any workaround to avoid this?

Try to set output to AVCaptureVideoDataOutput (not AVCaptureStillImageOutput) and capture single frame from the video output.

Related

iOS placing and synchronizing frame by frame images over a video playing with AVPlayer

I'm trying to place an image over a video that is playing. There could be a face in the video and I want to plae a custom image over that face. I've tried to play the video using AVPlayer and tried to place the custom image using a scheduled NSTimer. It works good (not perfect) with the simulator. But When I tried it in couple of different devices it does not working well or same in all the devices. Seems like there should be some sort of synchronization to sync the video frame and the custom image.
Can anyone help me out of this issue with any tips or suggestion? Anything that is helpful will be appreciated. :)
Thanks in advance.

Capture Video Frames

I have written the code to capture video frames from here.
https://developer.apple.com/library/ios/qa/qa1702/_index.html.
In -(void)CaptureOutout() delegate function, I am displaying the image in UIimageView by simply adding this line of code [self.uiimage setImage:image]. All is working fine but
the problem is that I want to continuously capture the video frames, but it captures only one video frames and display's it. The other video frame is captured when I close and reopens the app. This means the CaptureOutout() function is called only once, but I want to get the continuous video frames and display them as a continuously on image view. Can anybody solve this problem?

How would I convert a ios UIView animation to a video

How would I convert a ios UIView animation to a video? Any advice is greatly appreciated. Thanks!
Why dont you use the AVMutableComposition. You can use AVAssets inside it to store the video (i.e, record). For recording the view you are using a mutable composition then wat you can do is maybe add the layer of the avplayer as the layer of the view which you are trying to make the video of. So ideally the interactions happening with the avplayerlayer is most likely to happen form the view layer itself. Hope that helps.
Try iPhone/iPad simulator on Mac and capture the screen.

How do i animate with a big sprite in ios?

I have to make an animated infographic in iOS. Its consists of about 140 images all 900x700 large. Whats the best approach to do this? I tried CALayerwith indivual images, and also a spritesheet. But it just takes way too long to load and the playback is awful. I also have the animation in a video file, but it needs to be added to a view in a set frame and not be played in full screen.
Try and play the animation video using MPMoviePlayerController. You can play it in a view with custom frame. You can refer the link for sample code too.

Record video with overlay view

Hi I am developing an Universal App. In which I am recording a video using AVCaptureMovieFileOutput. While recording the video I have displayed some random images on the overlay view. What I want to do is I want those overlay images along with the video recorded.
Can anybody help me in this.
Thanks in advance.
Here is how you get your overlay onto the screen, simply follow this tutorial:
iOS Camera Overlay Example Using AVCaptureSession
The next step would be calling the startVideoCapture method and there you have it.

Resources