henrywoo / kazam

Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind
https://github.com/henrywoo/kazam
GNU General Public License v3.0
210 stars 22 forks source link

Don't include colons in default file names #40

Closed danboid closed 1 month ago

danboid commented 7 months ago

When you record a video with Kazam, by default it includes the time the capture started with the three sets of digits of the timestamp separated by colons.

FAT and exFAT (and NTFS?) cannot handle colons in file names so Kazam files have to be renamed before they can be copied onto most removable disks. I would prefer to see Kazam stop using colons in file names by default.

henrywoo commented 5 months ago

why colons in a file name?

danboid commented 5 months ago

This is an example default Kazam filename (with colons)

Screencast 2024-04-21 03:02:06.webm

FAT32, exfat will not handle this file name. Kazam should name it:

Screencast 2024-04-21 03-02-06.webm

or

Screencast_2024-04-21_03-02-06.webm

With both of these options the user doesn't have to rename the file to copy it onto a (ex)FAT disk.

I prefer the second option with underscores instead of spaces personally.

henrywoo commented 5 months ago

I think it is probably because you are not using code from this repo. With this repo, I got name like genai_2024-04-20_18-43-52.webm. Not sure which code base you are using?

danboid commented 5 months ago

How odd. I've installed the Debian trixie / testing package.

That seems like a very strange thing for them to change.

henrywoo commented 5 months ago

Please use code from this repo. The version is 1.5.7.

danboid commented 5 months ago

OK. Debian is still using 1.4.5

henrywoo commented 1 month ago

Please try the latest version:

pip install kazam -U

This should fix your issue.