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

crash after less than 10 pictures #37

Open
icicmoi opened this issue Apr 22, 2024 · 10 comments
Open

crash after less than 10 pictures #37

icicmoi opened this issue Apr 22, 2024 · 10 comments

Comments

@icicmoi
Copy link

icicmoi commented Apr 22, 2024

Hi all,
we tried on 3 devices; the most recent uses android 8 (motorola moto g5) but the crash is systematic.

  • Action on the delay does not prevent it.
  • Test of all the versions available on Fdroid
  • I've also removed battery optimisation.

What should I tell you and/or do so that you can better understand the problem ?

In the meantime, thank you very much for sharing your application !

@woheller69
Copy link
Owner

does the app "crash" or "stop recording"
Are you using jpg mode?

@icicmoi
Copy link
Author

icicmoi commented Apr 22, 2024

1/ sorry I'm not precise enough (that's what happens when you're not a computer scientist ;)
Sometimes it crashes (the application has stopped) but more often it's a timelapse stop.

(I didn't think to note on which device and with which settings the crash occurred )

At the moment I only have the motorola g5 but if it could be useful to you before the end of the month at the latest I can have the 3 devices available for testing)

2/ yes pictures.jpg only.

Thanks :-)

@woheller69
Copy link
Owner

which capture rate do you use? Depending on the device I noticed that it may stop taking images when the rate is "high" which is less than 5s between pictures in jpg mode.
In time lapsed mp4 mode that does not seem to be a problem.
I think that depends on camera hardware, devices specific camera drivers, writing speed to storage (less data in mp4 mode) and things like that.

@icicmoi
Copy link
Author

icicmoi commented Apr 22, 2024

1 photo every 5 seconds. But okay, I'll try to go beyond that (I thought it was already a very large interval ;)
The usage is for "Kite aerial photography".

I had seen #37 and that's why I tried older versions without success.
I used Timelapsecam in June 2023 and July 2023 and it worked (photos.jpg) on the same phone.
For troubleshooting and patience is there a public url to download the previous version (1.4 perhaps? unfortunately I had not noted anything!)

Thank you very much for this exchange @woheller69 !

ps: well noted also for mp4, I will try.

@woheller69
Copy link
Owner

In this issue #16 you can find an older version

But since then there is not much code that has changed. I do not see anything that should have influence on that.
Mainly required changes which only apply to newer Android versions

@icicmoi
Copy link
Author

icicmoi commented Apr 22, 2024

ok: no doubt I had chosen a larger interval at the time (10 seconds perhaps)
Have I learnt this evening to be more methodical in my testing ... to take - and carefully keep - my notes?
... hummm ... time will tell!
Enjoy your evening!

@andreasb242
Copy link
Contributor

I had also some kind of this issue, it happens more often on Xiaomi than on Samsung.
I'm not implementing the Camera2 interface, and added a lot more error handling, and also display the error.

This might fix also your issue, but I could take the first pictures today, to a finished release it may takes some weeks.

@icicmoi
Copy link
Author

icicmoi commented Apr 28, 2024

I had also some kind of this issue, it happens more often on Xiaomi than on Samsung. I'm not implementing the Camera2 interface, and added a lot more error handling, and also display the error.

This might fix also your issue, but I could take the first pictures today, to a finished release it may takes some weeks.

Thanks for the information @andreasb242 :-)

Following @woheler69's advice, i.e. increasing the timer to 15 seconds, it worked on the motorola g5 (even at 10 seconds).
My mistake was to remain previously on 5 seconds and to be interested only in the other parameters!

We'd also have to look at more recent smartphones, because we also use older ones - under Android 6 - and we'd have to look at the other parameters.
Knowing the error would indeed be interesting to act more quickly on the right parameter ... or to eliminate the smartphone if it crashes too often ;)

Many thanks!

@woheller69
Copy link
Owner

have you tried increasing the delay for camera initialization?

@icicmoi
Copy link
Author

icicmoi commented Nov 13, 2024

Hello,
I'm really sorry I didn't get back to you sooner: I've had to move on to other things than kite aerial photography in recent months :-(

But I don't despair of getting back into it next spring (with this old smartphone and/or with a camera whose photos will be of better quality ... but certainly by testing TimeLapseCamera again! )

I really appreciate this utility ... but even more so your relationship and follow-up with users :-)

Thank you very much and see you soon .

Translated with DeepL.com (free version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants