FAQ FAQ  Forum Search   Events   Register Register  Login Login

Image/Shutter actuation info - Sony Alpha JPG+ARW

Author
MiPr View Drop Down
Admin Group
Admin Group
Mikre Dyxum Administrator

Joined: 25 August 2006
Country: Poland
Location: Wroclaw
Status: Offline
Posts: 22273
Post Options Post Options   Quote MiPr Quote  Post ReplyReply Direct Link To This Post Topic: Image/Shutter actuation info - Sony Alpha JPG+ARW
    Posted: 11 May 2013 at 21:56
Just a note after playing a bit with ExifTool: in case of the group of cameras in which NEX-6 resides it is only possible to retrieve info about "Image Count" but IMO this term is misleading and should be replaced by "Exposure Count". The problem is that those cameras allow one to use multi-exposure techniques like "free-hand night shot" (or whatever Sony calls it) and "sweep panorama". For example the former forces the camera to fire 6 exposures and combines those shots into one. As a result you get files which are numbered in a consecutive way e.g. _DSC0129 and _DSC_0130 whereas the ExifTool reports e.g. 1499 and 1505 respectively.
I'm noise-blind. And noise-about-noise-deaf too ... |   BTW, Dyxum Weekly Exhibitions don't grow on trees ...
 



Back to Top
nigelbrooks View Drop Down
Emeritus group
Emeritus group

Joined: 15 March 2006
Country: England
Location: Ealing, London
Status: Offline
Posts: 8526
Post Options Post Options   Quote nigelbrooks Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2013 at 14:55
Sweet indeed!
I've been away!
Back to Top
SteveSavage View Drop Down
Groupie
Groupie

Joined: 13 February 2013
Country: United States
Location: United States
Status: Offline
Posts: 59
Post Options Post Options   Quote SteveSavage Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2013 at 14:51
Sweet mother of science, I bought a new camera pretty much!

Detected Camera model : DSLR-A850
Shutter actuations made up to file _DSC0010.JPG: 11699
| | | | Sony_FocusInfo_0x0846 = 179
| | | | Sony_FocusInfo_0x0847 = 45
| | | | Sony_FocusInfo_0x0848 = 0
(65536 * 0) + (256 * 45) + 179 = 11699
Back to Top
armyhidi View Drop Down
Newbie
Newbie

Joined: 25 March 2013
Status: Offline
Posts: 6
Post Options Post Options   Quote armyhidi Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2013 at 14:47
Originally posted by Micholand Micholand wrote:

armyhidi, you might want to re-read the above summary, especially the following paragraph:

  • A100 / A200 / A300 / A350 / A700:
    no such "counter" tags in maker notes directly; most likely data is encrypted and accessible via service tools only, like KM5D



  • hi,

    I have read it in the begining .

    well here is 'maker notes ' tags .actually there are hundred of tags.the only problem we dont know their relationship in order to calculate

    Sony Focus Info 0x0846     126
    Sony Focus Info 0x0847     3
    Sony Focus Info 0x0848     231
    Back to Top
    Micholand View Drop Down
    Admin Group
    Admin Group
    Knowledgebase Contributor

    Joined: 30 October 2005
    Country: Germany
    Location: MUC
    Status: Offline
    Posts: 18865
    Post Options Post Options   Quote Micholand Quote  Post ReplyReply Direct Link To This Post Posted: 05 May 2013 at 09:46
    armyhidi, you might want to re-read the above summary, especially the following paragraph:

  • A100 / A200 / A300 / A350 / A700:
    no such "counter" tags in maker notes directly; most likely data is encrypted and accessible via service tools only, like KM5D
  • /Michael

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

    Joined: 25 March 2013
    Status: Offline
    Posts: 6
    Post Options Post Options   Quote armyhidi Quote  Post ReplyReply Direct Link To This Post Posted: 30 April 2013 at 09:23
    hi

    I try http://regex.info/exif.cgi and could get requested data for calculation on A700 but seems that sonyfocus Sony_FocusInfo_0x846,847 and 848 numbers to big and if use same formulas as per A900 result reach millions.

    any body try it?



    Edited by Micholand - 05 May 2013 at 09:37
     



    Back to Top
    JosR View Drop Down
    Groupie
    Groupie

    Joined: 21 August 2007
    Country: Netherlands
    Location: Netherlands
    Status: Offline
    Posts: 109
    Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2013 at 22:56
    Originally posted by Micholand Micholand wrote:

    These special SonyTags and their respective data can be extracted via exiftool - for details see here.
    A small update on that: based on the information above, Phil Harvey has implemented the direct extraction of ImageCount and Shuttercount in the latest release of Exiftool, version 9.28 of 21 April 2013.
    Just an example with one of my A580 files:
    exiftool.exe -ImageNumber -ImageCount -ShutterCount A580_09770.jpg
    Image Number                    : 9770
    Image Count                     : 10971
    Shutter Count                   : 11253
    ILCA-77M2 + SAL1680Z, SAL70300G, SAL70400G2, Minolta 100mm Macro, ILCE-7RM4 + SEL24105G, SEL100400GM, LA-EA5
    Back to Top
    Micholand View Drop Down
    Admin Group
    Admin Group
    Knowledgebase Contributor

    Joined: 30 October 2005
    Country: Germany
    Location: MUC
    Status: Offline
    Posts: 18865
    Post Options Post Options   Quote Micholand Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2013 at 10:06

    This thread is a short condensed summary of all the findings and informations discovered so far w.r.t. image/shutter counter tags in the maker notes of Sony Alpha cameras.

    Intentionally posted as a read only reference which will be updated in case there are any new findings. Questions or further discussion, please use the referenced threads stated below!





    Image/Shutter actuation information in Sony Alpha JPG and ARW files

    Besides the "normal" information (such as shutter speed, focal length, aperture, etcetera...), the EXIF from the original image file (straight out of the cam) usually contains additional information in the so-called "maker notes". The number of actuations is covert and stored as three bytes of data in the maker notes. This is the case for all Sony DSLR/DSLT and NEX cameras, except the following ones: A100, A200, A300, A350 and A700.

    The initial findings of the corresponding SonyTags for A900/A850 were discovered and published first on German mi-fo.de forum by it's member "Hans-J." . Based on this info Dyxum member "Guy" was able to further identify the corresponding SonyTags used, which hold the shutter actuation data, in all the other Alpha cameras in the maker notes and also set up a small tool site - http://tools.science.si/index.php - to calculate and report back the shutter count via a script by simply uploading an unedited JPG or (c)RAW to this server.

    Calculation of shutter counter from these three SonyTags is done as follows:
    all bytes are MSB on the left:     Tag3 | Tag2 | Tag1
    SUM = (Tag3 << 16) + (Tag2 << 8) + Tag1 = (2^16 * Tag3) + (2^8 * Tag2) + Tag1 = (65536 * Tag3) + (256 * Tag2) + Tag1


    And here's the list of SonyTags identified so far in the maker notes of the Alphas which hold the info:
    • A230 / A290 / A330 / A380 / A390 / A850 / A900:
      Sony_FocusInfo_0x0848 | Sony_FocusInfo_0x0847 | Sony_FocusInfo_0x0846

      SUM = (65536 * Sony_FocusInfo_0x0848) + (256 * Sony_FocusInfo_0x0847) + Sony_FocusInfo_0x0846

    • A450 / A500 / A550:
      Sony_MoreInfo0201_0x014c | Sony_MoreInfo0201_0x014b | Sony_MoreInfo0201_0x014a

      SUM = (65536 * Sony_MoreInfo0201_0x014c) + (256 * Sony_MoreInfo0201_0x014b) + Sony_MoreInfo0201_0x014a

    • A33 / A35 / A55 / A560 / A580 / NEX-3 / NEX-C3 / NEX-5
      Sony_MoreInfo0201_0x011e | Sony_MoreInfo0201_0x011c | Sony_MoreInfo0201_0x011b
      - image counter
      SUM = (65536 * Sony_MoreInfo0201_0x011d) + (256 * Sony_MoreInfo0201_0x011c) + Sony_MoreInfo0201_0x011b

      Sony_MoreInfo0201_0x0127 | Sony_MoreInfo0201_0x0126 | Sony_MoreInfo0201_0x0125 - full shutter actuation counter
      SUM = (65536 * Sony_MoreInfo0201_0x0127) + (256 * Sony_MoreInfo0201_0x0126) + Sony_MoreInfo0201_0x0125

      The difference here is that for each image made there is one extra shutter actuation if using live-view which is the default on SLT and NEX.

    • A37 / A57 / A58 / A65 / A77 / A99 / NEX-3N / NEX-3F / NEX-5N /NEX-5R / NEX-6 / NEX-7:
      Sony_Tag9050_0x0034 | Sony_Tag9050_0x0033 | Sony_Tag9050_0x0032

      SUM = (65536 * Sony_Tag9050_0x0034) + (256 * Sony_Tag9050_0x0033) + Sony_Tag9050_0x0032

    • A100 / A200 / A300 / A350 / A700:
      no such "counter" tags in maker notes directly; most likely data is encrypted and accessible via service tools only, like KM5D

    These special SonyTags and their respective data can be extracted via exiftool - for details see here.
    Mind that the file, to give you the shutter actuation data, has to be unedited as most image editing software will strip out the info required from the maker notes!

    Furthermore these counters do not correspond 1:1 to the file image number given on the memory card, but rather are higher due to the fact that shutter was actuated during tethered shooting or intelligent preview (A900/A850); some shooting functions even make multiple actuations such as sweep panorma, multi shot iso mode, hand-held twilight even though only one image is recorded in the end.


    Reference:
    /Michael

    DWEs don't grow on trees! | Posting images&links FAQ
    Back to Top
    Dyxum main page >  Forum Home > Dyxum Community > Knowledge Base

    Forum Jump Forum Permissions View Drop Down



    This page was generated in 0.064 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.