woheller69 / TimeLapseCamera

GNU General Public License v3.0
189 stars 16 forks source link

Video (not audio) curruption #28

Open hjek opened 7 months ago

hjek commented 7 months ago

A specific video curruption issue is occuring at random but can also be reproduced this way:

Clearly, a sensible solution is to not try to run two camera apps simultaneously. But this can happen by accident, like accidentally double-pressing power button even while device is locked.

Even if this error is difficult / impossible to prevent, better error recovery could minimize loss of video. If there was some self-check, like just once every minute perhaps, to check if the video (not just the audio) is actually being recorded; and if not, maybe try again?

woheller69 commented 7 months ago

video is being recorded. It is just blank if you open another camera app which takes the camera away. I do not see what I could do here.

hjek commented 7 months ago

I do not see what I could do here

If TimeLapseCam could take back the camera so that the video file was only blanked while camera was being taken away, that would be helpful.

As it is now, you can lose hours of video because of another video app being opened for a second.

hjek commented 6 months ago

It is just blank if you open another camera app which takes the camera away.

We've now also experienced this issue several times where another camera app is for sure not being opened, on three different phones so far.

MetaNomad commented 1 month ago

Same here. I tried many different conditions (on background, kept on foreground, with no other app running, with other apps running, different settings...) and it really looks random. Sometimes it just work well, and sometimes, if I get always all the audio fine, the video works for few time (20s to 1m) and then get corrupt for the rest of the recording. No other camera app ever opened at the same time

hjek commented 1 month ago

@MetaNomad, have a look at Alibi which is also on f-droid. It also cuts out when another camera app is opened but it resumes filming after regaining camera access, so less loss of video.