Lightroom does not update focal length from sidecar XMP file

  • 1
  • Problem
  • Updated 8 months ago
  • (Edited)
Hello,
I've recently tried to shoot with a lens connected via m42 adapter and noticed the strange lens name of "1-65535mm" and started to dig how to fix it to proper name and found a way with updating XMP sidecar files with proper lens name and focal length and then read metadata from files.
But the thing I've step on is about changing focal length: Lightroom catched lens name but done nothing about focal length.

OS: Mac OS High Sierra GM
Lightroom: 2015.12 Release


So how to set proper focal length manually to reflect it in Lightroom on both of metadata pane for each photo and metadata filters?
Photo of Igor Shishkin

Igor Shishkin

  • 4 Posts
  • 1 Reply Like

Posted 8 months ago

  • 1
Photo of Simon Chen

Simon Chen, Principal Computer Scientist

  • 1385 Posts
  • 413 Reply Likes
The transferring and recording of the correct lens info is the responsibility of the lens and camera. My experience is that when a lens adaptor/extender is involved, it does not indicate that an adaptor/extender is involved.
Photo of Igor Shishkin

Igor Shishkin

  • 4 Posts
  • 1 Reply Like
Sure, I totally agree. Unfortunately that not always possible, so the question is about how to fix that after the shoot for better collection organisation and metadata search :)
Photo of Alan Harper

Alan Harper

  • 404 Posts
  • 78 Reply Likes
If I wanted to do this, I would use exiftool to set the lens metadata
$ exiftool -lens="my name for the combination" -focallength="100.0" *.xmp
Note that once you do this, Lightroom won't be able to apply lens corrections (which might not be a problem), and other metadata will be out of sync (35 mm equivalent focal length, for example).

See here for a list of EXIF data you can set in your photos.
(Edited)
Photo of Igor Shishkin

Igor Shishkin

  • 4 Posts
  • 1 Reply Like
It's exactly what I've done, and than trying to get focal length in metadata to be able to search through them I've tried to "Read Metadata from File" for all of updated files. But Lightroom ignored focal length and catches lens name only.