https://bugs.kde.org/show_bug.cgi?id=426938

            Bug ID: 426938
           Summary: MP4 scans inconsistently chooses wrong "creation date"
           Product: digikam
           Version: 7.1.0
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Database-Scan
          Assignee: digikam-bugs-n...@kde.org
          Reporter: granr...@kde.org
  Target Milestone: ---

Version: 7.1.0
OS: Mac OS X High Sierra

I import photos and videos into Digikam by copying the files directly into a
scanned directory and Digikam automatically picks up the new file and processes
it.  Most of the time, the "Creation date" is scanned and annotated correctly
but in any bunch of new files, at least one or two videos will invariably have
"right now" as the "Creation date", and often more.

Example:
I copied over 14 GoPro videos with sequentially named GOPR00[15|28].MP4, and
with the actual file creation date ranging from 2019-06-02T09:27 to
2019-06-02T11:05.  Exactly half (7) were detected by Digikam as having a
creation date of 2020-09-24T08:51.  The incorrectly scanned files are not in
any sequential order that I can tell.  File ending in 19,20,22,23,24,25,26 have
the wrong date while files ending in 15,16,17,18,21,27,28 are all correct.

I will look more closely at two representative examples.

GOPR0026.MP4
Digikam Creation Date: Sep 24, 2020 8:51AM
$ GetFileInfo -d GOPR0026.MP4
06/02/2019 10:59:26
$ exiftool GOPR0026.MP4 | grep "Create Date"
Create Date                     : 2019:06:02 10:59:26

GOPR0027.MP4
Digikam Creation Date: June 02, 2019 11:04AM
$ GetFileInfo -d GOPR0027.MP4           
06/02/2019 11:04:45
$ exiftool GOPR0027.MP4 | grep "Create Date"
Create Date                     : 2019:06:02 11:04:45

The files were physically created five seconds apart, back in 2019.  All
utilities I can find either command-line or GUI show the "proper" Creation
date.  Digikam, for some reason, ignores that and chooses the scan time for one
of those two but not the other.

Let me know if this is a known issue with scanning (maybe on Macs) or if you
need me to track down any other debugging info.  This is a very minor issue but
annoying, since my video feeds tend to "tell a story" in order and having them
sorted by date in the wrong order is frustrating.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to