Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Exposure Lock #10

Open
MyNameIsTroll opened this issue Mar 23, 2023 · 15 comments
Open

Feature request: Exposure Lock #10

MyNameIsTroll opened this issue Mar 23, 2023 · 15 comments
Labels
help wanted Extra attention is needed

Comments

@MyNameIsTroll
Copy link

Hi, thanks for making this app, I'm having fun with it :)

When I do long timelapse and it's overcast and cloudy, I find that there are automatic exposure changes on the videos, it's not very nice unfortunately.

It would be nice to have an option to block the exposure.

@woheller69
Copy link
Owner

For normal video and time lapse video this apk sets setAutoExposureLock(true) after mediaRecorder.start()

I have no time to test, not sure if it works.
Please try.

Uninstall
Remove .zip
Install

app-release.apk.zip

@woheller69
Copy link
Owner

did you try it?

@MyNameIsTroll
Copy link
Author

I didn't understand what I had to do, I uninstall the TimeLapseCamera app and install the apk in the zip?
Is that the modified application?

@woheller69
Copy link
Owner

yes, it is modified. Not sure if it makes a difference

@MyNameIsTroll
Copy link
Author

All right, I'll try this weekend, I'll tell you if it works, thank you.

@ColinC101
Copy link

Hi,
I've encountered the exact same usecase with the autofocus function, as the phone tries to update the focus when brightness changes or movement occurs.

Would it be relevant / is there an easy way to implement such a feature to lock auto-focus when recording timelapse ? Feels like both those parameters are closely related

@woheller69
Copy link
Owner

You can try this.
I tried to lock AutoExposure, AutoWhiteBalance and AutoFocus after start of recorder (only for mp4 recordings)
app-release.apk.zip

Don't know if it works...

 	mMediaRecorder.start();
	Camera.Parameters params = mCamera.getParameters();
	mCamera.cancelAutoFocus();
	if (params.isAutoExposureLockSupported()) {
		params.setAutoExposureLock(true);
		Log.d("AutoExposureLock","true");
	} else Log.d("AutoExposureLock","not supported");
	if (params.isAutoWhiteBalanceLockSupported()) {
		params.setAutoWhiteBalanceLock(true);
		Log.d("AutoWhiteBalanceLock","true");
	} else Log.d("AutoWhiteBalanceLock","not supported");

@woheller69
Copy link
Owner

In my tests this does not seem to have any effect. Have you seen any improvements?

@MyNameIsTroll
Copy link
Author

I'm sorry, I wanted to try but I couldn't install the application.
When I rename the zip file to apk my explorer opens the apk instead of installing it... I don't know how to do it :)

@woheller69
Copy link
Owner

try with TotalCommander

@MyNameIsTroll
Copy link
Author

Thank you, it worked. I'll do a test today and let you know if it works.

@MyNameIsTroll
Copy link
Author

After a few tries, I didn't notice any change. The automatic exposure is still on.

@woheller69
Copy link
Owner

then maybe it is not possible.
Maybe some day someone has an idea.

@ColinC101
Copy link

Finally able to do some tests on my side, I can confirm that it does not seem to change anything. Let's hope someone finds a way.

@andreasb242
Copy link
Contributor

I got this working with my Camera 2 Branch: #39
But for now you need to configure ISO and Exposure manual, if you configure just one, it don't seem to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants