FAQ FAQ  Forum Search   Events   Register Register  Login Login

The alpha shutter count tool

Page  <1234 15>
Author
sybersitizen View Drop Down
Senior Member
Senior Member

Joined: 04 August 2006
Country: United States
Location: California
Status: Offline
Posts: 14394
Post Options Post Options   Quote sybersitizen Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2013 at 17:52
Originally posted by abkan abkan wrote:

I uploaded an out-of-cam jpeg taken with A900 with filename DSC08298 and it gave me a shutter count of 10051 or something like that. This is not correct, I estimate the shutter count by simply how many times I got past 9999 to be on the order of 30,000 or so. Shutter has not been changed, but the cam has been serviced twice for sensor claning and soon after that for broken wheels of the mirror return mechanism (or something of that nature).

Not a good example. If a camera was serviced, the internal counter may have been reset by a tech.

The same thing form my A55: file number was 1070, this is what came out:
Detected Camera model : SLT-A55V
| | | | | Sony_MoreInfo0201_0x011b = 128
| | | | | Sony_MoreInfo0201_0x011c = 47
| | | | | Sony_MoreInfo0201_0x011d = 0
(65536 * 0) + (256 * 47) + 128 = 12160

Total shutter count for file DSC01070.JPG: 12160

I think I have turned the 9999 at least once if not twice before.This camera has never been serviced by Sony.

Not a good example if you only think that and are not sure. If it has only turned over once, the count could be exactly correct when also considering multiple actuations that are recorded with HDR, Multi-Frame NR, Hand-Held Twilight, and panorama shots.
 



Back to Top
mike77 View Drop Down
Senior Member
Senior Member

Joined: 26 February 2011
Country: Austria
Status: Offline
Posts: 621
Post Options Post Options   Quote mike77 Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2013 at 17:59
Results looks reasonable:

Detected Camera model : SLT-A99V
| | | | Sony_Tag9050_0x0032 = 92
| | | | Sony_Tag9050_0x0033 = 3
| | | | Sony_Tag9050_0x0034 = 0
(65536 * 0) + (256 * 3) + 92 = 860
A99, NEX-C3, HVL-F43M, more than enough glass (A, E, M42, MD)
Back to Top
Micholand View Drop Down
Admin Group
Admin Group
Knowledgebase Contributor

Joined: 30 October 2005
Country: Germany
Location: MUC
Status: Offline
Posts: 15918
Post Options Post Options   Quote Micholand Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2013 at 18:48
Borut, please list the SonyTags identified till now in the maker notes of the other Alpha cameras! Thx!
/Michael

DWEs don't grow on trees! | Posting images&links FAQ
Back to Top
Tricky01 View Drop Down
Senior Member
Senior Member

Joined: 08 September 2010
Country: United Kingdom
Location: Woodley, Berks.
Status: Offline
Posts: 3095
Post Options Post Options   Quote Tricky01 Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2013 at 23:26
Originally posted by ricardovaste ricardovaste wrote:

I got this result:
Originally posted by shutter count tool shutter count tool wrote:

(65536 * ) + (256 * ) + = 0
Any ideas?


Originally posted by godsakes godsakes wrote:

the craw from my a850 I uploaded with came back with 0 for some reason

Hi gents. I also was having the same problem but it seems - for me with aperture 3 at least - the 'export original raw file' option, despite being an .arw file, doesn't work. I don't know what Aperture is doing to the EXIF (if anything), but that seemed to be a weak link. When I then tracked down some straight from body (in fact tethered) A900 JPEGs, everything came out roughly as I thought. One has had slightly more mileage than I was expecting (24k) while the other about right at (14k).

Are you using files straight from the memory card/tethered camera or are they stored in some software and extracted from there? May well not be the same problem at all, but hopefully helpful to someone reading through this.
Site
A7iii, A7Riii, A7R (full spectrum) 12f2.8, 15f2, 16-35f4, 35f1.8, 50 1.8, 85f1.8, 135GM, 100-400GM, 200-600G, 1.4xTC // A mount: Sig90f2.8, Sig180f3.5 Macros
Back to Top
Guy View Drop Down
Senior Member
Senior Member

Joined: 29 July 2011
Country: Slovenia
Status: Offline
Posts: 245
Post Options Post Options   Quote Guy Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 09:08
Hello all again!

Yes, there are some problems with the tool, as I only threw it together more or less as a proof of concept.
To get a result, you must provide an ORIGINAL RAW, CRAW or JPEG directly from the camera. Like some of you discovered, practically any software for importing/exporting/whatever will destroy this part of the exif.
If you provide a link, make sure to provide the link to the file itself (A usual problem is with flick when you provide a link to the html file which shows your image. I will provide instructions on how to do it correctly later).
The fields for the cameras so far:

SONY Alpha A55 (Possibly also A33, maybe someone can check)
Shutter count fields:
Sony_MoreInfo0201_0x011b = A
Sony_MoreInfo0201_0x011c = B
Sony_MoreInfo0201_0x011d = C
SUM = A + (B * 256) + (C * 65536)
SUM = (C << 16) + (B << 8) + A


SONY Alpha A900 and A850
Shutter count fields:
Sony_FocusInfo_0x0846 = A
Sony_FocusInfo_0x0847 = B
Sony_FocusInfo_0x0848 = C
SUM = A + (B * 256) + (C * 65536)
SUM = (C << 16) + (B << 8) + A


SONY Alpha A99
Shutter count fields:
Sony_Tag9050_0x0032 = A
Sony_Tag9050_0x0033 = B
Sony_Tag9050_0x0034 = C
SUM = A + (B * 256) + (C * 65536)
SUM = (C << 16) + (B << 8) + A


Instructions on how to manually check this are available in this post.

I also developed a small python script which with the help of exiftool finds all the suspect fields in sequential files. With this I think it is possible to quickly identify correct fields.

I would also like to ask people who have cameras with replaced shutters/mirror mechanisms to provide an original file from before and after the service. I am quite sure that this information is stored in the makernotes, and I have a feeling that I know where (but I have no such files on hand)!

Regards,
Borut

mod edit: typo in SonyTags of A900 corrected

Edited by Micholand - 17 April 2013 at 18:30
When you have to shoot, shoot, don't talk!
Back to Top
Pigman View Drop Down
Newbie
Newbie

Joined: 15 April 2013
Country: United Kingdom
Location: Devon
Status: Offline
Posts: 6
Post Options Post Options   Quote Pigman Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 09:45
Thanks for your efforts to provide this tool, but it doesn't seem to work for me. First I used the manual method using exiftool on 5 different files from my A900 and A850. Using exiftool manually I got sensible results.

When I used your tool on the same files I got shutter count of 0 (zero) from both cameras.

When I use exiftool manually, I am using the formula SUM = A + (B * 256) + (C * 65536) to give me shutter count. Is this correct?

Also, I don't understand the formula SUM = (C << 16) + (B << 8) + A. What does the << mean?

Edited by Micholand - 17 April 2013 at 18:31
 



Back to Top
ricardovaste View Drop Down
Senior Member
Senior Member

Joined: 08 August 2007
Country: United Kingdom
Location: Shropshire
Status: Offline
Posts: 10069
Post Options Post Options   Quote ricardovaste Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 10:07
Just tried an original file from the camera, not imported/downloaded... still getting the same result :(. I will try a JPEG maybe...
I photograph the moments in people's lives that mean the most to them: Richard Harris Photography
Back to Top
ricardovaste View Drop Down
Senior Member
Senior Member

Joined: 08 August 2007
Country: United Kingdom
Location: Shropshire
Status: Offline
Posts: 10069
Post Options Post Options   Quote ricardovaste Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 10:13
Worked with a JPEG, yay! My "old" a900 is only at 31K as well, which makes me feel good, loads of life left in it yet :)
I photograph the moments in people's lives that mean the most to them: Richard Harris Photography
Back to Top
Jocelynne View Drop Down
Senior Member
Senior Member

Joined: 17 June 2009
Location: United States
Status: Offline
Posts: 2819
Post Options Post Options   Quote Jocelynne Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 11:13
Thanks, all. Appreciated.
Maxxum 450si, Sony A300, A700, A900 and a cubic meter of Alpha lenses
Back to Top
Guy View Drop Down
Senior Member
Senior Member

Joined: 29 July 2011
Country: Slovenia
Status: Offline
Posts: 245
Post Options Post Options   Quote Guy Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 11:35
Added support for A77.
It uses the same tags as the A99.
If someone has a file that does not work, but it should (especially if it works manually), I would appreciate if you could upload it somewhere so that I could test.

And to answer:
The C << 16 and B << 8 are programming terms, it means that the value of C is shifted by 16 bits to the left and B 8 bits to the left.
It's basically the same as the regular equation.

Edited by Guy - 17 April 2013 at 11:39
When you have to shoot, shoot, don't talk!
Back to Top
rhae View Drop Down
Newbie
Newbie

Joined: 17 April 2013
Status: Offline
Posts: 1
Post Options Post Options   Quote rhae Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 11:43
I compared 2 pictures of the A77 and I'm shure that the counter data is at Sony_Tag9050_0x0032-35:





Back to Top
Pigman View Drop Down
Newbie
Newbie

Joined: 15 April 2013
Country: United Kingdom
Location: Devon
Status: Offline
Posts: 6
Post Options Post Options   Quote Pigman Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 12:07
Originally posted by Guy Guy wrote:

Added support for A77.
It uses the same tags as the A99.
If someone has a file that does not work, but it should (especially if it works manually), I would appreciate if you could upload it somewhere so that I could test.


OK, I have 5 files, 3 from A900 and 2 from A850. Where would you like them uploaded?

Originally posted by Guy Guy wrote:

And to answer:
The C << 16 and B << 8 are programming terms, it means that the value of C is shifted by 16 bits to the left and B 8 bits to the left.
It's basically the same as the regular equation.


Thanks for your response. Now they make perfect sense. Presumably the values for a, b and c are stored in 3 8bit bytes. Anyway, I guess it's OK to use the simple mathematical formula.
Back to Top
Guy View Drop Down
Senior Member
Senior Member

Joined: 29 July 2011
Country: Slovenia
Status: Offline
Posts: 245
Post Options Post Options   Quote Guy Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 12:21
I would appreciate that!

Use http://tools.science.si/perm/index.php to upload the files permanently. This script is identical, it just leaves the uploaded files in the temporary folder.

Also, added 560 and 580, BUT there are two suspected counters in the EXIF.
One field is the same as the A55/A33, but there is another set of bytes just a couple bytes away, that increases in the same manner, but the number is completely different. Any input on this is appreciated!

Regards,
Borut
When you have to shoot, shoot, don't talk!
Back to Top
Pigman View Drop Down
Newbie
Newbie

Joined: 15 April 2013
Country: United Kingdom
Location: Devon
Status: Offline
Posts: 6
Post Options Post Options   Quote Pigman Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2013 at 12:44
Originally posted by Guy Guy wrote:

I would appreciate that!

Use http://tools.science.si/perm/index.php to upload the files permanently. This script is identical, it just leaves the uploaded files in the temporary folder.

Regards,
Borut


OK, have uploaded one file from my A850, which gives a shutter count of about 6400 according to manual method on exiftool. (maybe 6402, but I don't have the scrap of paper I wrote it on).

Am in process of uploading a second file from A850, maybe with an extra 26 or so shots on it, but it takes nearly 10 minutes to upload each file.

I have to go out for a while, so will upload three files from my A900 later on this afternoon.
Back to Top
Dyxum main page >  Forum Home > Equipment forums > Camera Talk Page  <1234 15>

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.063 seconds.

Monitor calibration strip

Dyxum.com - Home of the alpha system photographer

In memory of Cameron Hill - brettania

Feel free to contact us if needed.