Author Topic: HEIC Keywords in Lightroom  (Read 120 times)

robertoleonardo

  • Newbie
  • *
  • Posts: 7
HEIC Keywords in Lightroom
« on: May 12, 2019, 04:57:38 PM »
Has anyone had any luck getting tags in HEIC metadata to show up in lightroom as keywords upon import? i have all my tags written to both the keywords and subject tags using exiftool, and if i import jpgs, it works fine (i know writing both subject and keywords is redundant. i do both because i believe apple photos recognizes iptc subject and lightroom recognizes exif keywords, and i use both at different points in my workflow). But no luck  with HEIC's - ive successfully written keywords to heics since exiftool started supporting that a few months back, but no matter what keywords/subject tag data i have in the metadata, the photos are listed without any keywords when viewed from lightroom. 

I've also tried to add tags to heics from within lightroom, which creates an xmp sidecar, and then using tagsfromfile to transfer to the heic itself using exiftool. I can transfer the tags but if i try to reimport the file into lightroom, it doesn't show up as a LR keyword [but note that it DOES show up as a lightroom keyword if i just leave it in the sidecar and import that way - so i wonder if it's an issue of exiftool not being able to write certain required makernotes type metadata from the sidecar to the file].

i generally just use -keywords=... and -subject=.... when experimenting. i have tinkered with things  like -exif:keywords or -all:keywords, but not enough to confidently say that the solution, if there is one, doesn't relate to that. i just don't fully understand the technical stuff relating to these options within exiftool to say i've exhausted that possibility.


 if anyone has any specific commands/parameters to try, i'm all ears. thanks!

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 2372
Re: HEIC Keywords in Lightroom
« Reply #1 on: May 12, 2019, 06:06:10 PM »
I don't have access to any HEIC files myself, but my guess is that they are just too new and Adobe just hasn't gotten around to adding support.  There is also probably questions as to what standard to use, as IIRC, it's Quicktime based, and as Phil has mentioned here before, Quicktime metatdata standards are a mess. 

Just a couple of notes, though.  Keywords is an IPTC (legacy) tag, not EXIF.  There is no correlating tag in the EXIF block (except XPKeywords, sorta, which is only really supported by Microsoft).  Subject is an XMP tag.  Since Adobe created XMP, it's probably the one that Lightroom is more likely to get quicker support when they get around to it.

Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

robertoleonardo

  • Newbie
  • *
  • Posts: 7
Re: HEIC Keywords in Lightroom
« Reply #2 on: May 12, 2019, 06:38:25 PM »
I figured as much. Adobe made a big fuss about adding heic compatibility recently - of course they were just referring to the images themselves, but sorta seems like they would've messed with keywords at the same time. Still, i hear what you're saying and that must be right. thanks for the thoughts.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14438
    • ExifTool Home Page
Re: HEIC Keywords in Lightroom
« Reply #3 on: May 12, 2019, 09:35:59 PM »
Adding proper HEIC write support is next on my list of things to do.  Right now ExifTool writes XMP in the same location as MP4 files, but software expects it in a different location for HEIC.  This will be a lot of work, but I hope to have this done within a month or so.

- 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 ($).

robertoleonardo

  • Newbie
  • *
  • Posts: 7
Re: HEIC Keywords in Lightroom
« Reply #4 on: May 12, 2019, 11:05:19 PM »
ahhh makes sense. thanks so much phil!

Hayo Baan

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 938
  • Professional Photographer & Software Developer
    • Hayo Baan – Photography
Re: HEIC Keywords in Lightroom
« Reply #5 on: May 13, 2019, 04:15:13 PM »
Actually, the way ACR (and I think Lightroom) support HEIC images is just via an XMP sidecar file. I suggest you write your changes to that instead of embedding in the file.
Hayo Baan – Photography
Web: www.hayobaan.nl

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14438
    • ExifTool Home Page
Re: HEIC Keywords in Lightroom
« Reply #6 on: May 13, 2019, 04:36:31 PM »
Interesting.  Thanks for mentioning this Hayo.  I'm sure you've saved some future head-banging.

BTW, it will be much less than a month before ExifTool will have this ability -- I made very good progress with this today.

- 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 ($).

robertoleonardo

  • Newbie
  • *
  • Posts: 7
Re: HEIC Keywords in Lightroom
« Reply #7 on: May 17, 2019, 03:34:20 PM »
i see the update from this am, which seems to add the functionality you refer to Phil, but i am not sure it added what i was hoping it would (and if not: so be it and thank you so so much anyway for exiftool). i think this is a close derivative of Hayo's point: but i'm still not having luck transferring keywords [xmp-dc:subject and xmp-dc:hierarchicalsubject] from the adobe created xmp to the file such that lightroom picks it up when importing the HEIC WITHOUT the xmp sidecar.

It may be that whatever xmp info there is in the sidecar is proprietary and thus i can't simply write it to the heic file, and so even if the tags themselves transferred to somewhere in the HEIC metadata, other key info was not written from the XMP.  I've used tagsfromfile (all<all; xmp:all<all; xmp-dc:subject<${xmp-dc:subject}; *subject*<${xmp-dc:subject}; and a few other variations) to try to write the whole xmp sidecar and was having trouble getting them to even write to, despite exiftool saying 1 file updated.  i've also specifically and directly tried to populate those exact tags in the HEIC ["-xmp-dc:subject=Testing123"] - when I did it directly like this, they've written fine, but when I import into lightroom - it still doesn't show any lightroom keywords in the lightroom UI.  When I leave the sidecar in the folder upon import, though, it does pick up those tags as lightroom keywords, as one would expect. 

I hear you, Hayo, that it may be easiest to just use side cars, but for various reasons i hope to avoid that. can you or anyone who knows better what they're talking about than i conform that, even with today's exiftool update (and even if though it's probably easier to just use side cars), it is simply not presently possible to write directly to heic metadata in a way that it'll show up as a keyword in lightroom upon import?   

i'm happy to post a sample xmp sidecar as created by lightroom it would be helpful - just let me know
« Last Edit: May 17, 2019, 03:45:50 PM by robertoleonardo »

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14438
    • ExifTool Home Page
Re: HEIC Keywords in Lightroom
« Reply #8 on: May 17, 2019, 05:07:24 PM »
I think Hayo is right here.  HEIC metadata support in LightRoom may still be lacking.

- 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 ($).

robertoleonardo

  • Newbie
  • *
  • Posts: 7
Re: HEIC Keywords in Lightroom
« Reply #9 on: May 17, 2019, 05:58:29 PM »
ahhhh got it. i think the link i was missing was that lightroom writing to an xmp sidecar necessarily meant (or at least did mean here) that it also can't  correctly read heic metadata directly (or at least keywords). didn't realize those two things went hand in hand here. but, makes sense, and bummer but no big deal. my ocd self will manage to survive. thanks for talks thoughts!