I
Immich2y ago
Juan

Videos with incorrect locations [Immich issue]

I've imported my gphotos library using mattwilson1024/google-photos-exif tool and then the Immich CLI The google-photos-exif-tool did not write any metadata regarding locations on videos, only on photos However, when uploading to Immich, Immich decided random locations for those videos. So now my map is full of videos on random African countries and even the middle of the Pacific ocean.
10 Replies
bo0tzz
bo0tzz2y ago
If you check the files with exiftool, do they have location metadata?
bo0tzz
bo0tzz2y ago
I think this may be the same thing https://github.com/immich-app/immich/issues/3923
GitHub
[BUG] some videos without GPS coordinates are listed on the map · I...
The bug as the title says I haven't been there, but the map shows that I have taken some media there. and these media files do not have GPS coordinates. I haven't checked all of these files...
Juan
JuanOP2y ago
my bad. Windows did not show any location, but exiftool does. For instance: 48 deg 13' 37.92" N, 16 deg 21' 58.32" E Those coordinates are Vienna, Austria, which is actually the correct location However, Immich is showing this location: Enewetak Atoll, Marshall Islands
ExifTool Version Number : 12.65
File Name : IMG_9105.MOV
...
GPS Position : 48 deg 13' 37.92" N, 16 deg 21' 58.32" E
ExifTool Version Number : 12.65
File Name : IMG_9105.MOV
...
GPS Position : 48 deg 13' 37.92" N, 16 deg 21' 58.32" E
bo0tzz
bo0tzz2y ago
Does it have a GPS altitude field? I think there's a bug where that gets mixed up currently
bo0tzz
bo0tzz2y ago
There's an open PR that fixes multiple issues around this stuff https://github.com/immich-app/immich/pull/2908
GitHub
fix(server): use exiftool decoded values and unify metadata extract...
There was a lot of unnecessary stuff happening which exiftool should have already taken care of. It's been replaced with the values provided by the exiftool package and the code is much cleaner...
Juan
JuanOP2y ago
Do you mean this?
GPS Altitude : 158.15 m
GPS Altitude Ref : Above Sea Level
GPS Altitude : 158.15 m
GPS Altitude Ref : Above Sea Level
bo0tzz
bo0tzz2y ago
Yeah
Juan
JuanOP2y ago
well, at least it seems it must be a bug. Immich does not overwrite metadata, right? So once there's a fix for this, rerunning the metadata job should do the work and I'd not need to re-upload all the stuff, right?
bo0tzz
bo0tzz2y ago
Indeed
Juan
JuanOP2y ago
and yeah, it seems #2859 is probably the bug I have Thank you very much for the really fast answers btw!

Did you find this page helpful?