I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-06-16 17:24:11-07 by janmartin in response to 10816
Re: -geotag not working on jpg files extracted from .avi. Files incldued!
Hi,

it's me again, same problem as last time.
Can't believe it!

I try:
exiftool -v2 -geotag trk.gpx '-geotime<${FileModifyDate}-02:00' -P /pics


and get:
Loaded 1673 points from GPS track log file '/home/me/perl/gpx/rewe.log.gpx'
GPS track start: 2009:06:16 11:30:46 UTC
GPS track end: 2009:06:16 12:03:11 UTC
Writing File:Geotag
Setting new values from /home/me/perl/pics/00000015.jpg
Geotime value: 2009:06:16 09:33:30 UTC
Nothing changed in /home/me/perl/pics/00000015.jpg
======== /home/me/perl/pics/00000007.jpg
...

Ok, So I thought the
${FileModifyDate}-02:00
should take care of the 2 hours time zone difference of the pictures to the GPS UTC time.
Am I wrong?

I try
exiftool -s -time:all pics/00000015.jpg
and get:
FileModifyDate : 2009:06:16 11:33:30+02:00

So I started to experiment:

'-geotime<${FileModifyDate}-04:00' '-geotime<${FileModifyDate}-02:00' '-geotime<${FileModifyDate}-00:00' '-geotime<${FileModifyDate}-0:00' '-geotime<${FileModifyDate}+02:00' '-geotime<${FileModifyDate}+04:00'

but nothing works.

What's wrong again?
Is it really me?

Direct Responses: 10985 | Write a response