Author Topic: Sony Makernotes to Exif  (Read 1412 times)

dgood

  • Full Member
  • ***
  • Posts: 37
Sony Makernotes to Exif
« on: December 07, 2016, 08:26:33 PM »
Hello,
In the Sony Makernotes, it records the ambient temperature as: 0x0004 AmbientTemperature. I'd like to take that value and copy it to the Exif tag 0x9400 AmbientTemperature.

How can I do that?

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16011
    • ExifTool Home Page
Re: Sony Makernotes to Exif
« Reply #1 on: December 07, 2016, 09:01:35 PM »
exiftool "-exif:ambienttemperature<sony:ambienttemperature" FILE

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

dgood

  • Full Member
  • ***
  • Posts: 37
Re: Sony Makernotes to Exif
« Reply #2 on: December 07, 2016, 10:31:45 PM »
Thank You!

dgood

  • Full Member
  • ***
  • Posts: 37
Re: Sony Makernotes to Exif
« Reply #3 on: December 08, 2016, 09:39:38 PM »
Phil,
Is there an XMP equivalent to the Exif AmbientTemperature tag? I was looking through your docs and couldn't find anything, but wanted to check with you.

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3287
Re: Sony Makernotes to Exif
« Reply #4 on: December 08, 2016, 10:54:40 PM »
It doesn't look like there is at this time.  A quick test with exiftool -xmp:ambienttemperature=10 returns "Warning: Tag 'xmp:AmbientTemperature' is not supported".  Previously, Phil said that the XMP specs for the new Exif tags weren't out yet.
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.