Lillifee / raspiCam

RaspiCam, a simple web application to stream, take pictures or record videos from your raspberry pi camera.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start number and filename options?

gns-jdaniel opened this issue · comments

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?

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.

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

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!