Phil,
When testing this Format File for Nikon D800 I am aware that Tag "Safety Shift" doesn't exist as this is a Canon tag.
By leaving the following line with two possible Tags I don't get any output for either, but if I put them on separate lines then I am only missing the Safety Shift tag .
with FileName = $FileName, Image_COUNT<<<($FileSequence)>>> on same line is not a problem
Problem Line
i) Date Time = $CreateDate , ii) Safety Shift = $SafetyShift
Below is the complete format file.
Kind regards
Andy
# comment Line
#[HEAD]
#[HEAD] GUI2 [ © Andrew Quinlan]
#[HEAD] EXIFTOOL [ © Phil Harvey http://www.exiftool.org/]
#[HEAD] "HyperFocal Distance Data Extracted from Image MetaData Tags "
#[HEAD]
#[HEAD] By having letters a) b) ..... you can easily see if a TAG is Missing in Output
#[HEAD]
#[HEAD] FileName, Image_COUNT <<<( )>>> Nikon D800
#[HEAD] i)Create Date/Time, ii)Safety Shift should be: Disable
#[HEAD]
#[HEAD] a) Camera Model Name (Camera Used) ... e.g. Nikon D800
#[HEAD] b) Lens Make e.g. Sigma 10-20mm f/3.5 EX DC HSM
#[HEAD] c) Lens 35mm Equivalent e.g. 10.0 - 20.0 mm (35 mm equivalent: 15.7 - 31.4 mm)
#[HEAD] d) Depth Of Field e.g. inf (2.08 m - inf)
#[HEAD] e) Field Of View e.g. 59.6 deg
#[HEAD] f) Mirror Lockup [Enable / Disable] e.g. Enable
#[HEAD] g) EXIF:Exposure Program e.g Aperture-priority AE
#[HEAD] h) Contrast Detect AF e.g. Off
#[HEAD] i) Contrast Detect AF in Focus e.g. No
#[HEAD] j) Phase Detect AF e.g. Off
#[HEAD] k) AF Aperture e.g. 2.8
#[HEAD] l) Aperture Value e.g. 9.9
#[HEAD] m) Circle Of Confusion(CoC)... e.g. 0.019 mm
#[HEAD] n) Scale Factor To 35 mm e.g. 1.6
#[HEAD] o) Focus Distance e.g. 10.0 mm (35 mm equivalent: 15.7 mm)
#[HEAD] p) Focus Mode e.g. Manual Focus (3)
#[HEAD] q) HyperFocal Distance(HFD).... e.g. 0.65 m
#[HEAD] r) Max Focal Length e.g. 3.41 m
#[HEAD] s) Min Focal Length e.g. 1.88 m
#[HEAD] t) Shutter Speed e.g. 1/100
#[HEAD] u) Shutter Speed Value e.g. 1/99
#[HEAD] v) Sharpness e.g. 7
#[HEAD]
#[HEAD] -------------- First Image ------------------
#[HEAD]
FileName = $FileName, Image_COUNT<<<($FileSequence)>>>
i) Date Time = $CreateDate , ii) Safety Shift = $SafetyShift
a) Camera Used = $Model
b) Lens Make = $LensID
c) Lens 35mm Equivalent = $FocalLengthIn35mmFormat
d) Depth Of Field = $DOF
e) Field Of View = $FOV
f) Mirror Lockup = $MirrorLockup
g) EXIF:Exposure Program = $EXIF:ExposureProgram
h) Contrast Detect AF = $ContrastDetectAF
i) Contrast Detect AF in Focus = $ContrastDetectAFinFocus
j) Phase Detect AF = $PhaseDetectAF
k) AF Aperture = $AFAperture
l) Aperture = $Aperture
m) Circle Of Confusion(CoC) = $CircleOfConfusion
n) Scale Factor To 35 mm = $ScaleFactor35efl
o) Focus Distance = $FocusDistance
p) FocusMode = $FocusMode
q) Hyperfocal Distance = $HyperfocalDistance
r) Max Focal Length = $MaxFocalLength
s) Min Focal Length = $MixFocalLength
t) Shutter Speed = $ShutterSpeed
u) Shutter Speed Value = $ShutterSpeedValue
v) Sharpness = $Sharpness
-------- Next Image ---------------------------
#[TAIL] ...........end
Hi Andy,
From the exiftool application documentation (https://exiftool.org/exiftool_pod.html) for the -p option:
If a specified tag does not exist, a minor warning is issued and
the line with the missing tag is not printed. However, the -f
option may be used to set the value of missing tags to '-' (but
this may be configured via the MissingTagValue API option), or the
-m option may be used to ignore minor warnings and leave the
missing values empty.
Does this answer your question?
- Phil
Hi Phil,
Yes it does , many thanks for your help.
I now have to find the Nikon equivalent of Safety Shift if it exists !
I have looked through the Nikon D800 metadata and also your site to find a Nikon Tag for Mirror Lockup
bu haven't found one so far.
Thanks again for your help.
Kind regards
Andy