Reversed Geotagging not working with jp4 image files

Started by janmartin, November 04, 2010, 12:56:34 PM

Previous topic - Next topic

janmartin

Hi Phil,

I am working with jp4 files. (Kind of jpeg)
Specifications:
http://wiki.elphel.com/index.php?title=JP4

Reading and writing exif data works well with exiftool, except Reverse Geotagging.

1) Your system type (Windows XP, Linux, Mac, etc).
Kubuntu 10.4

2) The version of exiftool you are using (the output of the "exiftool -ver" command).
8.31

3) The specific command line you are using (or a sample script if having problems with the API).

exiftool -r -if '$gpsdatetime' -fileOrder gpsdateime -p /home/jan/20101103/gpx.fmt -d %Y-%m-%dT%H:%M:%SZ /data/jan/20101102/internal/0 > /data/jan/20101102/output/gpx/out.gpx

4) The console output from the command.

   1 directories scanned
   0 image files read
out.gpx is empty.

When changing the extension from jp4 to jpg it works well.

5) It is often useful to attach an image file which exhibits the problem.

diy-streetview.org/data/phil/1285706041_065173-000002.jp4

Thanks,
Jan

Phil Harvey

#1
Thanks for the sample.  The problem is just that exiftool doesn't recognize the file extension, but you can force it to process .JP4 files by adding -ext jp4 to your command.

- Phil

P.S.  It's really nice when someone follows the guidelines for reporting a problem! :)
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).