can't see result elsewhere than exiftool

Started by flyjac, November 30, 2016, 08:42:26 AM

Previous topic - Next topic

flyjac

Hi,

I try to use exiftool with following command :
exiftool  -Lens="Canon 24mm FD 2.8" -LensModel="Canon 24mm FD 2.8" -FocalLength="24" -MaxApertureValue="2.8" -FocalLengthIn35mmFormat="48" -m -overwrite_original_in_place "D:\Documents\test\P1010100.JPG"

It seems it works because:
- After the command I have the message: " 1 image files updated"
- when I read data before and after with exiftool I see the difference with correct fields updated

But
When I try to read exif data with lightroom, windows file properties or irfanView, I can't see the exif data updated :(
And I still have 0 for FocalLength.

Can someone explain me my problem ? If not I will become crazy!

I'm on windows 7.

sorry if my issue is already explain somewhere, but I don't find it...

Hayo Baan

There are probably some other (duplicate) fields that Lightroom uses for the information that you haven't yet updated. Add -a -G0:1 to your exiftool command to list all data fields and the group they belong to, then see where you might need to change additional fields.ku
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Thanks for the quick reply!

Yes, there are other fields, but none of them indicating focalLenght are empty :(

Here are all field I have with "-a -G0:1" option :

[ExifTool]      ExifTool Version Number         : 10.36
[File:System]   File Name                       : P1010100.JPG
[File:System]   Directory                       : D:/Documents/Mes images/test/2016/GX80
[File:System]   File Size                       : 2.5 MB
[File:System]   File Modification Date/Time     : 2016:11:30 14:14:11+01:00
[File:System]   File Access Date/Time           : 2016:11:30 14:14:11+01:00
[File:System]   File Creation Date/Time         : 2016:11:30 11:26:45+01:00
[File:System]   File Permissions                : rw-rw-rw-
[File]          File Type                       : JPEG
[File]          File Type Extension             : jpg
[File]          MIME Type                       : image/jpeg
[File]          Exif Byte Order                 : Little-endian (Intel, II)
[File]          Image Width                     : 4592
[File]          Image Height                    : 3448
[File]          Encoding Process                : Baseline DCT, Huffman coding
[File]          Bits Per Sample                 : 8
[File]          Color Components                : 3
[File]          Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
[EXIF:IFD0]     Make                            : Panasonic
[EXIF:IFD0]     Camera Model Name               : DMC-GX80
[EXIF:IFD0]     Orientation                     : Horizontal (normal)
[EXIF:IFD0]     X Resolution                    : 180
[EXIF:IFD0]     Y Resolution                    : 180
[EXIF:IFD0]     Resolution Unit                 : inches
[EXIF:IFD0]     Software                        : Ver.1.1
[EXIF:IFD0]     Modify Date                     : 2016:11:30 10:16:44
[EXIF:IFD0]     Y Cb Cr Positioning             : Co-sited
[EXIF:ExifIFD]  Exposure Time                   : 1/80
[EXIF:ExifIFD]  F Number                        : 0
[EXIF:ExifIFD]  Exposure Program                : Aperture-priority AE
[EXIF:ExifIFD]  ISO                             : 200
[EXIF:ExifIFD]  Sensitivity Type                : Standard Output Sensitivity
[EXIF:ExifIFD]  Exif Version                    : 0230
[EXIF:ExifIFD]  Date/Time Original              : 2016:11:30 10:16:44
[EXIF:ExifIFD]  Create Date                     : 2016:11:30 10:16:44
[EXIF:ExifIFD]  Components Configuration        : Y, Cb, Cr, -
[EXIF:ExifIFD]  Compressed Bits Per Pixel       : 2
[EXIF:ExifIFD]  Exposure Compensation           : 0
[EXIF:ExifIFD]  Max Aperture Value              : 2.8
[EXIF:ExifIFD]  Metering Mode                   : Multi-segment
[EXIF:ExifIFD]  Light Source                    : Unknown
[EXIF:ExifIFD]  Flash                           : Off, Did not fire
[EXIF:ExifIFD]  Focal Length                    : 24.0 mm
[EXIF:ExifIFD]  Sub Sec Time                    : 248
[EXIF:ExifIFD]  Sub Sec Time Original           : 248
[EXIF:ExifIFD]  Sub Sec Time Digitized          : 248
[EXIF:ExifIFD]  Flashpix Version                : 0100
[EXIF:ExifIFD]  Color Space                     : sRGB
[EXIF:ExifIFD]  Exif Image Width                : 4592
[EXIF:ExifIFD]  Exif Image Height               : 3448
[EXIF:ExifIFD]  Sensing Method                  : One-chip color area
[EXIF:ExifIFD]  File Source                     : Digital Camera
[EXIF:ExifIFD]  Scene Type                      : Directly photographed
[EXIF:ExifIFD]  Custom Rendered                 : Normal
[EXIF:ExifIFD]  Exposure Mode                   : Auto
[EXIF:ExifIFD]  White Balance                   : Auto
[EXIF:ExifIFD]  Digital Zoom Ratio              : 0
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 48 mm
[EXIF:ExifIFD]  Scene Capture Type              : Standard
[EXIF:ExifIFD]  Gain Control                    : Low gain up
[EXIF:ExifIFD]  Contrast                        : Normal
[EXIF:ExifIFD]  Saturation                      : Normal
[EXIF:ExifIFD]  Sharpness                       : Normal
[EXIF:ExifIFD]  Lens Model                      : Canon 24mm FD 2.8
[MakerNotes:Panasonic] Image Quality            : Raw
[MakerNotes:Panasonic] Firmware Version         : 0.1.1.0
[MakerNotes:Panasonic] White Balance            : Auto
[MakerNotes:Panasonic] Focus Mode               : Manual
[MakerNotes:Panasonic] AF Area Mode             : 1-area
[MakerNotes:Panasonic] Image Stabilization      : Unknown (7)
[MakerNotes:Panasonic] Macro Mode               : Off
[MakerNotes:Panasonic] Shooting Mode            : Aperture Priority
[MakerNotes:Panasonic] Audio                    : No
[MakerNotes:Panasonic] Data Dump                : (Binary data 24584 bytes, use -b option to extract)
[MakerNotes:Panasonic] Flash Bias               : -5/3
[MakerNotes:Panasonic] Internal Serial Number   : XGL1605220276
[MakerNotes:Panasonic] Panasonic Exif Version   : 0412
[MakerNotes:Panasonic] Color Effect             : Off
[MakerNotes:Panasonic] Time Since Power On      : 00:03:05.46
[MakerNotes:Panasonic] Burst Mode               : Off
[MakerNotes:Panasonic] Sequence Number          : 0
[MakerNotes:Panasonic] Contrast Mode            : Low
[MakerNotes:Panasonic] Noise Reduction          : Standard
[MakerNotes:Panasonic] Self Timer               : Unknown (0)
[MakerNotes:Panasonic] Rotation                 : Horizontal (normal)
[MakerNotes:Panasonic] AF Assist Lamp           : Enabled but Not Used
[MakerNotes:Panasonic] Baby Age                 : (not set)
[MakerNotes:Panasonic] Optical Zoom Mode        : Standard
[MakerNotes:Panasonic] Conversion Lens          : Off
[MakerNotes:Panasonic] Travel Day               : n/a
[MakerNotes:Panasonic] Contrast                 : Normal
[MakerNotes:Panasonic] World Time Location      : Home
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Program ISO              : 200
[MakerNotes:Panasonic] Advanced Scene Type      : 1
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Faces Detected           : 0
[MakerNotes:Panasonic] Saturation               : Normal
[MakerNotes:Panasonic] Sharpness                : Normal
[MakerNotes:Panasonic] Color Temp Kelvin        : 4800
[MakerNotes:Panasonic] Bracket Settings         : No Bracket
[MakerNotes:Panasonic] WB Shift AB              : 0
[MakerNotes:Panasonic] WB Shift GM              : 0
[MakerNotes:Panasonic] Flash Curtain            : n/a
[MakerNotes:Panasonic] Long Exposure Noise Reduction: On
[MakerNotes:Panasonic] Panasonic Image Width    : 4592
[MakerNotes:Panasonic] Panasonic Image Height   : 3448
[MakerNotes:Panasonic] AF Point Position        : none
[MakerNotes:Panasonic] Num Face Positions       : 0
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Accessory Type           : NO-ACCESSORY
[MakerNotes:Panasonic] Accessory Serial Number  : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[MakerNotes:Panasonic] Faces Recognized         : 0
[MakerNotes:Panasonic] Title                    :
[MakerNotes:Panasonic] Baby Name                :
[MakerNotes:Panasonic] Location                 :
[MakerNotes:Panasonic] Country                  :
[MakerNotes:Panasonic] State                    :
[MakerNotes:Panasonic] City                     :
[MakerNotes:Panasonic] Landmark                 :
[MakerNotes:Panasonic] Intelligent Resolution   : High
[MakerNotes:Panasonic] Burst Speed              : 0
[MakerNotes:Panasonic] Intelligent D-Range      : Off
[MakerNotes:Panasonic] Clear Retouch            : Off
[MakerNotes:Panasonic] City 2                   :
[MakerNotes:Panasonic] Photo Style              : Standard or Custom
[MakerNotes:Panasonic] Shading Compensation     : Off
[MakerNotes:Panasonic] Accelerometer Z          : 272
[MakerNotes:Panasonic] Accelerometer X          : -13
[MakerNotes:Panasonic] Accelerometer Y          : 31
[MakerNotes:Panasonic] Camera Orientation       : Normal
[MakerNotes:Panasonic] Roll Angle               : 1
[MakerNotes:Panasonic] Pitch Angle              : -1.7
[MakerNotes:Panasonic] Sweep Panorama Direction : Off
[MakerNotes:Panasonic] Sweep Panorama Field Of View: 0
[MakerNotes:Panasonic] Timer Recording          : Off
[MakerNotes:Panasonic] Internal ND Filter       : 0
[MakerNotes:Panasonic] HDR                      : Off
[MakerNotes:Panasonic] Shutter Type             : Mechanical
[MakerNotes:Panasonic] Clear Retouch Value      : undef
[MakerNotes:Panasonic] Touch AE                 : Off
[MakerNotes:Panasonic] Maker Note Version       : 0152
[MakerNotes:Panasonic] Scene Mode               : Off
[MakerNotes:Panasonic] WB Red Level             : 2449
[MakerNotes:Panasonic] WB Green Level           : 1024
[MakerNotes:Panasonic] WB Blue Level            : 1677
[MakerNotes:Panasonic] Flash Fired              : No
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Baby Age                 : (not set)
[EXIF:InteropIFD] Interoperability Index        : R98 - DCF basic file (sRGB)
[EXIF:InteropIFD] Interoperability Version      : 0100
[PrintIM]       PrintIM Version                 : 0250
[EXIF:IFD1]     Compression                     : JPEG (old-style)
[EXIF:IFD1]     Orientation                     : Horizontal (normal)
[EXIF:IFD1]     X Resolution                    : 180
[EXIF:IFD1]     Y Resolution                    : 180
[EXIF:IFD1]     Resolution Unit                 : inches
[EXIF:IFD1]     Thumbnail Offset                : 29504
[EXIF:IFD1]     Thumbnail Length                : 5076
[EXIF:IFD1]     Y Cb Cr Positioning             : Co-sited
[XMP:XMP-x]     XMP Toolkit                     : Image::ExifTool 10.36
[XMP:XMP-aux]   Lens                            : Canon 24mm FD 2.8
[MPF:MPF0]      MPF Version                     : 0100
[MPF:MPF0]      Number Of Images                : 2
[MPF:MPImage1]  MP Image Flags                  : Dependent parent image
[MPF:MPImage1]  MP Image Format                 : JPEG
[MPF:MPImage1]  MP Image Type                   : Baseline MP Primary Image
[MPF:MPImage1]  MP Image Length                 : 2382935
[MPF:MPImage1]  MP Image Start                  : 0
[MPF:MPImage1]  Dependent Image 1 Entry Number  : 2
[MPF:MPImage1]  Dependent Image 2 Entry Number  : 0
[MPF:MPImage2]  MP Image Flags                  : Dependent child image
[MPF:MPImage2]  MP Image Format                 : JPEG
[MPF:MPImage2]  MP Image Type                   : Large Thumbnail (full HD equivalent)
[MPF:MPImage2]  MP Image Length                 : 296405
[MPF:MPImage2]  MP Image Start                  : 2370179
[MPF:MPImage2]  Dependent Image 1 Entry Number  : 0
[MPF:MPImage2]  Dependent Image 2 Entry Number  : 0
[Composite]     Advanced Scene Mode             : Off
[Composite]     Blue Balance                    : 1.637695
[Composite]     Image Size                      : 4592x3448
[Composite]     Preview Image                   : (Binary data 296405 bytes, use -b option to extract)
[Composite]     Megapixels                      : 15.8
[Composite]     Red Balance                     : 2.391602
[Composite]     Scale Factor To 35 mm Equivalent: 2.0
[Composite]     Shutter Speed                   : 1/80
[Composite]     Create Date                     : 2016:11:30 10:16:44.248
[Composite]     Date/Time Original              : 2016:11:30 10:16:44.248
[Composite]     Modify Date                     : 2016:11:30 10:16:44.248
[Composite]     Thumbnail Image                 : (Binary data 5076 bytes, use -b option to extract)
[Composite]     Circle Of Confusion             : 0.015 mm
[Composite]     Field Of View                   : 41.1 deg
[Composite]     Focal Length                    : 24.0 mm (35 mm equivalent: 48.0 mm)


And if I take another file filled by my camera with a known lens, I have similar fields but they are seen by lightroom, irfanview, windows property file, and certainly others.



flyjac

A file filled directly by my camera seems not really different, but all fields are seen by other software.

Here is an example:


[ExifTool]      ExifTool Version Number         : 10.36
[File:System]   File Name                       : P1000555.JPG
[File:System]   Directory                       : D:/Documents/Mes images/test/2016/GX80
[File:System]   File Size                       : 7.3 MB
[File:System]   File Modification Date/Time     : 2016:11:24 21:12:19+01:00
[File:System]   File Access Date/Time           : 2016:11:24 20:50:48+01:00
[File:System]   File Creation Date/Time         : 2016:11:20 10:21:42+01:00
[File:System]   File Permissions                : rw-rw-rw-
[File]          File Type                       : JPEG
[File]          File Type Extension             : jpg
[File]          MIME Type                       : image/jpeg
[File]          Exif Byte Order                 : Little-endian (Intel, II)
[File]          Current IPTC Digest             : 1b5814dbe2489732c53b2a667ae45477
[File]          Image Width                     : 4592
[File]          Image Height                    : 3448
[File]          Encoding Process                : Baseline DCT, Huffman coding
[File]          Bits Per Sample                 : 8
[File]          Color Components                : 3
[File]          Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
[EXIF:IFD0]     Make                            : Panasonic
[EXIF:IFD0]     Camera Model Name               : DMC-GX80
[EXIF:IFD0]     Orientation                     : Horizontal (normal)
[EXIF:IFD0]     X Resolution                    : 180
[EXIF:IFD0]     Y Resolution                    : 180
[EXIF:IFD0]     Resolution Unit                 : inches
[EXIF:IFD0]     Software                        : Ver.1.1
[EXIF:IFD0]     Modify Date                     : 2016:11:20 09:48:22
[EXIF:IFD0]     Y Cb Cr Positioning             : Co-sited
[EXIF:ExifIFD]  Exposure Time                   : 1/30
[EXIF:ExifIFD]  F Number                        : 6.3
[EXIF:ExifIFD]  Exposure Program                : Aperture-priority AE
[EXIF:ExifIFD]  ISO                             : 200
[EXIF:ExifIFD]  Sensitivity Type                : Standard Output Sensitivity
[EXIF:ExifIFD]  Exif Version                    : 0230
[EXIF:ExifIFD]  Date/Time Original              : 2016:11:20 09:48:22
[EXIF:ExifIFD]  Create Date                     : 2016:11:20 09:48:22
[EXIF:ExifIFD]  Components Configuration        : Y, Cb, Cr, -
[EXIF:ExifIFD]  Compressed Bits Per Pixel       : 2
[EXIF:ExifIFD]  Shutter Speed Value             : 1/30
[EXIF:ExifIFD]  Aperture Value                  : 6.3
[EXIF:ExifIFD]  Exposure Compensation           : 0
[EXIF:ExifIFD]  Max Aperture Value              : 4.9
[EXIF:ExifIFD]  Metering Mode                   : Multi-segment
[EXIF:ExifIFD]  Light Source                    : Unknown
[EXIF:ExifIFD]  Flash                           : Off, Did not fire
[EXIF:ExifIFD]  Focal Length                    : 46.0 mm
[EXIF:ExifIFD]  Sub Sec Time                    : 476
[EXIF:ExifIFD]  Sub Sec Time Original           : 476
[EXIF:ExifIFD]  Sub Sec Time Digitized          : 476
[EXIF:ExifIFD]  Flashpix Version                : 0100
[EXIF:ExifIFD]  Color Space                     : sRGB
[EXIF:ExifIFD]  Exif Image Width                : 4592
[EXIF:ExifIFD]  Exif Image Height               : 3448
[EXIF:ExifIFD]  Sensing Method                  : One-chip color area
[EXIF:ExifIFD]  File Source                     : Digital Camera
[EXIF:ExifIFD]  Scene Type                      : Directly photographed
[EXIF:ExifIFD]  Custom Rendered                 : Normal
[EXIF:ExifIFD]  Exposure Mode                   : Auto
[EXIF:ExifIFD]  White Balance                   : Auto
[EXIF:ExifIFD]  Digital Zoom Ratio              : 0
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 92 mm
[EXIF:ExifIFD]  Scene Capture Type              : Standard
[EXIF:ExifIFD]  Gain Control                    : Low gain up
[EXIF:ExifIFD]  Contrast                        : Normal
[EXIF:ExifIFD]  Saturation                      : Normal
[EXIF:ExifIFD]  Sharpness                       : Normal
[EXIF:ExifIFD]  Lens Model                      : LUMIX G VARIO 14-140/F3.5-5.6
[MakerNotes:Panasonic] Image Quality            : Raw
[MakerNotes:Panasonic] Firmware Version         : 0.1.1.0
[MakerNotes:Panasonic] White Balance            : Auto
[MakerNotes:Panasonic] Focus Mode               : AF-S
[MakerNotes:Panasonic] AF Area Mode             : 1-area
[MakerNotes:Panasonic] Image Stabilization      : Unknown (10)
[MakerNotes:Panasonic] Macro Mode               : Off
[MakerNotes:Panasonic] Shooting Mode            : Aperture Priority
[MakerNotes:Panasonic] Audio                    : No
[MakerNotes:Panasonic] Data Dump                : (Binary data 24584 bytes, use -b option to extract)
[MakerNotes:Panasonic] Flash Bias               : 0
[MakerNotes:Panasonic] Internal Serial Number   : XGL1605220276
[MakerNotes:Panasonic] Panasonic Exif Version   : 0412
[MakerNotes:Panasonic] Color Effect             : Off
[MakerNotes:Panasonic] Time Since Power On      : 00:02:28.03
[MakerNotes:Panasonic] Burst Mode               : Off
[MakerNotes:Panasonic] Sequence Number          : 0
[MakerNotes:Panasonic] Contrast Mode            : Low
[MakerNotes:Panasonic] Noise Reduction          : Standard
[MakerNotes:Panasonic] Self Timer               : Unknown (0)
[MakerNotes:Panasonic] Rotation                 : Horizontal (normal)
[MakerNotes:Panasonic] AF Assist Lamp           : Enabled but Not Used
[MakerNotes:Panasonic] Baby Age                 : (not set)
[MakerNotes:Panasonic] Optical Zoom Mode        : Standard
[MakerNotes:Panasonic] Conversion Lens          : Off
[MakerNotes:Panasonic] Travel Day               : n/a
[MakerNotes:Panasonic] Contrast                 : Normal
[MakerNotes:Panasonic] World Time Location      : Home
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Program ISO              : 200
[MakerNotes:Panasonic] Advanced Scene Type      : 1
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Faces Detected           : 0
[MakerNotes:Panasonic] Saturation               : Normal
[MakerNotes:Panasonic] Sharpness                : Normal
[MakerNotes:Panasonic] Color Temp Kelvin        : 5700
[MakerNotes:Panasonic] Bracket Settings         : No Bracket
[MakerNotes:Panasonic] WB Shift AB              : 0
[MakerNotes:Panasonic] WB Shift GM              : 0
[MakerNotes:Panasonic] Flash Curtain            : n/a
[MakerNotes:Panasonic] Long Exposure Noise Reduction: On
[MakerNotes:Panasonic] Panasonic Image Width    : 4592
[MakerNotes:Panasonic] Panasonic Image Height   : 3448
[MakerNotes:Panasonic] AF Point Position        : 0.53 0.56
[MakerNotes:Panasonic] Num Face Positions       : 0
[MakerNotes:Panasonic] Lens Type                : LUMIX G VARIO 14-140/F3.5-5.6
[MakerNotes:Panasonic] Lens Serial Number       : 06EIB13F060N
[MakerNotes:Panasonic] Accessory Type           : NO-ACCESSORY
[MakerNotes:Panasonic] Accessory Serial Number  : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.1.2.0
[MakerNotes:Panasonic] Faces Recognized         : 0
[MakerNotes:Panasonic] Title                    :
[MakerNotes:Panasonic] Baby Name                :
[MakerNotes:Panasonic] Location                 :
[MakerNotes:Panasonic] Country                  :
[MakerNotes:Panasonic] State                    :
[MakerNotes:Panasonic] City                     :
[MakerNotes:Panasonic] Landmark                 :
[MakerNotes:Panasonic] Intelligent Resolution   : High
[MakerNotes:Panasonic] Burst Speed              : 0
[MakerNotes:Panasonic] Intelligent D-Range      : Off
[MakerNotes:Panasonic] Clear Retouch            : Off
[MakerNotes:Panasonic] City 2                   :
[MakerNotes:Panasonic] Photo Style              : Standard or Custom
[MakerNotes:Panasonic] Shading Compensation     : Off
[MakerNotes:Panasonic] Accelerometer Z          : 273
[MakerNotes:Panasonic] Accelerometer X          : -14
[MakerNotes:Panasonic] Accelerometer Y          : 31
[MakerNotes:Panasonic] Camera Orientation       : Normal
[MakerNotes:Panasonic] Roll Angle               : 0.9
[MakerNotes:Panasonic] Pitch Angle              : -1.7
[MakerNotes:Panasonic] Sweep Panorama Direction : Off
[MakerNotes:Panasonic] Sweep Panorama Field Of View: 0
[MakerNotes:Panasonic] Timer Recording          : Off
[MakerNotes:Panasonic] Internal ND Filter       : 0
[MakerNotes:Panasonic] HDR                      : Off
[MakerNotes:Panasonic] Shutter Type             : Mechanical
[MakerNotes:Panasonic] Clear Retouch Value      : undef
[MakerNotes:Panasonic] Touch AE                 : Off
[MakerNotes:Panasonic] Maker Note Version       : 0152
[MakerNotes:Panasonic] Scene Mode               : Off
[MakerNotes:Panasonic] WB Red Level             : 2470
[MakerNotes:Panasonic] WB Green Level           : 1024
[MakerNotes:Panasonic] WB Blue Level            : 1511
[MakerNotes:Panasonic] Flash Fired              : No
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Text Stamp               : Off
[MakerNotes:Panasonic] Baby Age                 : (not set)
[EXIF:InteropIFD] Interoperability Index        : R98 - DCF basic file (sRGB)
[EXIF:InteropIFD] Interoperability Version      : 0100
[PrintIM]       PrintIM Version                 : 0250
[EXIF:IFD1]     Compression                     : JPEG (old-style)
[EXIF:IFD1]     Orientation                     : Horizontal (normal)
[EXIF:IFD1]     X Resolution                    : 180
[EXIF:IFD1]     Y Resolution                    : 180
[EXIF:IFD1]     Resolution Unit                 : inches
[EXIF:IFD1]     Thumbnail Offset                : 30208
[EXIF:IFD1]     Thumbnail Length                : 7453
[EXIF:IFD1]     Y Cb Cr Positioning             : Co-sited
[XMP:XMP-x]     XMP Toolkit                     : Adobe XMP Core 5.6-c128 79.159124, 2016/03/18-14:01:55
[XMP:XMP-xmp]   Creator Tool                    : Ver.1.1
[XMP:XMP-xmp]   Modify Date                     : 2016:11:20 09:48:22.476
[XMP:XMP-xmp]   Create Date                     : 2016:11:20 09:48:22.476
[XMP:XMP-xmp]   Metadata Date                   : 2016:11:24 21:12:19+01:00
[XMP:XMP-aux]   Lens                            : LUMIX G VARIO 14-140/F3.5-5.6
[XMP:XMP-aux]   Lens Serial Number              : 06EIB13F060N
[XMP:XMP-photoshop] Date Created                : 2016:11:20 09:48:22.476
[XMP:XMP-xmpMM] Document ID                     : 6608B38BDBF629F69FF58ACB4F444CD9
[XMP:XMP-xmpMM] Original Document ID            : 6608B38BDBF629F69FF58ACB4F444CD9
[XMP:XMP-xmpMM] Instance ID                     : xmp.iid:b610e77f-bc06-4c44-96f4-48126ffc1b4b
[XMP:XMP-xmpMM] History Action                  : saved
[XMP:XMP-xmpMM] History Instance ID             : xmp.iid:b610e77f-bc06-4c44-96f4-48126ffc1b4b
[XMP:XMP-xmpMM] History When                    : 2016:11:24 21:12:19+01:00
[XMP:XMP-xmpMM] History Software Agent          : Adobe Photoshop Lightroom 6.7 (Windows)
[XMP:XMP-xmpMM] History Changed                 : /metadata
[XMP:XMP-dc]    Format                          : image/jpeg
[XMP:XMP-dc]    Title                           : Ref 46mm 6,3 200
[XMP:XMP-crs]   Raw File Name                   : P1000555.JPG
[IPTC]          Coded Character Set             : UTF8
[IPTC]          Application Record Version      : 4
[IPTC]          Object Name                     : Ref 46mm 6,3 200
[IPTC]          Date Created                    : 2016:11:20
[IPTC]          Time Created                    : 09:48:22
[Photoshop]     IPTC Digest                     : 1b5814dbe2489732c53b2a667ae45477
[MPF:MPF0]      MPF Version                     : 0100
[MPF:MPF0]      Number Of Images                : 2
[MPF:MPImage1]  MP Image Flags                  : Dependent parent image
[MPF:MPImage1]  MP Image Format                 : JPEG
[MPF:MPImage1]  MP Image Type                   : Baseline MP Primary Image
[MPF:MPImage1]  MP Image Length                 : 6786102
[MPF:MPImage1]  MP Image Start                  : 0
[MPF:MPImage1]  Dependent Image 1 Entry Number  : 2
[MPF:MPImage1]  Dependent Image 2 Entry Number  : 0
[MPF:MPImage2]  MP Image Flags                  : Dependent child image
[MPF:MPImage2]  MP Image Format                 : JPEG
[MPF:MPImage2]  MP Image Type                   : Large Thumbnail (full HD equivalent)
[MPF:MPImage2]  MP Image Length                 : 895553
[MPF:MPImage2]  MP Image Start                  : 6790859
[MPF:MPImage2]  Dependent Image 1 Entry Number  : 0
[MPF:MPImage2]  Dependent Image 2 Entry Number  : 0
[Composite]     Advanced Scene Mode             : Off
[Composite]     Aperture                        : 6.3
[Composite]     Blue Balance                    : 1.475586
[Composite]     Date/Time Created               : 2016:11:20 09:48:22
[Composite]     Image Size                      : 4592x3448
[Composite]     Lens ID                         : LUMIX G VARIO 14-140mm F3.5-5.6
[Composite]     Preview Image                   : (Binary data 895553 bytes, use -b option to extract)
[Composite]     Megapixels                      : 15.8
[Composite]     Red Balance                     : 2.412109
[Composite]     Scale Factor To 35 mm Equivalent: 2.0
[Composite]     Shutter Speed                   : 1/30
[Composite]     Create Date                     : 2016:11:20 09:48:22.476
[Composite]     Date/Time Original              : 2016:11:20 09:48:22.476
[Composite]     Modify Date                     : 2016:11:20 09:48:22.476
[Composite]     Thumbnail Image                 : (Binary data 7453 bytes, use -b option to extract)
[Composite]     Circle Of Confusion             : 0.015 mm
[Composite]     Field Of View                   : 22.1 deg
[Composite]     Focal Length                    : 46.0 mm (35 mm equivalent: 92.0 mm)
[Composite]     Hyperfocal Distance             : 22.36 m
[Composite]     Light Value                     : 9.2

Hayo Baan

One thought, have you told Lightroom to update the metadata of the file? If not, it is possible that Lightroom is still showing you the old data. If this doesn't solve your issue, upload a sample image and we'll have a look.
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

yes I have updated metadata in Lightroom. And anyway, I don't see either these new data in other softwares than exiftool.

I upload an image here : http://gdjacques.free.fr/tmp/P1010108s.jpg

On this image I launch comand: <exiftool  -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLen -FocalLengthIn35mmFormat="100" -m -overwrite_original_in_place "D:\tmp\P1010108s.JPG"">

I don't understand what I did wrong, and it seems strange for me to be alone to have this problem...

Hayo Baan

I had a look at the file and when I executed the command exiftool  -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" P1010108s.jpg LightRoom (and Bridge) did show me the correct lens information (see screenshot), so I don't know what's off at your end...
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Still don't understand...

What I have is this (first attachment)

Second attachment is what I have for exif directly set by my camera (for another image).

And what about seeing the picture in LR without passing the command, do you have fields set? Because I already pass the command before attaching it.

flyjac

And maybe you can give me back the picture you have after passing the command on your computer, I will see if there is a difference or no.

flyjac

And see what I have when I get file properties on windows.
If you are on windows, do you the same thing?



Hayo Baan

Quote from: flyjac on November 30, 2016, 04:34:15 PM
And what about seeing the picture in LR without passing the command, do you have fields set? Because I already pass the command before attaching it.

Before I ran the command, the lens data was not present in the file so if you ran that command before posting it, the problem is that the command on your end doesn't work... You should be able to verify this by looking at the metadata with exiftool; the fields should have the values you set.

Tomorrow I will send you the file I used (not at my computer now). I'm using a Mac with the latest versions of LR and Bridge CC by the way, but that shouldn't make a difference.
Hayo Baan – Photography
Web: www.hayobaan.nl

Hayo Baan

I've attached the file after I ran the command exiftool -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" P1010108s.jpg.

Here's the before and after exiftool info:
$ exiftool -a -G0:1 -'lens*' -'*focal*' P1010108s.jpg_original P1010108s.jpg
======== P1010108s.jpg_original
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[EXIF:ExifIFD]  Focal Length                    : 0.0 mm
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 0 mm
[Composite]     Focal Length                    : 0.0 mm
======== P1010108s.jpg
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[EXIF:ExifIFD]  Lens Model                      : Canon 50mm FD 1.8
[XMP:XMP-aux]   Lens                            : Canon 50mm FD 1.8
[EXIF:ExifIFD]  Focal Length                    : 50.0 mm
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 100 mm
[Composite]     Focal Length                    : 50.0 mm (35 mm equivalent: 100.0 mm)
    2 image files read


Note that you haven't specified the used aperture so that will still show up as "0". You may want to also set MakerNotes:LensType to something more appropriate but as far as I can tell that isn't necessary.

By the way, you are actually quite lucky that your Panasonic stores the lens info in human readable form, that makes changing it a lot easier (most of the time you have to muck around with e.g. lensid and other fields to get what you want).
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Thanks for all your effort and time!

But it seems I already have [EXIF:ExifIFD]  Focal Length & [EXIF:ExifIFD]  Focal Length In 35mm Format
(look at my first display with exiftool command)

Anyway, I will check all this at home this evening (West European time) to have a clear statement.

flyjac

Ok, I still have a very strange behavior...

I call "correct_file" the file modified by you.
and ori_file the original file I give you.

Here is some fact :
- When I put the correct_file on LR, it's ok, I see new fields set
- I get the same result than you when I compare files with command exiftool -a -G0:1 -'lens*' -'*focal*' correct_file ori_file, with different values for the 2 files
- If I run the command <exiftool -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" ori_file"> and then compare again 2 files with command on previous line, then I have same fields in each file.
Note that I need to put last '"' at the end of the command to make it work
BUT
- If I take modified ori_file (mod_ori_file) on LR, I don't see new fields!
Even with reading meta data on file, purge both cache on LR, restart LR
File size stay very different with 68.3K for correct_file and 83.1K for ori_file and mod_ori_file

I try to time the same manipulation, so normally no error with what I say.

I join you here the mod_ori_file, if you have an idea...

Maybe it's a problem using this exiftool version (10.36) on windows?
Strange I'm the first to report.

I can make more test if you need. Hope this message help you.

Hayo Baan

I took the file you attached and ran this exact command (i.e., exactly as you had typed between the < and >, but then without the additional double quote):
exiftool -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" P1010108s3.jpg
And then imported it into LR: the lens data was showing just fine!

The fact you need the additional double quote at the end of your command to me indicates something else is at play altogether, in fact I'm quite sure you somewhere have a typo in your command. To make sure just copy the command as I have typed in above and paste that into a command window where you are in the same directory as that file.

Perhaps you could also post a file that is the result of you running the command (actually before and after would be ideal), and to be extra sure, perhaps also a screenshot of the command window.

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

flyjac

Ok, I need the extra '"' when I use the shell "powershell", but I don't need it when I use "cmd" shell.
Let's see with cmd shell.
But with cmd shell, I can't see values when I use <exiftool -a -G0:1 -'lens*' -'*focal*'  ...>

I do the test you ask me, but still have the same result :(

Note that the only file with different size is yours.

Here are the files after/before and screenshot.

Hayo Baan

I'll look at both files tomorrow, but since you're on Windows you probably need to change the single quotes on the test command to double quotes (e.g. -"*lens*" etc.).

Also, in the directory listing you provide, I do not see the third file (the _original file) that should be there, something strange is happening. could it be you simply do not have enough permissions in the directory you are trying this in?
Hayo Baan – Photography
Web: www.hayobaan.nl

Hayo Baan

Looked at your files again and neither of the files has the changes in it so your command does not seem to be executed.
What is that P1010108sOut.jpg file and how did you get it? As it has the exact same size as the file I get when I execute exiftool -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" P1010108s5.jpg, it looks like it is the result of the exiftool command, but how it got named P1010108sOut.jpg instead of the original, I don't know.

Also as I said, why does exiftool find 3 files (P1010108s.jpg, P1010108s.jpg_original, and P1010108sOut.jpg) where the dir command only shows two (and is missing the _original file that should definitely be there after executing the exiftool command that adds the lens info)? Also, as you can see, the file modification time wasn't changed, also indicating nothing has been updated.

Ah, I remember vaguely there might be an issue with the command-line (or powershell, don't remember exactly) on windows
where sometimes files show up with different names than in the GUI (Explorer). Open the directory in Explorer and see what it says there...
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Ok, I'm not in front of my computer, but I can give some answer.

First, P1010108sOut.jpg is the "correct_file", the file you make with your command. Sorry to don't say that before.

And yes, I found strange that exiftool find an P1010108s.jpg_original in the directory that I never found in windows, even in file explorer after refresh...
I also have sometimes more file with exiftool  than I can see with windows. Maybe exiftool see erased file on directory, than windows ignore? The file you can restore when you go on the rubbish tools?

I will try commands with " instead of ' tomorrow morning, I can't be in front on my computer before.

And maybe you can tell me where I can found exiftool previous version, to see if it works better on windows?

Hayo Baan

Ah, so the Out file was the one I produced earlier, that explains its size :)

So, you actually confirm my suspicion that it is Windows that is doing something strange with the file system. I don't know if old versions are still available for download, but I don't think that they would help; it's Windows itself that's doing something strange. Can you run dir /a in that directory? That should show us e.g. hidden files as well.

Here's another thought, perhaps its because the files are in the "My Images" directory, so let's try this: go to the root of your drive and create a new directory there then copy one of the files there and then run the exiftool command on that file.

cd \
mkdir TEST
copy "D:\Documents\Mes images\test\2016\test\tmp\P1010108s5.jpg" .
dir /a
exiftool -Lens="Canon 50mm FD 1.8" -LensModel="Canon 50mm FD 1.8" -FocalLength="50mm" -FocalLengthIn35mmFormat="100mm" P1010108s5.jpg
dir /a

Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Ok I will do that tomorrow morning. Sorry, I can't do it before.

And nobody are using exiftool on windows to confirm I'm not the only one with this problem???

flyjac

Ok, with " instead of ' I can now see display of exiftool (like I saw it before with powershell).
But still don't see it in LR or other windows software :(

And still don't see ghost original file, and result file keep same size and don't have the size you had when yon ran the command.

See result in my screenshot.

Very very strange all this...

Hayo Baan

This is weird! ExifTool finds the files (and reports the updated content), but they don't show up in the DIR ??? Stranger: the jpg has not changed at all (modification date is unchanged). No wonder you are not seeing the updates in LR; the file hasn't changed at all.

If you have anti virus software running, what software are you running? What happens if you disable it?

Also, can you add -FileName and -Directory to the test command: exiftool -a -G0:1 -FileName -Directory -"lens*" -"*focal*" *
This will show us where exiftool thinks the files are.

(What windows version are you using?)
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

yes, unbelievable...

exiftool find files in current dir.


C:\exiftool>exiftool -a -G0:1 -FileName -Directory -"lens*" -"*focal*" *
======== P1010108s5.jpg
[File:System]   File Name                       : P1010108s5.jpg
[File:System]   Directory                       : .
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[EXIF:ExifIFD]  Lens Model                      : Canon 50mm FD 1.8
[XMP:XMP-aux]   Lens                            : Canon 50mm FD 1.8
[EXIF:ExifIFD]  Focal Length                    : 50.0 mm
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 100 mm
[Composite]     Focal Length                    : 50.0 mm (35 mm equivalent: 10
.0 mm)
======== P1010108s5.jpg_original
[File:System]   File Name                       : P1010108s5.jpg_original
[File:System]   Directory                       : .
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[EXIF:ExifIFD]  Focal Length                    : 0.0 mm
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 0 mm
[Composite]     Focal Length                    : 0.0 mm
======== P1010108sOut.jpg
[File:System]   File Name                       : P1010108sOut.jpg
[File:System]   Directory                       : .
[MakerNotes:Panasonic] Lens Type                : NO-LENS
[MakerNotes:Panasonic] Lens Serial Number       : 0000000
[MakerNotes:Panasonic] Lens Firmware Version    : 0.0.0.0
[EXIF:ExifIFD]  Lens Model                      : Canon 50mm FD 1.8
[XMP:XMP-aux]   Lens                            : Canon 50mm FD 1.8
[EXIF:ExifIFD]  Focal Length                    : 50.0 mm
[EXIF:ExifIFD]  Focal Length In 35mm Format     : 100 mm
[Composite]     Focal Length                    : 50.0 mm (35 mm equivalent: 10
.0 mm)
    3 image files read

C:\exiftool>


Note that if I compare all exiftool display, the only difference between 2 fils are modification date showing that file has been modified...
And size displayed by exiftool is same as you modified file.


[ExifTool]      ExifTool Version Number         : 10.36
[File:System]   File Name                       : P1010108s5.jpg
[File:System]   Directory                       : .
[File:System]   File Size                       : 68 kB
[File:System]   File Modification Date/Time     : 2016:12:03 10:26:55+01:00
[File:System]   File Access Date/Time           : 2016:12:03 10:26:55+01:00
[File:System]   File Creation Date/Time         : 2016:12:03 10:21:02+01:00
[File:System]   File Permissions                : rw-rw-rw-


I'm using Windows 7, nothing special until I use exiftool  :o

I also look if I find the _original file in garbage, but no.

flyjac

Stop, I found the problem!

This is totally my fault, even if it was tricky.
Exiftool is not the problem, the problem is note antivirus but nearly, good clue!
In fact my firewall (comodo) didn't know that new exe (Exiftool) in windows dir, and automatically execute it in the sandbox. So it was not seen by all windows process, except exiftool. And exiftool can see it, as he has sandbox environment...

So I'm very sorry to spent your time for this, and thanks so much for the help!
I will found a solution for exiftool to be accepted as a "normal" program.

Thanks again!

Hayo Baan

Ah, that's a new one, glad you found it ;D

It should be possible to add exiftool as valid program to comodo so this won't happen in the future. I googled a bit and found this page on the comodo website, I think this should guide you further.
Hayo Baan – Photography
Web: www.hayobaan.nl

flyjac

Yes, I already make a rule to have it like a safe program.

Now it works like a charm :) I use it with LR and Lenstagger also without any problem (except it doesn't offer to change used focal)

Thanks again for your help!!!