When you select an image or movie in digikam, properties like Title, Captions, and Date are shown in the panels on the right side of the window. How is the Date determined? Is it the image file's modification time, or some EXIF data field from the file, or what? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On a general level, apart from which date digikam is showing you,
there are 3 possible DateTime values for digital images. From page 37 of the Metadata Working Group Guidelines: - Date/time original specifies when a photo was taken. - Date/time digitized specifies when an image was digitized. - Date/time modified specifies when a file was modified by the user. http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf- On Mon, Jul 27, 2015 at 2:28 PM, Mark Alford <[hidden email]> wrote: > How is the Date determined? > Is it the image file's modification time, or some EXIF data field from > the file, or what? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Yes. My question is which of these (or which other recorded date) does
Digikam choose to display in the right panel, below the Captions? On Mon, 2015-07-27 at 15:16 -0500, Alan Pater wrote: > On a general level, apart from which date digikam is showing you, > there are 3 possible DateTime values for digital images. > > From page 37 of the Metadata Working Group Guidelines: > > - Date/time original specifies when a photo was taken. > > - Date/time digitized specifies when an image was digitized. > > - Date/time modified specifies when a file was modified by the user. > > http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf- > > On Mon, Jul 27, 2015 at 2:28 PM, Mark Alford <[hidden email] > > wrote: > > How is the Date determined? > > Is it the image file's modification time, or some EXIF data field > > from > > the file, or what? > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Prof. Mark Alford http://www.physics.wustl.edu/alford/ Chairman, Physics Department, Washington University, St Louis Tel: +1 314 935 5034 Fax: +1 314 935 6219 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Mandag den 27. juli 2015 22:12:37 skrev Mark Alford:
> Yes. My question is which of these (or which other recorded date) does > Digikam choose to display in the right panel, below the Captions? Hi Mark, In the "Properties" panel (the top one on right here), the file date is shown under "file properties", while the capture date is shown under "photo properties". Kindly, Anders > On Mon, 2015-07-27 at 15:16 -0500, Alan Pater wrote: > > On a general level, apart from which date digikam is showing you, > > there are 3 possible DateTime values for digital images. > > > > From page 37 of the Metadata Working Group Guidelines: > > > > - Date/time original specifies when a photo was taken. > > > > - Date/time digitized specifies when an image was digitized. > > > > - Date/time modified specifies when a file was modified by the user. > > > > http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf-> > > > On Mon, Jul 27, 2015 at 2:28 PM, Mark Alford <[hidden email] > > > > > wrote: > > > How is the Date determined? > > > Is it the image file's modification time, or some EXIF data field > > > from > > > the file, or what? > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
By order of priority : 1/ Exif date (the camera shot are registered here) 2/ Makernotes if exist (as a part of Exif) 3/ XMP 4/ IPTC 5/ file time -stamp in case of no metadata are found (most weird case) 2015-07-28 8:33 GMT+02:00 Anders Lund <[hidden email]>: Mandag den 27. juli 2015 22:12:37 skrev Mark Alford: _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
OK, so now my question is: which EXIF date does digikam use?
The file I am interested in has many dates in the EXIF metadata: > exiftool -a -G1 P1000986_new.MOV | grep -i date [System] File Modification Date/Time : 2015:07:27 19:07:01+01:00 [System] File Access Date/Time : 2015:07:28 19:31:06+01:00 [System] File Inode Change Date/Time : 2015:07:27 19:07:01+01:00 [QuickTime] Create Date : 2013:05:17 05:16:08 [QuickTime] Modify Date : 2013:05:17 05:16:08 [Track1] Track Create Date : 2013:05:17 05:16:08 [Track1] Track Modify Date : 2013:05:17 05:16:08 [Track1] Media Create Date : 2013:05:17 05:16:08 [Track1] Media Modify Date : 2013:05:17 05:16:08 [Track2] Track Create Date : 2013:05:17 05:16:08 [Track2] Track Modify Date : 2013:05:17 05:16:08 [Track2] Media Create Date : 2013:05:17 05:16:08 [Track2] Media Modify Date : 2013:05:17 05:16:08 On Tue, 2015-07-28 at 09:55 +0200, Gilles Caulier wrote: > By order of priority : > > 1/ Exif date (the camera shot are registered here) > 2/ Makernotes if exist (as a part of Exif) > 3/ XMP > 4/ IPTC > 5/ file time -stamp in case of no metadata are found (most weird > case) > > 2015-07-28 8:33 GMT+02:00 Anders Lund <[hidden email]>: > > Mandag den 27. juli 2015 22:12:37 skrev Mark Alford: > > > Yes. My question is which of these (or which other recorded date) > > does > > > Digikam choose to display in the right panel, below the Captions? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Very simple look in code, especially in this function : In this function we try metadata tags step by step. When one is found with a valid time stamp, the value is returned as well... Gilles Caulier 2015-07-28 22:01 GMT+02:00 Mark Alford <[hidden email]>: OK, so now my question is: which EXIF date does digikam use? _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
OK, now I am confused.
digikam assigns this file the date 2013:05:17 so clearly it is NOT using the filesystem info (file creation date etc). But the EXIF fields it searches for, Exif.Photo.DateTimeOriginal Exif.Photo.DateTimeDigitized Exif.Image.DateTime are not present in this file's metadata. So is there also some XMP or IPTC data that exiftool is not showing me? How do I see all the metadata in order to work out what date field digikam is seeing in this case? On Tue, 2015-07-28 at 23:53 +0200, Gilles Caulier wrote: > Very simple look in code, especially in this function : > > https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2/repo > sitory/revisions/master/entry/libkexiv2/kexiv2image.cpp#L509 > > In this function we try metadata tags step by step. When one is found > with a valid time stamp, the value is returned as well... > > Gilles Caulier > > 2015-07-28 22:01 GMT+02:00 Mark Alford <[hidden email]>: > > OK, so now my question is: which EXIF date does digikam use? > > The file I am interested in has many dates in the EXIF metadata: > > > > > exiftool -a -G1 P1000986_new.MOV | grep -i date > > [System] File Modification Date/Time : 2015:07:27 > > 19:07:01+01:00 > > [System] File Access Date/Time : 2015:07:28 > > 19:31:06+01:00 > > [System] File Inode Change Date/Time : 2015:07:27 > > 19:07:01+01:00 > > [QuickTime] Create Date : 2013:05:17 > > 05:16:08 > > [QuickTime] Modify Date : 2013:05:17 > > 05:16:08 > > [Track1] Track Create Date : 2013:05:17 > > 05:16:08 > > [Track1] Track Modify Date : 2013:05:17 > > 05:16:08 > > [Track1] Media Create Date : 2013:05:17 > > 05:16:08 > > [Track1] Media Modify Date : 2013:05:17 > > 05:16:08 > > [Track2] Track Create Date : 2013:05:17 > > 05:16:08 > > [Track2] Track Modify Date : 2013:05:17 > > 05:16:08 > > [Track2] Media Create Date : 2013:05:17 > > 05:16:08 > > [Track2] Media Modify Date : 2013:05:17 > > 05:16:08 > > > > > > On Tue, 2015-07-28 at 09:55 +0200, Gilles Caulier wrote: > > > By order of priority : > > > > > > 1/ Exif date (the camera shot are registered here) > > > 2/ Makernotes if exist (as a part of Exif) > > > 3/ XMP > > > 4/ IPTC > > > 5/ file time -stamp in case of no metadata are found (most weird > > > case) > > > > > > 2015-07-28 8:33 GMT+02:00 Anders Lund <[hidden email]>: > > > > Mandag den 27. juli 2015 22:12:37 skrev Mark Alford: > > > > > Yes. My question is which of these (or which other recorded > > date) > > > > does > > > > > Digikam choose to display in the right panel, below the > > Captions? > > > > > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users Prof. Mark Alford http://www.physics.wustl.edu/alford/ Chairman, Physics Department, Washington University, St Louis Tel: +1 314 935 5034 Fax: +1 314 935 6219 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Try:
~$ exiv2 -g Date P1000986_new.MOV exiftool formats the output differently then exiv2. On Tue, Jul 28, 2015 at 5:11 PM, Mark Alford <[hidden email]> wrote: > OK, now I am confused. > > digikam assigns this file the date 2013:05:17 so clearly it is NOT > using the filesystem info (file creation date etc). > > But the EXIF fields it searches for, > > Exif.Photo.DateTimeOriginal > Exif.Photo.DateTimeDigitized > Exif.Image.DateTime > > are not present in this file's metadata. Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
On Wed, 2015-07-29 at 06:40 -0500, Alan Pater wrote:
> Try: > ~$ exiv2 -g Date P1000986_new.MOV > exiftool formats the output differently then exiv2 Thank you. Now I think I see the problem.The file in question is a video file, so its date tags are Xmp.video If I understood Gilles's email correctly, digikam only looks for Xmp.exif > exiv2 -g Date P1000994.MOV Xmp.video.DateUTC XmpText 10 3451674662Xmp.video.ModificationDate XmpText 10 3451674662Xmp.video.TrackCreateDate XmpText 10 3451674662Xmp.video.TrackModifyDate XmpText 10 3451674662Xmp.video.MediaCreateDate XmpText 10 3451674662Xmp.video.MediaModifyDate XmpText 10 3451674662Xmp.audio.TrackCreateDate XmpText 10 3451674662Xmp.audio.TrackModifyDate XmpText 10 3451674662Xmp.audio.MediaCreateDate XmpText 10 3451674662Xmp.audio.MediaModifyDate XmpText 10 3451 674662 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Yes exactly. Give the list of tag to parse date from movie files, in Exiv2 format, I will add these to the list
Gilles Le mercredi 29 juillet 2015, Mark Alford <[hidden email]> a écrit : On Wed, 2015-07-29 at 06:40 -0500, Alan Pater wrote: -- Send with Gmail Mobile _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Gilles, the full list of Xmp.video properties supported in exiv2 since
0.24 can be seen here: http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/properties.cpp#L1053 On Wed, Jul 29, 2015 at 11:08 AM, Gilles Caulier <[hidden email]> wrote: > Yes exactly. Give the list of tag to parse date from movie files, in Exiv2 > format, I will add these to the list _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Just as an initial suggestion, I propose that it would be good to look
at the following tags and take the first one that has a proper date value: Xmp.video.ModificationDate Xmp.video.DateTimeDigitized Xmp.video.DateTimeOriginal Xmp.video.DateUTC Mark On Wed, 2015-07-29 at 12:14 -0500, Alan Pater wrote: > Gilles, the full list of Xmp.video properties supported in exiv2 > since > 0.24 can be seen here: > http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/pr > operties.cpp#L1053 > > On Wed, Jul 29, 2015 at 11:08 AM, Gilles Caulier > <[hidden email]> wrote: > > Yes exactly. Give the list of tag to parse date from movie files, > > in Exiv2 > > format, I will add these to the list > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Can you report this problem to KDE bugzilla into digiKam/libkexiv2 section, with the list of new tags to support to import date ? Thanks in advance Gilles caulier 2015-08-04 4:27 GMT+02:00 Mark Alford <[hidden email]>: Just as an initial suggestion, I propose that it would be good to look _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Gilles,
I see that the assigning of dates to panoramas has been posted as a bug https://bugs.kde.org/show_bug.cgi?id=342687 This is something I am also experiencing as a problem in digikam 4.12.0 (Fedora 22). Here is the exiv2 data for a panorama that I just created: Exif.Image.DateTime Ascii 20 2015:08:09 19:58:23 Exif.Photo.DateTimeOriginal Ascii 20 2015:08:09 19:58:23 Exif.Photo.DateTimeDigitized Ascii 20 2015:07:21 10:16:45 Exif.Image.PreviewDateTime Ascii 20 2015:08:09 19:58:23 Iptc.Application2.DateCreated Date 8 2015-08-09 Iptc.Application2.DigitizationDate Date 8 2015-07-21 Xmp.xmp.CreateDate XmpText 19 2015-08-09T19:58:23 Xmp.xmp.MetadataDate XmpText 19 2015-08-09T19:58:23 Xmp.xmp.ModifyDate XmpText 19 2015-08-09T19:58:23 Xmp.tiff.DateTime XmpText 19 2015-08-09T19:58:23 Xmp.exif.DateTimeOriginal XmpText 19 2015:08:09 19:58:23 Xmp.exif.DateTimeDigitized XmpText 19 2015-07-21T10:16:45 Xmp.photoshop.DateCreated XmpText 19 2015-08-09T19:58:23 You see that for a few fields it remembers the original date 2015:07:21, but for most of the fields, including the ones that digikam uses to determine the date of the image, it uses the date of creation of the panorama, 2015-08-09, which is inconvenient for the user. Mark On Sun, 2015-08-09 at 08:09 +0200, Gilles Caulier wrote: > Can you report this problem to KDE bugzilla into digiKam/libkexiv2 > section, with the list of new tags to support to import date ? > > Thanks in advance > > Gilles caulier > > 2015-08-04 4:27 GMT+02:00 Mark Alford <[hidden email]>: > > Just as an initial suggestion, I propose that it would be good to > > look > > at the following tags and take the first one that has a proper date > > value: > > > > Xmp.video.ModificationDate > > Xmp.video.DateTimeDigitized > > Xmp.video.DateTimeOriginal > > Xmp.video.DateUTC > > > > > > Mark > > > > > > > > On Wed, 2015-07-29 at 12:14 -0500, Alan Pater wrote: > > > Gilles, the full list of Xmp.video properties supported in exiv2 > > > since > > > 0.24 can be seen here: > > > > > http://dev.exiv2.org/projects/exiv2/repository/entry/trunk/src/pr > > > operties.cpp#L1053 > > > > > > On Wed, Jul 29, 2015 at 11:08 AM, Gilles Caulier > > > <[hidden email]> wrote: > > > > Yes exactly. Give the list of tag to parse date from movie > > files, > > > > in Exiv2 > > > > format, I will add these to the list > > > _______________________________________________ > > > Digikam-users mailing list > > > [hidden email] > > > https://mail.kde.org/mailman/listinfo/digikam-users > > > > > > _______________________________________________ > > Digikam-users mailing list > > [hidden email] > > https://mail.kde.org/mailman/listinfo/digikam-users > > Prof. Mark Alford http://www.physics.wustl.edu/alford/ Chairman, Physics Department, Washington University, St Louis Tel: +1 314 935 5034 Fax: +1 314 935 6219 _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Note that there are specific XMP properties for panorama images.
exiv2 0.25 supports these properties: http://www.exiv2.org/tags-xmp-GPano.html Specification is here: https://developers.google.com/photo-sphere/metadata/ On Sun, Aug 9, 2015 at 8:02 PM, Mark Alford <[hidden email]> wrote: > Gilles, > > I see that the assigning of dates to panoramas has been posted as a bug > https://bugs.kde.org/show_bug.cgi?id=342687 > This is something I am also experiencing as a problem in digikam 4.12.0 > (Fedora 22). > > Here is the exiv2 data for a panorama that I just created: > > Exif.Image.DateTime Ascii 20 2015:08:09 19:58:23 > Exif.Photo.DateTimeOriginal Ascii 20 2015:08:09 19:58:23 > Exif.Photo.DateTimeDigitized Ascii 20 2015:07:21 10:16:45 > Exif.Image.PreviewDateTime Ascii 20 2015:08:09 19:58:23 > Iptc.Application2.DateCreated Date 8 2015-08-09 > Iptc.Application2.DigitizationDate Date 8 2015-07-21 > Xmp.xmp.CreateDate XmpText 19 2015-08-09T19:58:23 > Xmp.xmp.MetadataDate XmpText 19 2015-08-09T19:58:23 > Xmp.xmp.ModifyDate XmpText 19 2015-08-09T19:58:23 > Xmp.tiff.DateTime XmpText 19 2015-08-09T19:58:23 > Xmp.exif.DateTimeOriginal XmpText 19 2015:08:09 19:58:23 > Xmp.exif.DateTimeDigitized XmpText 19 2015-07-21T10:16:45 > Xmp.photoshop.DateCreated XmpText 19 2015-08-09T19:58:23 > > You see that for a few fields it remembers the original date > 2015:07:21, but for most of the fields, including the ones that digikam > uses to determine the date of the image, it uses the date of creation > of the panorama, 2015-08-09, which is inconvenient for the user. Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |