ExifTool Forum

General => Metadata => Topic started by: Beholder3 on October 07, 2015, 03:53:01 AM

Title: Pentax custom settings in metadata?
Post by: Beholder3 on October 07, 2015, 03:53:01 AM
Hi,
I wonder if you'd be willing to use your forensic skills on trying to identify if/where Pentax custom settings might be coded into the makernotes similarly to how you dug out the place where the teleconverter is documented.

One interesting custom setting would be the "auto focus hold" setting C-18 which has four possible values (off/short/medium/long).

I could provide a bunch of test files shot with all four settings.
Title: Re: Pentax custom settings in metadata?
Post by: Phil Harvey on October 07, 2015, 07:44:30 AM
I didn't do this for my K10D and K-5, so I'm not sure they are available, but I can give it a try.

Let's start with the AutoFocusHold setting.  Send me 8 samples (lens cap on, manual exposure, small JPEG) taken in this order and I'll see what I can find:  m,o,l,s,l,s,m,o (o=off, s=short, m=medium, l=long).

- Phil
Title: Re: Pentax custom settings in metadata?
Post by: Beholder3 on October 09, 2015, 08:25:34 AM
Thanks. I just mailed you the requested 8 files.
Title: Re: Pentax custom settings in metadata?
Post by: Phil Harvey on October 09, 2015, 09:38:16 AM
OK, here is how to extract the AutoFocusHold information for the K-3 II:

exiftool -U -Pentax_AFInfo_0x01fd DIR

It could be that the other custom settings are located in and around this section of the metadata.  If you shoot some test images and systematically grep the above ExifTool -U -s output for tags around this, you may be able to decode the settings.  If you send me your discoveries I will add them to ExifTool.  You can report them in this format:

AFInfo_0x01fd: AutoFocusHold 0=Off, 1=Short, 2=Medium, 3=Long

Hopefully all of the settings are in independent bytes, but it could be that a single byte stores multiple settings.  I can deal with this too if it happens -- just report the byte values and I'll sort it out.

Of if you want, just send me the EXIF (exiftool -o %d%f.exif DIR) and a description of each file and I'll do the grepping.

Thanks.

- Phil
Title: Re: Pentax custom settings in metadata?
Post by: Beholder3 on October 12, 2015, 04:02:27 PM
Great that you were able to identify the tag!

I actually don't really understand what you mean by this "grepping" thing. But I did shoot more sample shots for each of the remaining 25 custom settings of the Pentax K-3 II and mailed you the metadata extracts generated as you described.

Maybe you are able to identify more tags from them.  :)

I can provide more test data, but I fear I am unable to help with the actual tag identification. That is beyond my skills.
Title: Re: Pentax custom settings in metadata?
Post by: Phil Harvey on October 13, 2015, 08:13:12 AM
Thanks.  I'll analyze these as soon as I get a chance, and post back here if I need anything else.

- Phil
Title: Re: Pentax custom settings in metadata?
Post by: Beholder3 on October 19, 2015, 06:23:33 AM
Did you have a first look by any chance?
Title: Re: Pentax custom settings in metadata?
Post by: Phil Harvey on October 19, 2015, 07:22:17 AM
Yes, but it wasn't as easy as I was hoping.  The rest of the settings are not stored in the same area of the metadata.  I haven't yet managed to locate where they are.

- Phil
Title: Re: Pentax custom settings in metadata?
Post by: Phil Harvey on November 09, 2015, 11:28:06 AM
I spent some time on this and it looks like the settings are embedded deep in a binary data block.  It will be difficult to decode, and the format of these blocks often changes with firmware version.  I plan to do more work on this when I can, and to compare with sample images from other K-3 II firmware versions, but this is more of a long term project for me I think.

- Phil