ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Donzo98 on June 21, 2025, 03:01:21 PM

Title: Shutter Count Sony A1II
Post by: Donzo98 on June 21, 2025, 03:01:21 PM
I have installed EXIFTOOL on my Mac Studio, and it's working well.

When I drag an ARW file to Terminal... I can't see the shutter count as a listing.

Can anyone help??
Title: Re: Shutter Count Sony A1II
Post by: StarGeek on June 21, 2025, 03:39:26 PM
What version of exiftool?
exiftool -ver

What model is the camera?

Can you share a sample file?
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 21, 2025, 05:31:13 PM
Latest version of exiftool. Mac OS 15.41

Camera is Sony A1 Mark II.

I get all the metadata... but shutter count is not there.
Title: Re: Shutter Count Sony A1II
Post by: greybeard on June 22, 2025, 03:42:04 AM
This tag was added for the Sony A1 II in ExifTool version 13.19.

When you drag the file to the terminal what version of ExifTool does it display?

Otherwise maybe you could share a link to an image file.
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 08:48:43 AM
Thanks!

I will check later and send.
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 11:37:44 AM
Quote from: greybeard on June 22, 2025, 03:42:04 AMThis tag was added for the Sony A1 II in ExifTool version 13.19.

When you drag the file to the terminal what version of ExifTool does it display?

Otherwise maybe you could share a link to an image file.

Here you go... no shutter count listed.

(https://donzo98.easycgi.com/2025Pics/EXIF1.jpg)

(https://donzo98.easycgi.com/2025Pics/EXIF2.jpg)

(https://donzo98.easycgi.com/2025Pics/EXIF3.jpg)

(https://donzo98.easycgi.com/2025Pics/EXIF4.jpg)

(https://donzo98.easycgi.com/2025Pics/EXIF5.jpg)
Title: Re: Shutter Count Sony A1II
Post by: greybeard on June 22, 2025, 11:49:00 AM
Can you share an original file?
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 12:03:25 PM
Quote from: greybeard on June 22, 2025, 11:49:00 AMCan you share an original file?

How did I get it you?? It's so big...
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 12:08:21 PM
Quote from: greybeard on June 22, 2025, 11:49:00 AMCan you share an original file?

Here you go...

https://www.dropbox.com/scl/fi/bpto6jt0fefq9jjej4en9/DSC00140.ARW?rlkey=vu5c5j65gp9wk7z7067qxs4q2&st=ueowxe9d&dl=0
Title: Re: Shutter Count Sony A1II
Post by: StarGeek on June 22, 2025, 12:13:33 PM
You can use something like Dropbox, Mega.nz or Google Drive to share the file. If you use Google Drive, make sure the link isn't restricted. See this post (https://exiftool.org/forum/index.php?msg=92921).

WeTransfer (https://wetransfer.com/) is another site I've seen used, and I think there's a free option. I think it also has the advantage of automatically deleting the file after a few days.
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 12:28:35 PM
Link above...
Title: Re: Shutter Count Sony A1II
Post by: greybeard on June 22, 2025, 12:38:39 PM
Quote from: Donzo98 on June 22, 2025, 12:08:21 PM
Quote from: greybeard on June 22, 2025, 11:49:00 AMCan you share an original file?

Here you go...

https://www.dropbox.com/scl/fi/bpto6jt0fefq9jjej4en9/DSC00140.ARW?rlkey=vu5c5j65gp9wk7z7067qxs4q2&st=ueowxe9d&dl=0

I have no real answer but your file has almost the same format as a file from DPR for the same camera - except that the DPR sample has the following set of tags which your camera doesn't have:

< [Sony]          ShutterCount                    :    217
< [Sony]          SonyExposureTime                : 1/51
< [Sony]          SonyFNumber                    : 0.0
< [Sony]          ReleaseMode2                    : Normal
< [Sony]          InternalSerialNumber            : 00000000a20c

The only other significant difference I can see is the firmware version - perhaps Sony made a change?
Title: Re: Shutter Count Sony A1II
Post by: Donzo98 on June 22, 2025, 12:49:43 PM
Quote from: greybeard on June 22, 2025, 12:38:39 PM
Quote from: Donzo98 on June 22, 2025, 12:08:21 PM
Quote from: greybeard on June 22, 2025, 11:49:00 AMCan you share an original file?

Here you go...

https://www.dropbox.com/scl/fi/bpto6jt0fefq9jjej4en9/DSC00140.ARW?rlkey=vu5c5j65gp9wk7z7067qxs4q2&st=ueowxe9d&dl=0

I have no real answer but your file has almost the same format as a file from DPR for the same camera - except that the DPR sample has the following set of tags which your camera doesn't have:

< [Sony]          ShutterCount                    :    217
< [Sony]          SonyExposureTime                : 1/51
< [Sony]          SonyFNumber                    : 0.0
< [Sony]          ReleaseMode2                    : Normal
< [Sony]          InternalSerialNumber            : 00000000a20c

The only other significant difference I can see is the firmware version - perhaps Sony made a change?

Strange!!
Title: Re: Shutter Count Sony A1II
Post by: StarGeek on June 22, 2025, 05:51:22 PM
This is probably something Phil will have to look at to see if the format of the MakerNotes has changed. He may require a few images in sequence to figure out what changes from image to image.
Title: Re: Shutter Count Sony A1II
Post by: Phil Harvey on June 22, 2025, 08:38:53 PM
The relevant section of the exiftool -v3 output for the ILCE-1M2 firmware Version 1.000

  | | | 114) Tag9050d (SubDirectory) -->
  | | |     - Tag 0x9050 (256 bytes, undef[256]):
  | | |         980a: 00 00 00 00 00 00 00 00 00 00 4e 01 00 00 00 00 [..........N.....]
  | | |         981a: 00 00 00 00 00 00 00 00 00 87 5b be 00 00 e1 00 [..........[.....]
  | | |         982a: 00 00 11 d8 00 00 00 00 00 00 e7 00 00 00 70 40 [..............p@]
  | | |         983a: f9 00 f9 00 00 00 00 00 00 00 00 00 66 ea e7 8a [............f...]
  | | |         984a: 46 51 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [FQ..............]
  | | |         [snip 176 bytes]

The ShutterCount is stored encrypted in this record at offset 10 (0x0a hex).

But your version 2.000 firmware gives this:

  | | | 114) Sony_0x9050 = ................g.......h........................g..........[snip]
  | | |     - Tag 0x9050 (256 bytes, undef[256]):
  | | |         a87e: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [................]
  | | |         a88e: 67 ff ff ff ff ff ff ff 68 ff ff ff ff ff ff ff [g.......h.......]
  | | |         a89e: ff ff ff ff ff ff ff ff ff ff f1 ff f1 ff ff ff [................]
  | | |         a8ae: ff 67 ff ff ff ff ff ff ff ff ff ff ff ff ff fb [.g..............]
  | | |         a8be: 6d ff ff ff ff ff 6d 6d ff ff ff ff ff ff ff ff [m.....mm........]
  | | |         [snip 176 bytes]

It looks like the encryption may have changed.  But certainly there is nothing useful any more at offset 10.  :(

If you upload a few (say 7) images in sequence as StarGeek suggests I can take a look to see if I can find the new location.

- Phil
Title: Re: Shutter Count Sony A1II
Post by: JosR on June 24, 2025, 06:13:50 AM
The ShutterCount info appears to relate to the mechanical shutter only, and to be only available when the mechanical shutter is used.
Therefore, try setting the camera to use the mechanical shutter (Menu - Shooting - Shutter/Silent - Shutter Type = Mechanical) and then check again whether the ShutterCount info is available in the image file.
As far as I know, the Electronic Shutter releases are not counted.