Author Topic: Getting the serial number from a 5D2 file  (Read 5624 times)

Offline Mike-D

  • Newcomer
  • *
  • Posts: 37
    • View Profile
Getting the serial number from a 5D2 file
« on: April 11, 2010, 07:54:50 AM »
Hi there,

I'm wondering if there is a trick I am unaware of to get the serial number for a 5D2 file for use in batch renaming during ingest. The listed tokens (snum, serial, serialnum) don't seem to work. 4.5.3.1 on an intel mac.

Thanks,

...Mike
---
Mac OS X 10.6.3
PM 4.6.5

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Getting the serial number from a 5D2 file
« Reply #1 on: April 11, 2010, 11:24:38 AM »
Mike,

You're not the first to ask for this. However, it seems the serial number is either not encoded into the file at all, or at least encoded in such a way that it can not (yet) be deciphered (even the latest version of ExifTool isn't able to do this).

Perhaps in the future it is possible to decode the serial number. If this is the case, I'm sure Camerabits will add this to PM as well.

Cheers,
    Hayo
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Getting the serial number from a 5D2 file
« Reply #2 on: April 11, 2010, 02:52:52 PM »
Mike,

I'm wondering if there is a trick I am unaware of to get the serial number for a 5D2 file for use in batch renaming during ingest. The listed tokens (snum, serial, serialnum) don't seem to work. 4.5.3.1 on an intel mac.

More recent versions of Photo Mechanic should be able to get the serial number of a Canon 5D Mark II.  I believe we added support for that camera in version 4.6.

Hayo: the information that is harder to divine is the 'actuation' or 'shutter' count.  Serial numbers should not be a problem.

-Kirk

Offline Phil Harvey

  • Newcomer
  • *
  • Posts: 12
    • View Profile
Re: Getting the serial number from a 5D2 file
« Reply #3 on: April 29, 2010, 05:09:33 AM »
However, it seems the serial number is either not encoded into the file at all, or at least encoded in such a way that it can not (yet) be deciphered (even the latest version of ExifTool isn't able to do this).

But ExifTool does extract the 5DmkII serial number:

exiftool CanonEOS5D_MarkII.jpg -serialnumber
Camera Body No.                 : 0000000432


- Phil

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Getting the serial number from a 5D2 file
« Reply #4 on: May 02, 2010, 03:34:31 AM »
However, it seems the serial number is either not encoded into the file at all, or at least encoded in such a way that it can not (yet) be deciphered (even the latest version of ExifTool isn't able to do this).

But ExifTool does extract the 5DmkII serial number:

exiftool CanonEOS5D_MarkII.jpg -serialnumber
Camera Body No.                 : 0000000432


Oops, you're absolutely right. I was looking for a field in the output called anything with "serial" in it. Never thought it would be called "Camera Body No.".  My bad. Sorry  ::)
Hayo Baan - Photography
Web: www.hayobaan.nl

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 545
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: Getting the serial number from a 5D2 file
« Reply #5 on: May 02, 2010, 09:36:50 PM »
I can confirm that the latest version of PM does accurately report the serial number on images from the EOS 5D Mark II.
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/