KillerInk / FreeDcam

FreeDcam is a CameraApp for Android >4.0(ics) wich try to enable stuff that is forgotten by the manufacturs
GNU General Public License v2.0
309 stars 45 forks source link

Feature Request: Image Capture while recording / Turn screen off #158

Open shuangye opened 3 years ago

shuangye commented 3 years ago

Will you add timelapse support? You can fire the timer repeatedly, allowing to save JPG/RAW for post processing on a computer. Just like most DSLRs will do. Besides, you can record a video at the same time for quick preview.

To save battery life, you can allow the user to dim the screen, or even turn off the screen, during timelapse capture.

KillerInk commented 3 years ago

Hi FreeDcam have that feature already. its called interval for pictures. for video you must create a new mediaprofile.

but they are not working together. and there are no plans to support it due the fact image capture gets limited while recording.

Turn off the screen wont work because we cannot unlock the device once it got turned off. Dimming can get done manual in the navbar

greets

shuangye commented 3 years ago

Hi, Thank you for your reply. I see the interval button, but seems it can only capture few pictures. To capture timelapse, the total pictures number may be as many as 1000, and the interval may vary from 1s (cloud moving) to several minutes (plants growing).

Turning off the screen does not imply locking the device. You can prevent the device from locking/sleeping (e.g., what video players do), just turn off the screen (or fill it with black). Plants grouping timelapse may last for several days to several months. Keeping the screen on for such long time may burn the screen.

I know an App names "Framelapse" allows users to turn off the screen. You can touch anywhere on the screen to turn it on again. But it can only record timelapse videos, without separate pictures, which is essential for professional users to do post processing.

shuangye commented 3 years ago

If Android does not support capturing still images and videos at the same time, maybe a wroundaround could be: Capture JPG files and encode them into a video file using a encoder. Hardware encoder is preferred. If no HW encoder is available, at least SW encoder (e.g., ffmpeg) can be used.

Both Android and iOS build-in Camera App have "Timelapse" mode. Unfornately, both have reduced frame size (quick for preview and share). I guess they capture JPG images in the RAM and encode into a video on the fly. So when you click the Stop button, a timelapse video is there and ready to play.

KillerInk commented 3 years ago

I see the interval button, but seems it can only capture few pictures. To capture timelapse, the total pictures number may be as many as 1000, and the interval may vary from 1s (cloud moving) to several minutes (plants growing).

you can navigate to settings with a swip from left to right on the preview. there is a section "Interval Mode Settings" there you can set the time after the shutter should trigger and how long the interval duration should be.

in the settings you find also the videoprofile editor. there you can create custimzd video profiles^^ like 8k recording(if supported by the device), 10bit8k. or 4k timelapse etc

Turning off the screen does not imply locking the device. You can prevent the device from locking/sleeping (e.g., what video players do), just turn off the screen (or fill it with black)

Thats then dimming. some devices turn the screen off at lowest lvl. but drawing a black overlay is possible

If Android does not support capturing still images and videos at the same time, maybe a wroundaround could be:

camera2 support it. but its then limited to specific image sizes and format i think. i only remember that i read about a limitation in android dev docs.

shuangye commented 3 years ago

I find an interesting workaround: