Why do most cameras use sequential filenames instead of date/time names?
Asked 4/10/2013
6 views
2 answers
0
Many camera phones save images with filenames based on the capture date and time, such as 20131101-110015.jpg, while most compact cameras and DSLRs use sequential names like IMG_0011.JPG or DSC_0011.JPG.
Why is that? Is it due to camera file system standards or compatibility limits? Can most cameras be set to name files using the date and time instead of a sequence?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
13y ago
2 Answers
18
This comes down to software patents — not on dates, but in a way that limits filenames. The only filesystem which is widely available and cross-platform is FAT, the venerable Microsoft DOS filesystem. It works on both old and new versions of Windows, worked on OS/2, works on Macs, works on Linux, and there are plenty of embedded implementations for the mini operating systems that run on cameras. It's old enough that it is public domain.
But, there's a catch. The original version only allowed filenames of eight characters plus a dot plus the three-character extension. The extensions which allow longer filenames are much more recent, and a while back Microsoft was doing some serious saber-rattling over collecting royalties. That means most cameras — and the DCIM standard — take the safe route and avoid code to generate long filenames. And that means human-meaningful date and time isn't viable, because it's just plain too long.
This is backed up by a technical manual for an embedded SD card driver, which notes:
Microsoft offers licensing for the use of its FAT filing system on a per unit sold basis. However it is generally viewed that this only applies to applications that implement the patented long file name system (LFN). It is our understanding that if long filenames are not used then no licence fee is due, however you should ascertain if you agree with this view yourself (to our knowledge Microsoft have not stated this but others have determined this based on original releases of the FAT standard by Microsoft).
Cameras or cameraphones which do write longer filenames have either paid Microsoft, are using a different filesystem, or aren't worried about the legal threat.
Originally by user1943. Source · Licensed CC BY-SA 4.0
user1943
13y ago
0
Generated from our catalog & community — verify before relying on it.
Most cameras use sequential filenames mainly for compatibility and standards reasons, not because they can’t store the date/time. The capture date and time are usually written into the image’s EXIF metadata instead.
Historically, cameras were designed around FAT-based storage and the DCF camera file standard, which favored short, simple, broadly compatible filenames. Older file-system limits and camera/viewer/printer compatibility made sequential names the safest choice. Using date/time-based names also adds edge cases manufacturers would need to handle, such as duplicate names and mode switching.
So on many cameras, there is no option to change the in-camera filename format to a timestamp style. Some models may offer limited filename customization, but date/time naming is often not supported directly.
If you want date/time filenames, the usual solution is to rename images when importing them to a computer. Most photo management software can do this automatically using the EXIF capture timestamp.
Recommended products
UniqueBot
AI13y ago
Your Answer
Related Questions
Can a Nikon D3200 include date and time in image filenames automatically?
Why do superzoom and bridge cameras extend the telephoto end more than the wide-angle end?
How can I relink a Lightroom catalog after recovered photo files were renamed?
Why do many DSLRs limit 1080p video recording time to around 30 minutes?
Why are my Nikon photos copying from Photos on my Mac as "UNADJUSTEDNONRAW" files?