Lychee: Wrong takestamp on some videos

i cant get the correct takestamps on videos other than quicktime. I have tried to change timezone at app.php and also at mysql and restart after that but nothing changes, i guess i’m missing a point. Also i have tried to run “php artisan config:cache” after timezone change.

As i detect quicktime videos have correct time zones but the others are on zulu timezone i’m on +3 so it has to be 12:49.19 in this example: `object(PHPExif\Exif)#1884 (2) { [“data”:protected]=> array(10) { [“width”]=> int(1920) [“height”]=> int(1080) [“framerate”]=> float(29.982983550766) [“duration”]=> string(9) “29.383333” [“creationdate”]=> object(DateTime)#1885 (3) { [“date”]=> string(26) “2017-08-20 16:34:45.000000” [“timezone_type”]=> int(1) [“timezone”]=> string(6) “+03:00” } [“make”]=> string(5) “Apple” [“camera”]=> string(8) “iPhone 6” [“FileName”]=> string(12) “IMG_7763.MOV” [“FileSize”]=> string(8) “56472993” [“MimeType”]=> string(15) “video/quicktime”

object(PHPExif\Exif)#1883 (2) { [“data”:protected]=> array(11) { [“width”]=> int(1920) [“height”]=> int(1080) [“framerate”]=> float(29.879816737124) [“duration”]=> string(8) “4.117000” [“creationdate”]=> object(DateTime)#1882 (3) { [“date”]=> string(26) “2016-07-24 09:49:19.000000” [“timezone_type”]=> int(2) [“timezone”]=> string(1) “Z” } [“latitude”]=> string(8) “+39.9837” [“longitude”]=> string(9) “+032.8752” [“gps”]=> string(18) “+39.9837,+032.8752” [“FileName”]=> string(23) “VID_20160724_124914.mp4” [“FileSize”]=> string(8) “10722475” [“MimeType”]=> string(9) “video/mp4” } `

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (15 by maintainers)

Most upvoted comments

selecting multiple photos and adding/subtracting time will be a life saving feature when:

if Lychee cant get the correct TZ of the photo (because of the reasons stated in this thread) if time settings in your device is not right if you visit someone abroad and their devices are on different TZ

actually i prefer to make this corrections on orijinal files but it will be enough for most of the people to do it on the Lychee and also that will shorten the process (remove and readd the files) for people like me.