Open viktorkrasovsky opened 5 years ago
I noticed when I switch to camera2 API then there's no crop, but I can't shoot RAW and do not have manual controls (probably because it works in legacy mode).
The aspect ratio of the main camera is 4:3, but the liveview/viewfinder crops the picture to something wider like 3:2 or 16:9 (hard to tell). The worst thing that the liveview images is being cropped asymmetrically (it takes the upper part), so when I try to frame my subject it gets to the upper part of the actual picture and also gets distorted by lense's wide angle.
pls attach an screenshot. i have not much control over the preview on cam1. normaly freedcam choose the preview aspect ratio depending on the video/picture aspect ratio. so with 16:9 format preview show it as 16:9.
I noticed when I switch to camera2 API then there's no crop, but I can't shoot RAW and do not have manual controls (probably because it works in legacy mode).
yes its the cause, as xiaomi by default dont enable camera2. dont know if the enabling it via build.prop works on that device.
See the screenshots. I notice that the cropping and aspect ratio is different between video and picture mode. The phone did not move while I was switching the modes. As you see in video mode the picture gets cropped correctly.
looks for me as a different preview size get used. for video the same size as the video have get used. for picture its a bit different. there the size that match the picture aspect ratio get used <= 2560x1440. on camera1 im not able to control if the preview gets cropped or a scaled down version from the full sensor is used. thats up to the oem. thats different on camera2.
pls attach the camera parameters, open freedcam > settings > on left side scroll to bottom> click on save cameraparameters> you can find the file in internalSD/DCIM/FreeDcam/devicename_cameraparameters.txt
Hi, here's the camera parameters file. I have also attached the the screenshot from Open Camera. It shows the correct aspect ratio of the preview (I guess it uses the camera1 API). Redmi Note 6 Pro_CameraParameters.txt
from the paramters itself it looks good. not sure whats going on
I've faced the same issue with Version 4.2 and try the older 4.1 because i naively expect, that with the bigger size of the apk-package (https://apkpure.com/freedcam/troop.com.freedcam) of that version, more functionality comes. And surprisesingly it works :-). May be the older version better fits to my old device, but thats also just a hypothesis.
Phone Model: Xiaomi Redmi Note 6 Pro
FreeDcam Version: 4.2
Problem Description: The aspect ratio of the main camera is 4:3, but the liveview/viewfinder crops the picture to something wider like 3:2 or 16:9 (hard to tell). The worst thing that the liveview images is being cropped asymmetrically (it takes the upper part), so when I try to frame my subject it gets to the upper part of the actual picture and also gets distorted by lense's wide angle.