Skip navigation
Soeren-H
Currently Being Moderated

Edit capture time on NEF not working

Mar 30, 2013 12:39 PM

Hi!

 

I tried to edit the capture time on NEF files. I set -5 hours in "Metadata" > "Edit Capture Time", selected "Write date or time changes into proprietary raw files" and clicked "Save to Metadata" but the file does not change. There is just a new XMP file created, but i would like to edit this in raw files.

 

When I tried the above steps witha JPEG file everything works fine, but also when I try to change capture time on files, which exists in JPEG and NEF, neither the JPEG nor the NEF changes. Only the XMP.

 

It's the same problem like this, but even there is no answer:

http://forums.adobe.com/message/1383639#1383639

 

I run Lightroom 4.3 on Windows 7.

 
Replies
  • Currently Being Moderated
    Mar 30, 2013 1:00 PM   in reply to Soeren-H

    You shouldn't have to save metadata.  The edit capture time dialog saves the edited capture time directly to the raw file.  Are you sure you hit "Change" and not "Cancel"?  I've done this dozens, if not hundreds of times without a failure, at least on Canon raw files.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 30, 2013 4:24 PM   in reply to Soeren-H

    I just tried Metadata > Edit Capture Time on a .nef followed by Metadata > Save Metadata To File. Exiftool shows something screwy, two entries for EXIF:DateTimeOriginal:

     

    $ exiftool.exe -a -G 5.nef | grep -i 'date/time'

    [File]          File Modification Date/Time     : 2013:03:30 16:02:40-07:00

    [File]          File Access Date/Time           : 2013:02:23 09:46:27-08:00

    [EXIF]          Date/Time Original              : 2008:10:06 13:09:09

    [EXIF]          Date/Time Original              : 2007:10:06 13:09:09

    [Composite]     Date/Time Original              : 2007:10:06 13:09:09.33

     

    The first entry is the date I changed it to; the second is the orignal date.  Exiftool seems to think the second entry (the original) is the "good" one.  This does not happen on my sample .CR2 or .ARW raw files.

     

    This suggests a bug in LR 4.4RC.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 30, 2013 7:49 PM   in reply to John R. Ellis

    Some more investigation suggests that at least some NEF files are recording DateTimeOriginal in a way that doesn't strictly conform with the EXIF standard, and it is this nonconformance which is leading you to believe that LR is not updating EXIF:DateTimeOriginal in the NEF file.

     

    Soeren-H: What tool are you using to check whether DateTimeOriginal is getting updated by LR?

     

    For example, consider this sample D600 NEF from DPReview:

     

    http://s3.amazonaws.com/movies.dpreview.com/nikon_d600/ISO100.NEF.zip

     

    Here's what Exiftool shows:

     

    $ exiftool.exe -a -G1 ISO100.NEF | grep -i "date/time"

    [System]        File Modification Date/Time     : 2012:03:01 07:59:06-08:00

    [System]        File Access Date/Time           : 2012:03:01 07:59:06-08:00

    [IFD0]          Date/Time Original              : 2012:03:01 07:59:05

    [ExifIFD]       Date/Time Original              : 2012:03:01 07:59:05

    [Composite]     Date/Time Original              : 2012:03:01 07:59:05.40

     

    Note that DateTimeOriginal is recorded in both IFD0 and ExifIFD, whereas the EXIF standard indicates it should be stored in just ExifIFD.  In LR 4.4RC, when I give Metadata > Edit Capture Time followed by Metadata > Save Metadata To File, LR correctly updates ExifIFD:DateTimeOriginal, while it leaves IFD0:DateTimeOriginal untouched (which is reasonable):

     

    $ exiftool.exe -a -G1 ISO100.NEF | grep -i "date/time"

    [System]        File Modification Date/Time     : 2013:03:30 19:34:56-07:00

    [System]        File Access Date/Time           : 2012:03:01 07:59:06-08:00

    [IFD0]          Date/Time Original              : 2012:03:01 07:59:05

    [ExifIFD]       Date/Time Original              : 2013:03:01 07:59:05

    [Composite]     Date/Time Original              : 2012:03:01 07:59:05.40

     

    But even though the standard says that DateTimeOriginal should be stored in ExifIFD, Exiftool will prefer the one stored in IFD0 over the one in ExifIFD:

     

    $ exiftool.exe -G1 -datetimeoriginal ISO100.NEF    | grep -i "date/time"

    [IFD0]          Date/Time Original              : 2012:03:01 07:59:05

     

    Perhaps other tools behave the same way.  Which tool are you using?

     

    I'm not an expert on this part of the EXIF standard, so perhaps my understanding is not entirely correct.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 31, 2013 8:01 AM   in reply to Soeren-H

    I submitted this problem report with a suggestion for an easy workaround in the Edit Capture Time command:

     

    http://feedback.photoshop.com/photoshop_family/topics/edit_capture_tim e_leaves_nef_files_inconsistent?rfm=1

     

    Please add your vote to that topic.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points