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

New time lapse enabled by default and produces large mp4 files #488

Open
aitov opened this issue Dec 24, 2024 · 1 comment
Open

New time lapse enabled by default and produces large mp4 files #488

aitov opened this issue Dec 24, 2024 · 1 comment

Comments

@aitov
Copy link
Contributor

aitov commented Dec 24, 2024

Hi,
Recently was introduced new time lapse functionality which enabled by default even if I don't have it in my config.
As result:

  • it creates very large bz2 archives (>1 Gb for Full HD) even if no sky at night (also I'm not sure why we need upload it to server)
  • consumes more space on disk and it leads to save less history in captured files
  • it wrongly calculates required free space and we have corrupted large mp4 files which could not be played
  • for small sd cards (<=128gb) it even does not create mp4 file but leaves images in FrameFiles

So my proposition : disable it by default

@Cybis320
Copy link
Contributor

I agree that it's a major issue. I see that the tar.bz2 with the frame files are created by default. There are options to delete the frame files programmatically after the mp4 creation.

generateTimelapseFromFrames(day_dir, frames_timelapse_path, cleanup_mode='tar')

We would need to change to cleanup='delete'. Ideally, make it a config option defaulted to delete.

Ideally, we want to keep making these frame mp4s for the climate research project. I think at a minimum we need to default to deleting the frame jpg after mp4 creation, which would save a GB of space per night.

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

2 participants