Author Topic: Post your LensType / LensID discoveries here  (Read 97083 times)

ms

  • Newbie
  • *
  • Posts: 3
Re: Post your LensType / LensID discoveries here
« Reply #195 on: June 23, 2018, 11:50:53 AM »
Hi, Phil,

first: Thx for the great ExifTool and also to Bogdan for ExifToolGUI, which i both use for about 6 years.

I've found informations on the following lens (used with Nikon D750): Sigma 24-70mm F/2.8 DG OS HSM Art
Lens ID                         : Unknown (C9 48 37 5C 24 24 4B 4E)
Lens Spec                     : 24-70mm f/2.8 G VR [6]
Lens Data Version          : 0204

Greetings from Germany
M.S.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #196 on: June 24, 2018, 08:23:18 PM »
Great, thanks!

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

alfi

  • Newbie
  • *
  • Posts: 1
Re: Post your LensType / LensID discoveries here
« Reply #197 on: July 24, 2018, 08:12:46 PM »

Hi Phil,

I have the Canon version of a Sigma 20mm/1.4 Art (it's updated to the latest firmware). I'm using it on a Canon 5Dmk3 here and the lens info ExifTool displays seems to be a bit off..

With ExifTool 10.40:

$ exiftool -Lens\* -LensType# TZ2_JST_20180724_194421_5d3_ed2b9119.jpg
Lens Type                       : Unknown (368)
Lens Info                       : 20mm f/0
Lens Model                      : 20mm F1.4 DG HSM | Art 015
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Canon 20mm F1.4 DG HSM | Art 015
Lens                            : 20.0 mm (35 mm equivalent: 19.4 mm)
Lens Type                       : 368

Here at least it shows as a 20mm/1.4 lens. Please note that the LensType is 368 here.

With ExifTool 11.06 it got worse:

$ exiftool -Lens\* TZ2_JST_20180724_194421_5d3_ed2b9119.jpg
Lens Type                       : Sigma 14-24mm f/2.8 DG HSM | A
Lens Info                       : 20mm f/0
Lens Model                      : 20mm F1.4 DG HSM | Art 015
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Sigma 14-24mm f/2.8 DG HSM | A + 1.4x
Lens                            : 20.0 mm (35 mm equivalent: 19.4 mm)

Now it's recognized as a Sigma, but it became a Sigma 14-24/2.8 Art.

I've dug out an older picture. This is the Sigma 20mm/1.4 Art (with the old firmware version) on the Canon 6D:

$ exiftool -Lens\* -LensType# slide_20160101_000113_6d_img_1748.jpg
Lens Type                       : Canon EF 24mm f/1.4L II or Sigma Lens
Lens Info                       : 20mm f/0
Lens Model                      : Canon EF 24 f/1.4L II
Lens Serial Number              : 0000000000
Lens                            : 20.0 mm
Lens ID                         : Sigma 20mm f/1.4 DG HSM | A
Lens                            : 20.0 mm (35 mm equivalent: 19.7 mm)
Lens Type                       : 250

Here the lens type is 250 and the LensID is correct.

I guess that means the lens type changed with the firmware update (or the 5Dmk3 stores a different lens type for that lens than the 6D, but I have no older pictures of that lens on the 5Dmk3 at hand right now to verify that)?

I've now added a new line for type 368 in /usr/share/perl5/Image/ExifTool/Canon.pm to work around the problem.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #198 on: July 25, 2018, 07:09:30 AM »
Thanks.  I'll add another 368 LensType entry for this lens.

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

c++

  • Jr. Member
  • **
  • Posts: 24
Re: Post your LensType / LensID discoveries here
« Reply #199 on: July 25, 2018, 07:15:53 AM »
Phil,

I've been looking at some images from a Fuji Finepix S5Pro, and can't get lens data from them.

Code: [Select]
exiftool -Lens\* -LensType# *.raf
Invalid TAG name: Lens\*

I'll attach a full meta data dump of the file. The s5Pro is Nikon F-Mount and the lens in this case is:
AF-S VR Micro-Nikkor 105mm f/2.8G IF-ED

Is this interesting? If yes there are more lenses on the S5 I can share data of or pass on raws.
« Last Edit: July 25, 2018, 07:43:52 AM by c++ »

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #200 on: July 25, 2018, 07:37:32 AM »
It seems that some FujiFilm models don't write lens information, and the S5 pro is one of them.

Either that, or there is lens information that ExifTool isn't yet decoding, but to find this I would need a LOT of samples from a lot of different lenses.  You can do this yourself by looking at the -u output and trying to find anything that correlates with the lens.

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

c++

  • Jr. Member
  • **
  • Posts: 24
Re: Post your LensType / LensID discoveries here
« Reply #201 on: July 25, 2018, 07:48:38 AM »
Either that, or there is lens information that ExifTool isn't yet decoding, but to find this I would need a LOT of samples from a lot of different lenses.

I figured that if it's in there it might be interesting what Adobe decodes from it.
Here is RAW converted to DNG
Code: [Select]
exiftool -Lens* -LensType# *.dng
Lens                            : 105.0 mm f/2.8
Lens Info                       : 105mm f/2.8
Lens Model                      : 105.0 mm f/2.8
Something is in that file it seems.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #202 on: July 25, 2018, 07:51:40 AM »
ExifTool decodes the focal-length/aperture information:

Code: [Select]
> exiftool ../pics/FujiFilmFinePixS5Pro.raf -"*focal*"
Focal Length                    : 70.0 mm
Min Focal Length                : 28
Max Focal Length                : 70
Max Aperture At Min Focal       : 2.8
Max Aperture At Max Focal       : 2.8
Focal Plane X Resolution        : 630
Focal Plane Y Resolution        : 630
Focal Plane Resolution Unit     : cm
Focal Length In 35mm Format     : 105 mm
Focal Length                    : 70.0 mm (35 mm equivalent: 105.0 mm)
Hyperfocal Distance             : 37.16 m

But nothing about the lens model.

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

c++

  • Jr. Member
  • **
  • Posts: 24
Re: Post your LensType / LensID discoveries here
« Reply #203 on: July 25, 2018, 07:53:55 AM »
You can do this yourself by looking at the -u output and trying to find anything that correlates with the lens.

That seems to be all that's in the *.raf and it explains what Adobe gets out of it:
Code: [Select]
Min Focal Length                : 105
Max Focal Length                : 105
Max Aperture At Min Focal       : 2.8
Max Aperture At Max Focal       : 2.8
Focal Length                    : 105.0 mm (35 mm equivalent: 158.0 mm)

c++

  • Jr. Member
  • **
  • Posts: 24
Re: Post your LensType / LensID discoveries here
« Reply #204 on: July 25, 2018, 08:17:02 AM »
But nothing about the lens model.
Yeah, thanks that will need to be some manual arrangement based on what is on the actual meta data.

I would have expected Composite:LensID to always give something but here I encounter
Code: [Select]
Warning: [minor] Tag 'Composite:LensID' not definedI take it 105.0 mm f/2.8 is not accurate enough to use it for that?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #205 on: July 25, 2018, 08:27:39 AM »
Yes.  That would be more along the lines of LensInfo, and not LensID (it isn't identifying the specific lens model).  However, there currently is no Composite LensInfo tag.

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

Beholder3

  • Sr. Member
  • ****
  • Posts: 214
Re: Post your LensType / LensID discoveries here
« Reply #206 on: August 03, 2018, 03:40:54 AM »
Lens tag 8/64 on Pentax is the "HD PENTAX-D FA* 50mm F1,4 SDM AW"

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #207 on: August 07, 2018, 07:23:27 AM »
Thanks!  I was waiting for this one.

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

Beholder3

  • Sr. Member
  • ****
  • Posts: 214
Re: Post your LensType / LensID discoveries here
« Reply #208 on: August 19, 2018, 05:16:03 AM »
I have a Canon mount Sigma 50 Art here that registers as "Unknown (368) 50mm".
From your documentation I would have expected the Lens to have lens type 180.1   = Sigma 50mm f/1.4 DG HSM | A

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16878
    • ExifTool Home Page
Re: Post your LensType / LensID discoveries here
« Reply #209 on: August 19, 2018, 09:14:47 PM »
Thanks.  There are other Sigma lenses that also use ID 368, like the 20mm Art... I'll add the 50mm to the list.

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