Im running exiftools 10.74 in windows 10.
I've extracted frames (image.jpg) from a video (mov) which I want to geotag. I have a gpx file (6aout.gpx) created using inverse geotagging from a set of images (geoimage.jpg).
When trying to geotag using: exiftool -geotag=6out.gpx image.jpg I get Warning: No writable tags
Is that because image.jpg dont have GPSLatitude GPSLongitude tags? If so, how can I copy those tags? And which tag should I use for Geotime?
Example files are attached.
Thanks for your help,
Javier
There is no timestamp in image.jpg. Without a time stamp, there's no way for exiftool to figure out the position in the 6out.gpx track.
Can I create a timestamp from datemodified?
If you want to use the file modification date/time, you can do this:
exiftool -geotag=6out.gpx "-geotime<filemodifydate" -P image.jpg
If this doesn't work, see the Troubleshooting section here (https://exiftool.org/geotag.html#Troubleshooting). (Your question was point number 2 on this page.)
- Phil
Thanks for your replies.
I tried using filemodifydate but get:
Warning: Error opening GPS file 'D:\6out.gpx' in File:Geotag (ValueConvInv)
Warning: GPS track is empty in File:Geotime (ValueConvInv)
Nothing to do.
I created the log track as per the example:
exiftool -fileOrder FilemodifyDate -p gpx.fmt D:\images6a > D:\6aout.gpx
Do I need to fix the log track?
cheers,
Javier
Hi Javier,
You wrote "6aout.gpx", but you are trying to read "6out.gpx", which doesn't exist. Make sure you use the correct file name.
- Phil
Sorry yes about the typo but still getting an error:
Warning: Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z]) in File:Geotime (ValueConvInv)
1 directories scanned
0 image files updated
532 image files unchanged
What is the value of DateTimeOriginal for the image?
exiftool -datetimeoriginal image.jpg
Unless you have copied a different tag to GeoTime, then the format of DateTimeOriginal must be wrong.
- Phil
Image.jpg was extracted from a mov video. I thought I could set up the time using:
exiftool "-FileCreateDate-=00:00:02 7:38:00" D:\image.jpg
How can I create a valid time stamp?
cheers,
Javier
See point number 2 in the troubleshooting section here (https://exiftool.org/geotag.html#Troubleshooting).
- Phil
I was using "-geotime=filemodifydate" instead of "-geotime<filemodifydate" !!
Thanks for your patience and time!
cheers,
Javier