Skip to content

records.path - Support for %S (seconds) in filename format #258

@colder1989

Description

@colder1989

Title: Feature Request: Support %S (seconds) in records.path
Camera board id: GK7205V300 + IMX335
OpenIPC version: Ultimate gk7205v300
Commit: master+97cfa95
Branch: master
Tag: 2026-03-23
Installation method: sysupgrade

Issue description:
Currently records.path supports %H-%M producing files like 15-50.mp4. When using %H-%M-%S, majestic creates a folder named 15-50-23 with 15-50.mp4 inside instead of a file named 15-50-23.mp4. I need second-precision filenames to uniquely identify motion clips when stopping and restarting recording via cli -s .records.enabled false/true.

Expectations:
records.path: /mnt/mmcblk0p1/%F/%H-%M-%S.mp4 should produce files named 15-50-23.mp4.

Steps to reproduce:
Set records.path: /mnt/mmcblk0p1/%F/%H-%M-%S.mp4
Enable recording
Observe that majestic creates folder 15-50-23 containing 15-50.mp4 instead of file 15-50-23.mp4

Additional info:
Tested stop/start timing: majestic opens new file in ~1 second. Overhead is acceptable for my use case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions