iOS App: AVFoundation Video camera recording delegates - ios

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?

Related

Picture in Picture camera swift

I'm trying to get the Picture in Picture working for my camera view on my iPad.
I see on the documentation that we can do it more easily on iOS 16 for video calls.
The result I'm trying to get is to be able to see the camera of the user in PiP while being in the background.
One way of doing that is to fake a video call (like Zoom, Messenger, etc) but that seems overkill. I am able to view my video using UIImagePickerController but I'm wondering if there is an easy way to integrate it in PiP?

How To Make A images/video Transition Animation Like in the kizoa App

I am working on an application using Swift.
I really worked hard to do this and I have done a major part of it.
Actually the application takes some photos and a music file and then merges them into a video that can be played at a computer or web-like photo slideshow like this Sample video
i am creating video from images using This Answer.
Everything is working fine but i needed some special animation like Halo, Like app and also Kizoa App.
I need to use convert images into video with animation. and convert into mp4 file.
P.S. : Let me know if any paid library of that
Please help

Unity ReplayKit how to bypass native preview?

Using the Unity ReplayKit API from https://docs.unity3d.com/550/Documentation/ScriptReference/Apple.ReplayKit.ReplayKit.html
I can record, preview and share screen recordings just fine, however due to design & UX requirements I need to have custom buttons to invoke sharing/saving of the recorded clip. I need to show the recorded clip right after the capture (for example like videotexture on a plane) in the background with custom share button overlays.
Is there a way to access the clip captured by ReplayKit and bypass iOS native preview screen?
With iOS 11, you can have direct access to the video. See https://developer.apple.com/videos/play/wwdc2017/606/
You can save it using AVAssetWriter, then do whatever you want with it after that.
This project doesn't completely work, but will head you in the right direction: https://medium.com/#giridharvc7/replaykit-screen-recording-8ee9a61dd762

Trying to create an Xcode Objective-C function that records a video capture of my UIView contents and saves to phone

I'm trying to create an Xcode Objective-C function that can be called from a button tap, that will record the contents of a UIView and its subviews (or a fixed section of the screen e.g. 320x320 in the center) and then allow the user to save the video to their iPhone camera roll. I also want to include the audio that is being played by the app at the time of the recording e.g background music and sound effects.
I'm having trouble finding any info on this as their seems to be a lot of people trying to record their running app for external purposes like the app store video preview. I need my video captured within the app, to be used as an app feature.
Does anyone know if this can be done or know a website or tutorial where I can learn what's needed? Thanks
I know this post is two years old, but for anybody who comes along who might need to record their iOS app's screens and save them to the phone's camera roll or even a specific URL, take a look at https://github.com/alskipp/ASScreenRecorder
I've tried it and it works! The frames per second aren't 60 so I don't know how well it would work if you were trying to record an action game, but it's still pretty awesome.
You can't do that with just one function, check that project:
https://github.com/coolstar/RecordMyScreen

IOS - saving pictures to be replayed into one video

If anyone has used the app Flipagram, they take pictures that the user submits and then the pictures are replayed all in one video. I need help with how I go about doing that. I'm not to good with integrating camera use and If anyone knew how to help, i would appreciate it.
As suggested in comment you can convert image-list to videos.
Another solution can be :
If you can access those images, then you can use UIImageView and animate the series of images using animationImages method.
Along with this, you can also play audio using AVAudioPlayer if you need to play a sound.

Resources