ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: nms on October 06, 2011, 09:17:35 AM

Title: Panasonic makernotes: Baby*
Post by: nms on October 06, 2011, 09:17:35 AM
Windows XP SP3, exiftool 8.64


Warning: Bad MakerNotes offset for BabyAge - w:/rimages/by-date/200x/2007/09/01/20070901075009-40002.jpg
Warning: Bad MakerNotes offset for BabyAge - w:/rimages/by-date/200x/2007/09/01/20070901075009-40002.jpg

The manual for Panasonic Lumix DMC-G2 talks (writes?) about two babies.

Shall the fields be named BabyOne* and BabyTwo*?
Title: Re: Panasonic makernotes: Baby*
Post by: Phil Harvey on October 06, 2011, 09:20:54 AM
What command did you use?  If the file was processed twice then you could get 2 error messages for the same tag.

- Phil
Title: Re: Panasonic makernotes: Baby*
Post by: nms on October 06, 2011, 09:24:50 AM

C:\>exiftool -tagsFromFile "w:/%d/%f.%e" -@ nms.args -overwrite_original -r rimages

Whole set of the messages per file is
Quote
Warning: [minor] Possibly incorrect maker notes offsets (fix by -76?) - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Warning: Bad MakerNotes offset for DataDump - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Warning: Bad MakerNotes offset for InternalSerialNumber - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Warning: Bad MakerNotes offset for BabyAge - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Warning: Bad MakerNotes offset for BabyAge - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Warning: Error rebuilding maker notes (may be corrupt) - w:/rimages/by-date/200x/2007/09/01/20070901074951-40001.jpg
Title: Re: Panasonic makernotes: Baby*
Post by: Phil Harvey on October 06, 2011, 09:42:08 AM
It looks like this one file is generating both messages, but I would only be guessing about the reason without a sample image to analyze.

- Phil
Title: Re: Panasonic makernotes: Baby*
Post by: nms on October 06, 2011, 10:20:20 AM
Well,
this page http://www.exiftool.org/TagNames/Panasonic.html (http://www.exiftool.org/TagNames/Panasonic.html) has two tags (0x033 and 0x8010) with the same name.

See the sample below

Quote
S:\Projects\Lumix\still>exiftool -ver
8.66

S:\Projects\Lumix\still>exiftool -H P1070002.JPG
     - ExifTool Version Number         : 8.66
     - File Name                       : P1070002.JPG
     - Directory                       : .
     - File Size                       : 5.6 MB
     - File Modification Date/Time     : 2011:06:19 22:34:40+04:00
     - File Permissions                : rw-rw-rw-
     - File Type                       : JPEG
     - MIME Type                       : image/jpeg
     - Exif Byte Order                 : Little-endian (Intel, II)
0x010f Make                            : Panasonic
0x0110 Camera Model Name               : DMC-G2
0x0112 Orientation                     : Rotate 270 CW
0x011a X Resolution                    : 180
0x011b Y Resolution                    : 180
0x0128 Resolution Unit                 : inches
0x0131 Software                        : Ver.1.0
0x0132 Modify Date                     : 2011:06:19 22:34:41
0x0213 Y Cb Cr Positioning             : Co-sited
0x829a Exposure Time                   : 1/60
0x829d F Number                        : 3.6
0x8822 Exposure Program                : Portrait
0x8827 ISO                             : 100
0x9000 Exif Version                    : 0221
0x9003 Date/Time Original              : 2011:06:19 22:34:41
0x9004 Create Date                     : 2011:06:19 22:34:41
0x9101 Components Configuration        : Y, Cb, Cr, -
0x9102 Compressed Bits Per Pixel       : 4
0x9204 Exposure Compensation           : 0
0x9205 Max Aperture Value              : 3.6
0x9207 Metering Mode                   : Multi-segment
0x9208 Light Source                    : Flash
0x9209 Flash                           : Auto, Fired, Red-eye reduction
0x920a Focal Length                    : 15.0 mm
0x0001 Image Quality                   : High
0x0002 Firmware Version                : 0.1.0.0
0x0003 White Balance                   : Auto
0x0007 Focus Mode                      : Auto
0x000f AF Area Mode                    : Auto or Face Detect
0x001a Image Stabilization             : On, Mode 1
0x001c Macro Mode                      : Off
0x001f Shooting Mode                   : Portrait
0x0020 Audio                           : No
0x0021 Data Dump                       : (Binary data 6152 bytes, use -b option to extract)
0x0022 Panasonic 0x0022                : 0
0x0024 Flash Bias                      : 3
0x0025 Internal Serial Number          : (X14) 2010:08:27 no. 0009
0x0026 Panasonic Exif Version          : 0300
0x0027 Panasonic 0x0027                : 0
0x0028 Color Effect                    : Off
0x0029 Time Since Power On             : 00:00:31.28
0x002a Burst Mode                      : Off
0x002b Sequence Number                 : 0
0x002c Contrast Mode                   : Low
0x002d Noise Reduction                 : Standard
0x002e Self Timer                      : Off
0x002f Panasonic 0x002f                : 1
0x0030 Rotation                        : Rotate 270 CW
0x0031 AF Assist Lamp                  : Enabled but Not Used
0x0032 Color Mode                      : Normal
0x0033 Baby Age                        : (not set)
0x0034 Optical Zoom Mode               : Standard
0x0035 Conversion Lens                 : Off
0x0036 Travel Day                      : n/a
0x0037 Panasonic 0x0037                : 257
0x0038 Panasonic 0x0038                : 4
0x0039 Contrast                        : Normal
0x003a World Time Location             : Home
0x003b Text Stamp                      : Off
0x003c Program ISO                     : 100
0x003d Advanced Scene Mode             : Normal
0x003e Text Stamp                      : Off
0x003f Faces Detected                  : 0
0x0040 Saturation                      : Normal
0x0041 Sharpness                       : Normal
0x0042 Film Mode                       : Standard (color)
0x0043 Panasonic 0x0043                : 2
0x0044 Panasonic 0x0044                : 2500
0x0045 Panasonic 0x0045                : 0
0x0046 WB Adjust AB                    : 0
0x0047 WB Adjust GM                    : 0
0x0048 Panasonic 0x0048                : 1
0x0049 Panasonic 0x0049                : 1
0x004a Panasonic 0x004a                : 0
0x004b Panasonic Image Width           : 0
0x004c Panasonic Image Height          : 0
0x004d AF Point Position               : 0.5 0.5
0x0000 Num Face Positions              : 0
0x004f Panasonic 0x004f                : 0
0x0050 Panasonic 0x0050                : 0
0x0051 Lens Type                       : LUMIX G VARIO 14-42/F3.5-5.6
0x0052 Lens Serial Number              : 10EG41401812
0x0053 Accessory Type                  : NO-ACCESSORY
0x0054 Panasonic 0x0054                : 0000000
0x0055 Panasonic 0x0055                : 1
0x005a Panasonic 0x005a                : 0
0x005b Panasonic 0x005b                : 0
0x005c Panasonic 0x005c                : 0
0x005d Intelligent Exposure            : Off
0x005e Panasonic 0x005e                : .
0x005f Panasonic 0x005f                :
0x0060 Panasonic 0x0060                : .
0x0000 Faces Recognized                : 0
0x0063 Recognized Face Flags           : 0 0 0 0
0x0065 Title                           :
0x0066 Baby Name                       :
0x0067 Location                        :
0x0070 Intelligent Resolution          : Off
0x8000 Maker Note Version              : 0133
0x8001 Scene Mode                      : Portrait
0x8002 Panasonic 0x8002                : 1
0x8003 Panasonic 0x8003                : 1
0x8004 WB Red Level                    : 2219
0x8005 WB Green Level                  : 1054
0x8006 WB Blue Level                   : 1360
0x8007 Flash Fired                     : Yes
0x8008 Text Stamp                      : Off
0x8009 Text Stamp                      : Off
0x8010 Baby Age                        : (not set)
0xa000 Flashpix Version                : 0100
0xa001 Color Space                     : sRGB
0xa002 Exif Image Width                : 4000
0xa003 Exif Image Height               : 3000
0x0001 Interoperability Index          : R98 - DCF basic file (sRGB)
0x0002 Interoperability Version        : 0100
0xa217 Sensing Method                  : One-chip color area
0xa300 File Source                     : Digital Camera
0xa301 Scene Type                      : Directly photographed
0xa401 Custom Rendered                 : Normal
0xa402 Exposure Mode                   : Auto
0xa403 White Balance                   : Auto
0xa404 Digital Zoom Ratio              : 0
0xa405 Focal Length In 35mm Format     : 30 mm
0xa406 Scene Capture Type              : Portrait
0xa407 Gain Control                    : None
0xa408 Contrast                        : Normal
0xa409 Saturation                      : Normal
0xa40a Sharpness                       : Normal
     - PrintIM Version                 : 0250
0x0001 Print IM 0x0001                 : 0x00160016
0x0002 Print IM 0x0002                 : 0x00000000
0x0003 Print IM 0x0003                 : 0x00000064
0x0007 Print IM 0x0007                 : 0x00000000
0x0008 Print IM 0x0008                 : 0x00000000
0x0009 Print IM 0x0009                 : 0x00000000
0x000a Print IM 0x000a                 : 0x00000000
0x000b Print IM 0x000b                 : 0x000000ac
0x000c Print IM 0x000c                 : 0x00000000
0x000d Print IM 0x000d                 : 0x00000000
0x000e Print IM 0x000e                 : 0x000000c4
0x0100 Print IM 0x0100                 : 0x00000005
0x0101 Print IM 0x0101                 : 0x00000001
0x0110 Print IM 0x0110                 : 0x00000080
0x0103 Compression                     : JPEG (old-style)
0x0112 Orientation                     : Rotate 270 CW
0x011a X Resolution                    : 180
0x011b Y Resolution                    : 180
0x0128 Resolution Unit                 : inches
0x0201 Thumbnail Offset                : 9728
0x0202 Thumbnail Length                : 7013
0x0213 Y Cb Cr Positioning             : Co-sited
0xb000 MPF Version                     : 0100
0xb001 Number Of Images                : 2
0x0000 MP Image Flags                  : Dependent parent image
0x0000 MP Image Format                 : JPEG
0x0000 MP Image Type                   : Baseline MP Primary Image
0x0004 MP Image Length                 : 4901808
0x0008 MP Image Start                  : 0
0x000c Dependent Image 1 Entry Number  : 2
0x000e Dependent Image 2 Entry Number  : 0
0x0000 MP Image Flags                  : Dependent child image
0x0000 MP Image Format                 : JPEG
0x0000 MP Image Type                   : Large Thumbnail (full HD equivalent)
0x0004 MP Image Length                 : 967680
0x0008 MP Image Start                  : 4901888
0x000c Dependent Image 1 Entry Number  : 0
0x000e Dependent Image 2 Entry Number  : 0
     - Image Width                     : 4000
     - Image Height                    : 3000
     - Encoding Process                : Baseline DCT, Huffman coding
     - Bits Per Sample                 : 8
     - Color Components                : 3
     - Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
     - Aperture                        : 3.6
     - Blue Balance                    : 1.290323
     - Image Size                      : 4000x3000
     - Lens ID                         : LUMIX G VARIO 14-42mm F3.5-5.6
     - Preview Image                   : (Binary data 967680 bytes, use -b option to extract)
     - Red Balance                     : 2.105313
     - Scale Factor To 35 mm Equivalent: 2.0
     - Shutter Speed                   : 1/60
     - Thumbnail Image                 : (Binary data 7013 bytes, use -b option to extract)
     - Circle Of Confusion             : 0.015 mm
     - Field Of View                   : 61.9 deg
     - Focal Length                    : 15.0 mm (35 mm equivalent: 30.0 mm)
     - Hyperfocal Distance             : 4.16 m
     - Light Value                     : 9.6
Title: Re: Panasonic makernotes: Baby*
Post by: Phil Harvey on October 06, 2011, 10:47:55 AM
I'm pretty sure this is just another case of duplicate information, which is quite common in maker notes.  But it would be great if you could run some tests with 2 different baby names to see if ExifTool decodes it properly.

- Phil
Title: Re: Panasonic makernotes: Baby*
Post by: nms on October 06, 2011, 11:29:54 AM
The camera will be in my hands on next Sunday.

Stay tuned
Title: Re: Panasonic makernotes: Baby*
Post by: nms on October 10, 2011, 06:18:23 AM
Quote from: Phil Harvey on October 06, 2011, 10:47:55 AM
I'm pretty sure this is just another case of duplicate information, which is quite common in maker notes.  But it would be great if you could run some tests with 2 different baby names to see if ExifTool decodes it properly.

- Phil
Checked with Lumix DMC-G2 firmware 1.1 -- it is the case of duplicate information. Both fields synchronized.

Case closed.

Sorry for noise
Title: Re: Panasonic makernotes: Baby*
Post by: Phil Harvey on October 10, 2011, 07:21:36 AM
Thanks for checking this.

- Phil