Project

General

Profile

Feature #1351

Add lens: Sigma 120-300mm f/2.8 G VR

Added by Nikolai Försterling over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lens
Target version:
Start date:
04 May 2018
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Using exiv2 0.25 001900 (64 bit build) (exiv2 0.25-3.1) in Ubuntu Bionic Development, this lens isn't recognized.
Unlike #1252 (ID 174), this ID 154 is the (newer) sigma sports series.

[23:11][nf@fox:~ ]$ exiv2 -pv 20151222_121133_D7000_300mm_3000.nef|grep -i lens
0x0083 Nikon3 LensType Byte 1 14
0x0084 Nikon3 Lens Rational 4 1200/10 3000/10 28/10 28/10
0x008b Nikon3 LensFStops Undefined 4 72 1 12 0
0x000c NikonLd3 LensIDNumber Byte 1 154
0x000d NikonLd3 LensFStops Byte 1 72
[00:15][nf@fox:~ ]$ exiftool 20151222_121133_D7000_300mm_3000.nef|grep -i lens
Lens Type : G VR
Lens : 120-300mm f/2.8
Lens Data Version : 0204
Lens ID Number : 154
Lens F Stops : 6.00
Lens ID : Unknown (9A 48 6E 8E 24 24 4B 0E)
Lens Spec : 120-300mm f/2.8 G VR


Files


Related issues

Related to Exiv2 - Feature #1349: Add lens: Sigma 50-100mm F1.8 DC HSM | AClosed04 May 2018

Actions

History

#1

Updated by Robin Mills over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.27
  • % Done changed from 0 to 10
  • Estimated time set to 1.00 h

Please provide a sample image as discussed in #1349 Thanks.

#2

Updated by Nikolai Försterling over 3 years ago

jpeg exported from darktable 2.4.3 as all RAW files are at least 25MB and cannot be posted

#3

Updated by Robin Mills over 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 10 to 100

Thank you for posting sample_raw on dropbox. Here's what I see:

527 rmills@rmillsmm:~/Downloads/sample_raw $ ls -lt
-rw-------+  1 rmills staff 29364162 May  6 08:39 20180331_134557_D750_1531_001531_120mm_1474_0483.nef
-rw-------+  1 rmills staff 28892024 May  6 08:33 20171225_115210_D7100_008610_100mm.nef
-rw-r--r--+  1 rmills staff  6886065 May  6 03:16 20180405_104918_D750_2136_002136_300mm_2072_2549.jpg

Running exiv2 on your images:
531 rmills@rmillsmm:~/Downloads/sample_raw $ exiv2 -pa --grep lensidnumber/i *
20171225_115210_D7100_008610_100mm.nef  Exif.NikonLd3.LensIDNumber                   Byte        1  Sigma 50-100mm F1.8 DC HSM | A
20180331_134557_D750_1531_001531_120mm_1474_0483.nef  Exif.NikonLd3.LensIDNumber                   Byte        1  120-300mm f/2.8 G VR
20180405_104918_D750_2136_002136_300mm_2072_2549.jpg  Exif.NikonLd3.LensIDNumber                   Byte        1  120-300mm f/2.8 G VR
532 rmills@rmillsmm:~/Downloads/sample_raw $ 
I've extracted the LensIDNumber from your images:
532 rmills@rmillsmm:~/Downloads/sample_raw $ exiv2 -pv --grep lensidnumber/i *
20171225_115210_D7100_008610_100mm.nef  0x000c NikonLd3     LensIDNumber                Byte        1  204
20180331_134557_D750_1531_001531_120mm_1474_0483.nef  0x000c NikonLd3     LensIDNumber                Byte        1  154
20180405_104918_D750_2136_002136_300mm_2072_2549.jpg  0x000c NikonLd3     LensIDNumber                Byte        1  154
533 rmills@rmillsmm:~/Downloads/sample_raw $
I've updated ~/.exiv2 appropriately:
[nikon]
154=Sigma 120-300mm f/2.8 G VR
204=Sigma 120-300mm f/2.8 G VR
And the len is correctly identified:
533 rmills@rmillsmm:~/Downloads/sample_raw $ exiv2 -pa --grep lensidnumber/i *
20171225_115210_D7100_008610_100mm.nef  Exif.NikonLd3.LensIDNumber                   Byte        1  Sigma 120-300mm f/2.8 G VR
20180331_134557_D750_1531_001531_120mm_1474_0483.nef  Exif.NikonLd3.LensIDNumber                   Byte        1  Sigma 120-300mm f/2.8 G VR
20180405_104918_D750_2136_002136_300mm_2072_2549.jpg  Exif.NikonLd3.LensIDNumber                   Byte        1  Sigma 120-300mm f/2.8 G VR
534 rmills@rmillsmm:~/Downloads/sample_raw $

Also available in: Atom PDF