On 12/05/2015 02:22 PM, Tobias Ellinghaus wrote: > Right, split seconds are not supported in dt. Could you provide a sampel file > where that is used? My cameras don't write anything smaller than a second.
I am using the attached perl script (http://www.richtmarke.de/dl/date-rename.pl in case the attachment gets stripped off) originally written by Norman Walsh to rename files (I modified it slightly to create unique names in case of collisions). It uses ExifTool to read the composite tag SubSecDateTimeOriginal (combining the EXIF tags DateTimeOriginal and SubsecTimeOriginal) if available. More on using milliseconds with ExifTool can be found here: http://u88.n24.queensu.ca/exiftool/forum/index.php?topic=2736.0 For a Canon EOS 40D the script renames files from IMG_*.CR2 to something like 20150524-112555-01.CR2. Here are four sample files taken in continuous shooting mode all within a single second: http://www.richtmarke.de/dl/20150524-112555-01.cr2 http://www.richtmarke.de/dl/20150524-112555-18.cr2 http://www.richtmarke.de/dl/20150524-112555-33.cr2 http://www.richtmarke.de/dl/20150524-112555-49.cr2 For me the milliseconds mostly help to create globally unique file names without the need to introduce arbitrary numbers or labels for images taken within the same second. Mark
date-rename.pl
Description: Perl program
------------------------------------------------------------------------------
_______________________________________________ Darktable-users mailing list Darktable-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-users