Comment 10 for bug 1814014

Revision history for this message
Urs One (utux) wrote :

I can confirm the bug affects me as well using 0.9.15 (and the 0.9.13).

Renamed video after load:
  Jul 20 18:14 20190720-2013-0769.mp4

Original video on SD card:
  Jul 20 18:14 DCIM/100MEDIA/DJI_0769.MP4

Computer Time zone: Europe/Berlin (CEST, +0200)

Metadata original:

$ mediainfo DCIM/100MEDIA/DJI_0769.MP4
General
Complete name : /media/rsanta/6336-6530/DCIM/100MEDIA/DJI_0769.MP4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 376 MiB
Duration : 31 s 599 ms
Overall bit rate : 99.9 Mb/s
Encoded date : UTC 2019-07-20 18:13:52
Tagged date : UTC 2019-07-20 18:13:52
Writing application : Lavf56.15.102

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : <email address hidden>
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=29
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 31 s 599 ms
Bit rate : 99.9 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.402
Stream size : 376 MiB (100%)
Encoded date : UTC 2019-07-20 18:13:52
Tagged date : UTC 2019-07-20 18:13:52

Metadata did not change after loading:

$ diff original-meta loaded-meta
2c2
< Complete name : DCIM/100MEDIA/DJI_0769.MP4
---
> Complete name : 20190720-2013-0769.mp4

Crosscheck EXIF info of previous still photo:
('mediainfo' does not show image timestamp, using 'exiv2')

$ exiv2 DCIM/100MEDIA/DJI_0768.JPG
File name : DCIM/100MEDIA/DJI_0768.JPG
File size : 7348791 Bytes
MIME type : image/jpeg
Image size : 4000 x 3000
Camera make : DJI
Camera model : FC2204
Image timestamp : 2019:07:20 18:13:24
Image number :
Exposure time : 1/1600 s
Aperture : F2.8
Exposure bias : 0 EV
Flash : No flash
Flash bias :
Focal length : 4.4 mm (35 mm equivalent: 24.0 mm)
Subject distance:
ISO speed : 100
Exposure mode : Auto
Metering mode : Center weighted average
Macro mode :
Image quality :
Exif Resolution : 4000 x 3000
White balance : Manual
Thumbnail : image/tiff, 27882 Bytes
Copyright :
Exif comment :

Conclusion:
* both timestamps are in UTC (video and image)
* at least mediainfo shows UTC timezone clear, whereas the image is without timezone
* in fact both are taken at almost same time
* logic seems to be that the timezone offset is added to the video, not image (because image is without timezone information)

I have no clue as to handle this properly.
One way would be to ignore the timezone information for videos - identical handling to images.
Other options would be to offer configuration for individual handling.