TimeLapseCamera icon indicating copy to clipboard operation
TimeLapseCamera copied to clipboard

Feature request: Exposure Lock

Open MyNameIsTroll opened this issue 2 years ago • 15 comments

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.

MyNameIsTroll avatar Mar 23 '23 12:03 MyNameIsTroll

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 avatar Mar 23 '23 17:03 woheller69

did you try it?

woheller69 avatar Mar 26 '23 16:03 woheller69

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?

MyNameIsTroll avatar Mar 31 '23 12:03 MyNameIsTroll

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

woheller69 avatar Mar 31 '23 12:03 woheller69

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

MyNameIsTroll avatar Mar 31 '23 12:03 MyNameIsTroll

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

ColinC101 avatar Mar 31 '23 13:03 ColinC101

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 avatar Mar 31 '23 14:03 woheller69

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

woheller69 avatar Apr 03 '23 07:04 woheller69

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 :)

MyNameIsTroll avatar Apr 03 '23 19:04 MyNameIsTroll

try with TotalCommander

woheller69 avatar Apr 03 '23 19:04 woheller69

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

MyNameIsTroll avatar Apr 05 '23 06:04 MyNameIsTroll

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

MyNameIsTroll avatar Apr 06 '23 13:04 MyNameIsTroll

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

woheller69 avatar Apr 06 '23 13:04 woheller69

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.

ColinC101 avatar Apr 07 '23 13:04 ColinC101

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

andreasb242 avatar May 05 '24 19:05 andreasb242