Feature #1216
Detection of lens: AF-P DX Nikkor 18-55mm f/3.5-5.6G VR
Start date:
29 Aug 2016
Due date:
% Done:
100%
Estimated time:
1.00 h
Description
This lens does not seem to be automatically detected:
$ exiv2 -pt DSC_0152.NEF | grep -ai lens Exif.Nikon3.LensType Byte 1 D G VR Exif.Nikon3.Lens Rational 4 18-55mm F3.5-5.6 Exif.Nikon3.LensFStops Undefined 4 5.33333 Exif.NikonLd3.LensIDNumber Byte 1 160 Exif.NikonLd3.LensFStops Byte 1 F5.
http://www.nikon.com/news/2016/0105_lens_01.htm
Please let me know if there is anything else you need.
Associated revisions
History
Updated by Robin Mills about 5 years ago
- Status changed from New to Resolved
- Assignee set to Robin Mills
- Target version set to 0.26
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
I've given up on lens detection. Manufacturers use the same lensID for more than one lens. This is discussed here: http://dev.exiv2.org/issues/1212
On the trunk, you can add your lens to the file ~/.exiv2 You need to know your lensID
636 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pv --grep lens/i ~/Stonehenge.jpg 0x0083 Nikon3 LensType Byte 1 14 <--- This number 0x0084 Nikon3 Lens Rational 4 180/10 2500/10 35/10 63/10 0x008b Nikon3 LensFStops Undefined 4 55 1 12 0 0x000c NikonLd3 LensIDNumber Byte 1 146 0x000d NikonLd3 LensFStops Byte 1 55 637 rmills@rmillsmbp:~/gnu/exiv2/trunk $Put it into ~/.exiv2 (or c:\Users\username\exiv2.ini on MSVC/MinGW builds).
637 rmills@rmillsmbp:~/gnu/exiv2/trunk $ cat ~/.exiv2 [nikon] 14=Robin's Sigma Lens 638 rmills@rmillsmbp:~/gnu/exiv2/trunk $Now your lens will be recognised.
638 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pa --grep lens/i ~/Stonehenge.jpg Exif.Nikon3.LensType Byte 1 D G VR Exif.Nikon3.Lens Rational 4 18-250mm F3.5-6.3 Exif.Nikon3.LensFStops Undefined 4 4.58333 Exif.NikonLd3.LensIDNumber Byte 1 Robin's Sigma Lens Exif.NikonLd3.LensFStops Byte 1 F4.6 638 rmills@rmillsmbp:~/gnu/exiv2/trunk $
Updated by Robin Mills about 5 years ago
- Status changed from Resolved to Closed
#1216. Rollback r4448/6/2/1 r4439/38 to restabilize test suite on trunk. r4449 is copy of r4448 to branches/develop