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.
Related
I'm creating an iOS app on recording screen by using ReplayKit.
I want to make a user operation video to guide user on how to use my app to record screen.
So I need to record a video on how to record screen and this approach is a bit awkward.
I tried several ways: Screen Mirroring such as AirPlayer and QuickTime, but the recording button on control-center is disabled whilst using Screen Mirroring.
The effect I want is as follows:
https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/ios13-iphone-xs-control-center-screen-record-animation.gif
How was this video made?
I think you could recreate that video by recording your screen showing every action you want, save the video and edit it on top of an iPhone image asset.
I am trying to get image from camera and send it to the server automatically.
So I want to know how to capture image from iphone camera scene without press shoot button.
Please help.
Thanks.
How to save photos taken using AVFoundation to Photo Album?
I use this code and solve problem.
https://developer.apple.com/library/content/samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112
AV Cam-iOS also can solve my problem.
Thank you everyone.
I don't think it is possible. Capturing image using Camera interface will trigger UIImagePickerControllerDelegate methods. The delegates are only called when you pick an image through camera shutter button/image cropper.
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.
I have a UIImagePickerController that has a custom view displaying over the camera image. All works fine, but when the user records video, I want the items in my view to appear in the video. Instead, all I get is the ray video from the camera.
Is there a way to integrate my view into the recorded video?
_mike
Yes, AVFoundation allows you to do this, there's some great videos in Apple's AVFoundation tutorials, though here's a link to a great tutorial for using this framework.
http://www.raywenderlich.com/30200/avfoundation-tutorial-adding-overlays-and-animations-to-videos
Hope this help.
I am trying to develop an app that records the video using the rear camera.
I want the video to be tweaked (adding overlay image, green screen) before saving it to a file.
I am using AVFoundation, and have researched anywhere, but I still cant make the correct codes to preview and record (without the tweaking)
Some codes that Iget from the internet use BufferDelegate, the rest are using RecordingDelegate.
Do I need to use both to achieve what I want? or is it just one ofthem?
Could you please pinpoint me how I can achieve this?