Post your LensType / LensID discoveries here

Started by Phil Harvey, January 08, 2012, 08:37:16 PM

Previous topic - Next topic

Phil Harvey

Right.  That only works if I add the new lens name as an alternate for this ID.

But you could do something like this:

exiftool -api filter="s/smc PENTAX-D FA Macro 100mm F2.8 WR/HD PENTAX-D FA MACRO 100mm F2.8 ED AW/" ...

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

dmont

Thanks, the filter is neat. I just added an alias.

What's the usual criteria for lenses being listed as alternatives?

Asiatrader

FD 00 44 44 18 18 DF 00
Voigtlaender APO Lanthar 35mm f/2 with Nikon Z mount

devbobo

G'day Phil,

Getting a weird result for `Composite:LensID` for a Canon RF 100-300mm f/2.8 L IS USM Lens.

[{
  "ExifTool:ExifToolVersion": 12.60,
  "EXIF:Make": "Canon",
  "EXIF:Model": "Canon EOS R3",
  "EXIF:LensInfo": "100-300mm f/?",
  "EXIF:LensModel": "RF100-300mm F2.8 L IS USM",
  "XMP:LensInfo": "100-300mm f/?",
  "XMP:Lens": "RF100-300mm F2.8 L IS USM",
  "XMP:LensID": 61182,
  "Composite:LensID": "Canon RF 100-500mm F4.5-7.1L IS USM or Canon RF 100-500mm F4.5-7.1L IS USM + RF1.4x or Canon RF 100-500mm F4.5-7.1L IS USM + RF2x or Canon RF 100mm F2.8L MACRO IS USM or Canon RF 100-400mm F5.6-8 IS USM or Canon RF 100-400mm F5.6-8 IS USM + RF1.4x or Canon RF 100-400mm F5.6-8 IS USM + RF2x"
}]

Thanks,

David

StarGeek

The problem is the LensID value of 61182.  Canon didn't give that value to just one lens.  At the moment, there are 53 known lens with that number.  Exiftool can sometimes make some assumptions based on other values in the file to narrow it down, but not always.

Link to the source code listing all possible lenses.

Edit: See this thread where Phil gives a better description of the problem.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Quote from: Asiatrader on September 30, 2023, 02:37:08 AMFD 00 44 44 18 18 DF 00
Voigtlaender APO Lanthar 35mm f/2 with Nikon Z mount

Great, thanks.  This will appear in ExifTool 12.68.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

grubste

Hi Phil,

here's again a new entry of a new Nikon Z Lens:

ZLensID:  42; ExtLensID: ''; Manufacturer: 'Nikon'; Lens: 'Nikkor Z 180-600mm f/5.6-6.3 VR'

Just shoot, if You need a sample picture.

Cheers,
Stefan

Phil Harvey

Thanks!  I'll add that in version 12.69.  I don't need a sample for this one.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

CFRM

#308
Hello I have a Zeiss Otus 1.4/28 ZF.2

[ExifTool]      ExifToolVersion                : 12.73
[EXIF]          Make                            : NIKON CORPORATION
[EXIF]          Model                          : NIKON D800E
[MakerNotes]    Lens                            : 28mm f/1.4
[MakerNotes]    LensDataVersion                : 0204
[MakerNotes]    LensFStops                      : 7.00
[MakerNotes]    LensIDNumber                    : 2
[MakerNotes]    LensType                        : AF
[Composite]    LensID                          : Unknown (02 54 3C 3C 0C 0C 00 00)
[Composite]    LensSpec                        : 28mm f/1.4 AF

Let me know if you would like a sample file

Best regards

Chris

bokesan

Hi Phil,

to my surprise, the "native" Z-mount Voigtländer lenses look like AI-P lenses in the EXIF.
Here is the Voigtländer MACRO APO-Lanthar 65mm F2:

Make                            : NIKON CORPORATION
Lens Type                      : AF
Lens Mount Type                : F-mount Lens
Lens ID                        : Unknown (FD 00 59 59 18 18 DF 00)
Lens Spec                      : 65mm f/2 AF
ExifTool Version Number        : 12.73

Regards,

Chris

Phil Harvey

Hi Chris,

Great, thanks!  I'll add these lenses in ExifTool 12.74

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Jan.Steinman

I see you've already added the new OMDS 150-600mm lens to your database at: https://exiftool.org/TagNames/Olympus.html

I see that you only have one Laowa listed there (50/2.8 macro). Here's a couple more:

Lens                            : LAOWA C&D-Dreamer MFT6.0mm F2.0
Lens ID                         : Unknown (LAOWA C&D-Dreamer MFT6.0mm F2.0)
Lens Model                      : LAOWA C&D-Dreamer MFT6.0mm F2.0

Lens ID                         : LAOWA C&D-Dreamer MFT7.5mm F2.0
Lens Model                      : LAOWA C&D-Dreamer MFT7.5mm F2.0
Lens Serial Number              : LW7520 88888
Lens Type                       : Unknown (f7 03 10)

Laowa also makes a 10mm MFT manual-focus lens with electrical contacts.

Hope this is useful!

Phil Harvey

Sorry for the delay in responding.  Would it be possible to send me samples for these two lenses?

Thanks.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

jxl

This is for a Voigtlander NOKTON 40mm F1.2 Aspherical
Lens ID   FD 00 48 48 07 07 DF 00
This one is a Z-mount, however the exif reports 0 for LensMountType

---- Nikon ----
Lens Type 0
Lens 40 40 1.2 1.2
Lens Data Version 0802
Exit Pupil Position 40.156862745098
AF Aperture 1.22405354330466
Lens ID Number 253
Lens F Stops 0
Min Focal Length 40
Max Focal Length 40
Max Aperture At Min Focal 1.22405354330466
Max Aperture At Max Focal 1.22405354330466
MCU Version 223
Effective Max Aperture 1.22405354330466
Lens Mount Type 0
---- ExifIFD ----
Lens Info 40 40 1.2 1.2
Lens Make
Lens Model 40mm f/1.2
Lens Serial Number
---- Composite ----
Lens ID FD 00 48 48 07 07 DF 00
Lens ID FD 00 48 48 07 07 DF 00
Lens Spec 40 40 1.2 1.2 0

Values:
<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about='NZF_2222.NEF'
  xmlns:et='http://ns.exiftool.org/1.0/' et:toolkit='Image::ExifTool 12.76'
  xmlns:Nikon='http://ns.exiftool.org/MakerNotes/Nikon/1.0/'
  xmlns:ExifIFD='http://ns.exiftool.org/EXIF/ExifIFD/1.0/'
  xmlns:Composite='http://ns.exiftool.org/Composite/1.0/'>
 <Nikon:LensType et:id='131' et:table='Nikon::Main'>0</Nikon:LensType>
 <Nikon:Lens et:id='132' et:table='Nikon::Main'>40 40 1.2 1.2</Nikon:Lens>
 <Nikon:LensFStops et:id='139' et:table='Nikon::Main'>0</Nikon:LensFStops>
 <Nikon:LensDataVersion et:id='0' et:table='Nikon::LensData0800'>0802</Nikon:LensDataVersion>
 <Nikon:LensIDNumber et:id='13' et:table='Nikon::LensData0800'>253</Nikon:LensIDNumber>
 <Nikon:LensFStops et:id='14' et:table='Nikon::LensData0800'>0</Nikon:LensFStops>
 <Nikon:LensMountType et:id='53' et:table='Nikon::LensData0800'>0</Nikon:LensMountType>
 <ExifIFD:LensInfo et:id='42034' et:table='Exif::Main'>40 40 1.2 1.2</ExifIFD:LensInfo>
 <ExifIFD:LensMake et:id='42035' et:table='Exif::Main'></ExifIFD:LensMake>
 <ExifIFD:LensModel et:id='42036' et:table='Exif::Main'>40mm f/1.2</ExifIFD:LensModel>
 <ExifIFD:LensSerialNumber et:id='42037' et:table='Exif::Main'></ExifIFD:LensSerialNumber>
 <Composite:LensID et:id='Nikon-LensID' et:table='Composite'>FD 00 48 48 07 07 DF 00</Composite:LensID>
 <Composite:LensSpec et:id='Nikon-LensSpec' et:table='Composite'>40 40 1.2 1.2 0</Composite:LensSpec>
 <Nikon:AFAperture et:id='5' et:table='Nikon::LensData0800'>1.22405354330466</Nikon:AFAperture>
 <Nikon:ExitPupilPosition et:id='4' et:table='Nikon::LensData0800'>40.156862745098</Nikon:ExitPupilPosition>
 <Nikon:MinFocalLength et:id='15' et:table='Nikon::LensData0800'>40</Nikon:MinFocalLength>
 <Nikon:MaxFocalLength et:id='16' et:table='Nikon::LensData0800'>40</Nikon:MaxFocalLength>
 <Nikon:EffectiveMaxAperture et:id='20' et:table='Nikon::LensData0800'>1.22405354330466</Nikon:EffectiveMaxAperture>
 <Nikon:MaxApertureAtMinFocal et:id='17' et:table='Nikon::LensData0800'>1.22405354330466</Nikon:MaxApertureAtMinFocal>
 <Nikon:MaxApertureAtMaxFocal et:id='18' et:table='Nikon::LensData0800'>1.22405354330466</Nikon:MaxApertureAtMaxFocal>
 <Composite:LensID et:id='Nikon-LensID' et:table='Composite'>FD 00 48 48 07 07 DF 00</Composite:LensID>
 <Nikon:MCUVersion et:id='19' et:table='Nikon::LensData0800'>223</Nikon:MCUVersion>
</rdf:Description>
</rdf:RDF>

Descriptions:
<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

<rdf:Description rdf:about='NZF_2222.NEF'
  xmlns:et='http://ns.exiftool.org/1.0/' et:toolkit='Image::ExifTool 12.76'
  xmlns:Nikon='http://ns.exiftool.org/MakerNotes/Nikon/1.0/'
  xmlns:ExifIFD='http://ns.exiftool.org/EXIF/ExifIFD/1.0/'
  xmlns:Composite='http://ns.exiftool.org/Composite/1.0/'>
 <Nikon:LensType et:id='131' et:table='Nikon::Main'>AF</Nikon:LensType>
 <Nikon:Lens et:id='132' et:table='Nikon::Main'>40mm f/1.2</Nikon:Lens>
 <Nikon:LensFStops et:id='139' et:table='Nikon::Main'>0.00</Nikon:LensFStops>
 <Nikon:LensDataVersion et:id='0' et:table='Nikon::LensData0800'>0802</Nikon:LensDataVersion>
 <Nikon:LensIDNumber et:id='13' et:table='Nikon::LensData0800'>253</Nikon:LensIDNumber>
 <Nikon:LensFStops et:id='14' et:table='Nikon::LensData0800'>0.00</Nikon:LensFStops>
 <Nikon:LensMountType et:id='53' et:table='Nikon::LensData0800'>F-mount Lens</Nikon:LensMountType>
 <ExifIFD:LensInfo et:id='42034' et:table='Exif::Main'>40mm f/1.2</ExifIFD:LensInfo>
 <ExifIFD:LensMake et:id='42035' et:table='Exif::Main'></ExifIFD:LensMake>
 <ExifIFD:LensModel et:id='42036' et:table='Exif::Main'>40mm f/1.2</ExifIFD:LensModel>
 <ExifIFD:LensSerialNumber et:id='42037' et:table='Exif::Main'></ExifIFD:LensSerialNumber>
 <Composite:LensID et:id='Nikon-LensID' et:table='Composite'>Unknown (FD 00 48 48 07 07 DF 00)</Composite:LensID>
 <Composite:LensSpec et:id='Nikon-LensSpec' et:table='Composite'>40mm f/1.2 AF</Composite:LensSpec>
 <Nikon:AFAperture et:id='5' et:table='Nikon::LensData0800'>1.2</Nikon:AFAperture>
 <Nikon:ExitPupilPosition et:id='4' et:table='Nikon::LensData0800'>40.2 mm</Nikon:ExitPupilPosition>
 <Nikon:MinFocalLength et:id='15' et:table='Nikon::LensData0800'>40.0 mm</Nikon:MinFocalLength>
 <Nikon:MaxFocalLength et:id='16' et:table='Nikon::LensData0800'>40.0 mm</Nikon:MaxFocalLength>
 <Nikon:EffectiveMaxAperture et:id='20' et:table='Nikon::LensData0800'>1.2</Nikon:EffectiveMaxAperture>
 <Nikon:MaxApertureAtMinFocal et:id='17' et:table='Nikon::LensData0800'>1.2</Nikon:MaxApertureAtMinFocal>
 <Nikon:MaxApertureAtMaxFocal et:id='18' et:table='Nikon::LensData0800'>1.2</Nikon:MaxApertureAtMaxFocal>
 <Composite:LensID et:id='Nikon-LensID' et:table='Composite'>Unknown (FD 00 48 48 07 07 DF 00)</Composite:LensID>
 <Nikon:MCUVersion et:id='19' et:table='Nikon::LensData0800'>223</Nikon:MCUVersion>
</rdf:Description>
</rdf:RDF>

jxl

Nilon Z LensID 48 = NIKKOR Z 28-400mm f/4-8 VR

---- Nikon ----
Lens Type                       : VR
Lens                            : 28-400mm f/4-8
Lens ID                         : Unknown (48)
Lens Mount Type                 : Z-mount Lens
---- ExifIFD ----
Lens Info                       : 28-400mm f/4-8
Lens Make                       : NIKON
Lens Model                      : NIKKOR Z 28-400mm f/4-8 VR
---- Composite ----
Lens Spec                       : 28-400mm f/4-8 VR
Lens ID                         : NIKKOR Z 28-400mm f/4-8 VR