gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

gphoto2 shell show-info get error time

Open huangmingyou opened this issue 3 years ago • 4 comments

use gphoto --shell command " show-info file.jpg" get error time. but use show-exif is right.

gphoto version is gphoto2 2.5.26

this is log: hmy@debian10:/tmp/k$ LC_ALL=C gphoto2 --shell gphoto2: {/tmp/k} /> ls
gphoto2: {/tmp/k} /store_00020001/DCIM/100CANON> show-info IMG_8357.JPG
Information on file 'IMG_8357.JPG' (folder '/store_00020001/DCIM/100CANON'): File: Mime type: 'image/jpeg' Size: 4349434 byte(s) Downloaded: no Permissions: read/delete Time: Fri Jan 15 22:40:16 2021 Thumbnail: Mime type: 'application/x-unknown' Audio data: None available. gphoto2: {/tmp/k} /store_00020001/DCIM/100CANON> show-exif IMG_8357.JPG
EXIF tags: --------------------+----------------------------------------------------------- Tag |Value
--------------------+----------------------------------------------------------- Make |Canon
Model |Canon EOS 100D
Orientation |Top-left
XResolution |72
YResolution |72
ResolutionUnit |Inch
DateTime |2021:01:15 14:40:16
Artist |
YCbCrPositioning |Co-sited
Copyright |20210104 (Photographer) - [None] (Editor)
Compression |JPEG compression
XResolution |72
YResolution |72
ResolutionUnit |Inch
ExposureTime |1/500 sec.
FNumber |f/2.8
ExposureProgram |Creative program (biased toward fast shutter speed)
ISOSpeedRatings |200
ExifVersion |Exif Version 2.3
DateTimeOriginal |2021:01:15 14:40:16
DateTimeDigitized |2021:01:15 14:40:16
ComponentsConfigurat|Y Cb Cr -
ShutterSpeedValue |9.00 EV (1/512 sec.)
ApertureValue |3.00 EV (f/2.8)
ExposureBiasValue |0.00 EV
MeteringMode |Pattern
Flash |Flash did not fire, compulsory flash mode
FocalLength |40.0 mm
MakerNote |7898 bytes undefined data
UserComment |
SubsecTime |07
SubSecTimeOriginal |07
SubSecTimeDigitized |07
FlashPixVersion |FlashPix Version 1.0
ColorSpace |sRGB
PixelXDimension |5184
PixelYDimension |3456
FocalPlaneXResolutio|5798.658
FocalPlaneYResolutio|5788.945
FocalPlaneResolution|Inch
CustomRendered |Normal process
ExposureMode |Auto exposure
WhiteBalance |Auto white balance
SceneCaptureType |Standard
GPSVersionID |2.3.0.0
InteroperabilityInde|R98
InteroperabilityVers|0100
--------------------+----------------------------------------------------------- EXIF data contains a thumbnail (12325 bytes). gphoto2: {/tmp/k} /store_00020001/DCIM/100CANON>

huangmingyou avatar Jan 15 '21 07:01 huangmingyou

can you report gphoto2 --version

to see if was built with libexif ?

msmeissn avatar Jan 15 '21 07:01 msmeissn

gphoto2 2.5.26

Copyright (c) 2000-2020 Marcus Meissner and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of gphoto2 under the terms of the GNU General Public License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options: gphoto2 2.5.26 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.25 standard camlibs (SKIPPING lumix), gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

huangmingyou avatar Jan 15 '21 08:01 huangmingyou

looks like the gp_camera_get_file_info will use the system timezone add the file time.

huangmingyou avatar Jan 18 '21 06:01 huangmingyou

@huangmingyou can you still reproduce ?

luzpaz avatar Jul 11 '23 12:07 luzpaz