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

Start number and filename options? #44

Open
gns-jdaniel opened this issue Mar 15, 2023 · 3 comments
Open

Start number and filename options? #44

gns-jdaniel opened this issue Mar 15, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@gns-jdaniel
Copy link

It would be awesome to be able to define a starting index number for images, rather than always resetting to zero.

Also, could you please add a default name for capture files, rather than just the start date?

@Lillifee
Copy link
Owner

Hi @gns-jdaniel,

When capturing timelapses using libcamera, the index starts from 0 and is automatically created.
You can find more information on this at https://www.raspberrypi.com/documentation/computers/camera_software.html#output-file-options

Currently, I'm using the naming convention IsoDateTime-%04d.jpg. However, I'm unsure about what Libcamera does if it encounters a file with the same name.

The only other solution would be to write a custom implementation of the timelapse feature.
I'll have to investigate further and let you know.

@Lillifee Lillifee added the enhancement New feature or request label Mar 20, 2023
@Lillifee
Copy link
Owner

The new release doen't count up anymore. Is it still needed to adjust the filename?

I also added the possiblitiy to change the file name in the control section to

  • Date time (20230324200412.jpg)
  • ISO Date time (2023-03-24T19-05-29Z.jpg)
  • Unix time (167984755.jpg)

image

@gns-jdaniel
Copy link
Author

It might be nice to have the option to have a fixed filename with four-digit counter (or custom number of digits)...but it's wonderful to have the ISA Date Time option now! Thank you!

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

No branches or pull requests

2 participants