Changing Filenames to not include a colon #181
Replies: 3 comments 8 replies
-
Hi! There is no way to do this right now, but i (think) it will be an easy fix, i will look into it asap. Also on the YOLOv4, are you running the amd64-image? Next version will once again default to YOLOv3 due to perfomance reasons, but YOLOv4 is included in the image so you will be able to switch to that using this config: detector:
type: darknet
model_path: /detectors/models/darknet/yolov4.weights
model_config: /detectors/models/darknet/yolov4.cfg |
Beta Was this translation helpful? Give feedback.
-
In recorder, the "filename_pattern" - in the dev version - only applies to the video but not the detected image. Is there a setting for that? Thank you! |
Beta Was this translation helpful? Give feedback.
-
recorder:
thumbnail:
save_to_disk: true
filename_pattern: <your pattern here> |
Beta Was this translation helpful? Give feedback.
-
[Re]installed Viseron because I noticed it now uses YOLO4. So far it's AWESOME!
But the filenames are unusable.
In the logs, for file creation, it shows:
[2021-05-25 16:38:54] [lib.recorder.frontwest ] [DEBUG ] - Concatenation command: ['ffmpeg', '-hide_banner', '-loglevel', 'error', '-y', '-protocol_whitelist', 'file,pipe', '-f', 'concat', '-safe', '0', '-i', '-', '-c:v', 'copy', '-movflags', '+faststart', '/recordings/2021-05-25/FrontWest/16:38:41.mp4']
But, because of the colons, the filename in the samba share appears as:
159ZX1~2.MP4
In samba they can be mapped to other characters but, even then, they're not opening correctly.
My Question: Is there a way to change the filename so they don't include colon? (Can't find a setting in the documentation as of 2021.05.25) Something like %Y-%m-%d %f
Thank you
Beta Was this translation helpful? Give feedback.
All reactions