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-05-25 17:13:05-07 by janmartin
-geotag not working on jpg files extracted from .avi. Files incldued!
Hi everybody,

please help me in solving this geotagging problem.

I already spend the whole weekend on it, learning a lot, but unfortunately not making any progress at all.

I have 121 jpg pictures extracted from an .avi video using mplayer:
mplayer -vo jpeg:optimize=100:quality=100:outdir=/home/me/test/panos -sstep 12 /home/me/test/'file. +avi'


Manually I created a "track.gpx" file which should be valid and also match the "Date Modified" of the jpg's displayed by Ubuntu Nautilus file manager.

However when running this command:
/home/me/Image-ExifTool-7.76/exiftool -v2 -geotag /home/me/test/track.gpx /home/me/test/panos > /h +ome/me/test/geotag.txt


I only get this output, indicating that images have not been geotagged at all.
Argument "-Geotime<DateTimeOriginal" is assumed Loaded 5 points from GPS track log file '/home/me/test/track.gpx' GPS track start: 2009:05:24 14:23:15 UTC GPS track end: 2009:05:24 14:25:02 UTC Writing File:Geotag ======== /home/me/test/panos/00000036.jpg Setting new values from /home/me/test/panos/00000036.jpg Nothing changed in /home/me/test/panos/00000036.jpg ....


I tried it the whole weekend, worked especially on Timezone settings, but could not make it work.
Your help is greatly appreciated.

Please find the files (first 5 jpgs instead of all 121) and output of the commands I run here:
mybestprojects.com/data/test.zip

Thanks,
Jan,
janmartin3 AT googlemail DOT com


Some more info:v
Images, "Date Modified" according to Ubuntu Nautilus file manager:
2009-05-24 02:23:15 PM
to
2009-05-24 02:25:02 PM

track.gpx: (Created manually.) According to "geotag":
GPS track start: 2009:05:24 14:23:15 UTC
GPS track end: 2009:05:24 14:25:02 UTC

Output of various command I run to solve the problem:
/home/me/Image-ExifTool-7.76/exiftool -v2 -geotag /home/me/test/track.gpx /home/me/test/panos > /h +ome/me/test/geotag.txt /home/me/Image-ExifTool-7.76/exiftool -h /home/me/test/panos/00000001.jpg > /home/me/test/exiftool- +h_00000001.jpg.html /home/me/Image-ExifTool-7.76/exiftool -h /home/me/test/panos/00000121.jpg > /home/me/test/exiftool- +h_00000121.jpg.html /home/me/Image-ExifTool-7.76/exiftool -v2 -AllDates-=2:00 /home/me/test/panos > /home/me/test/-All +Dates-=2:00.txt
Direct Responses: 10813 | Write a response