How to Zoom camera while Video recording in ios 5 - ios

I am using AV Foundation for accessing Camera Features in iOS 5.I want to implement zooming functionality while video recording.But after going a lot of search I could not find a way.I can see the native camera of the iPhone also doesn't support video zooming.
But in some applications like "ProCamera","Luma" I found zooming while video recording.So,Please give me any suggestion to get video recording zoom feature in my app.Thanks.

Related

Why does VLC force 360 videos to show only the center viewport?

I currently use the vlc for unity (libvlcsharp) for a media player project.
It performs well but when I play the 360 video it automatically shows the center viewport of the panorama video due to the metadata.
Why does the VLC do things like this? And according to the forum, I cannot disable this feature?

How to capture video from 1x & 0.5x camera at the same time in iOS?

I have created a custom camera where I am able to capture videos in high quality (4k).
I am looking to incorporate the feature like native camera has wherein there is a button to change from normal camera (1x) to wide angle camera (0.5x) while the camera is recording.
How can I add this feature in my custom camera app? or is it possible to add it?
Any help appreciated!

Agora video SDK for Unity is freezing the AR camera

I've been following Agora's tutorial for building an Augmented Reality video chat app https://www.agora.io/en/blog/video-chat-with-unity3d-the-arfoundation-version/. When I build it onto my iPhone the cube on which the video is playing on remains blank. Frustratingly, if I then remove this line of codemRtcEngine.EnableLocalVideo(false); the videos play but the AR camera freezes! Is there a way I can have both??
I'm using Unity version 2019.3.1
It seems you can not use 2 cameras at once. See SO response, here, from a Agora.IO dev (or, seems to be a dev): Can we use Agora video using Unity AR Foundation with simultaniously using back and front camera

Using AVFoundation to take photo like Camera app, not video

I'm using AVFoundation to create my own UI for a photo taking app.
I have successfully implemented AVFoundation so that I have a preview layer and device input for both front and back cameras as well as a shutter button and subsequently saving photos, however, I have noticed that using this method does not recreate the Camera app in the way it takes photos. Looking at the Camera app (I'm on iPhone 5s) the photo mode is much brighter (and of a different resolution/size) than the video mode, and it turns out that AVFoundation (or at least how I've implemented it) mimics the video mode, not the photo mode.
Is it possible to recreate the photo mode in Camera? Or are we limited to the video mode only?
Thanks as usual :)
See the AVFoundation Programming Guide for more details, but sounds like maybe you could adjust the AVCaptureSession preset?
AVCaptureSession handles the quality/resolution you want.
Preset options include:
AVCaptureSessionPresetHigh
AVCaptureSessionPresetMedium
AVCaptureSessionPresetLow
AVCaptureSessionPreset640x480
AVCaptureSessionPreset1280x720
AVCaptureSessionPresetPhoto
You may have set something other than "AVCaptureSessionPresetPhoto"
https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html

iOS AV Framework pinch to zoom

I've used the AVCam sample program with some success in a project.
I am indeed able to show the video, and capture images from that...
I would like to use the same framework, but be able to pinch to zoom while it is showing the live video from the camera. I am not sure where to even begin with that. I looked on google, but results were unsatisfactory...

Resources