ExifTool Forum

General => Metadata => Topic started by: Alistair R on October 28, 2021, 10:28:53 AM

Title: DJI Zenmuse XT2 GPS Data
Post by: Alistair R on October 28, 2021, 10:28:53 AM
Hi,
Excellent utility, Phil!

Have recent bought a DJI Zenmuse XT2 thermal camera and am using the RGB 4k ( .mov ) and thermal HD ( .seq ) video outputs.  What I would like to get is the full set of GPS positions stored during a flight.

If I just use  'exiftool -ee FILE' on either the mov or seq files, I get just one GPS position output.  However, if i use the same command on one of my NextBase dashcam mp4 files, I get a whole mass of GPS coordinates.

Am I missing something obvious in the options??  I'm only looking to output the positions, not modify the files in any way.

Many thanks, Al
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: StarGeek on October 28, 2021, 11:15:39 AM
Try
exiftool -G1 -a -s -ee -GPS* file.mp4

Do you still  only get one gps coordinate?  Probably in a tag named GPSCoordinates?

If so, can you make a short sample file available?
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: Alistair R on October 28, 2021, 11:21:36 AM
Hi,
Alas this was the output:

exif test mov gps extract>exiftool -G1 -a -s -ee -GPS* DJI_0002.SEQ
[FLIR]          GPSValid                        : Yes
[FLIR]          GPSVersionID                    : 2.2.0.0
[FLIR]          GPSLatitudeRef                  : North
[FLIR]          GPSLongitudeRef                 : West
[FLIR]          GPSLatitude                     : 51 deg 36' 15.35" N
[FLIR]          GPSLongitude                    : 1 deg 53' 47.86" W
[FLIR]          GPSAltitude                     : -40.12 m
[FLIR]          GPSSpeedRef                     : km/h
[FLIR]          GPSTrackRef                     : True North
[FLIR]          GPSSpeed                        : 0.00
[FLIR]          GPSTrack                        : 0.00
[FLIR]          GPSMapDatum                     : WGS84
[Composite]     GPSPosition                     : 51 deg 36' 15.35" N, 1 deg 53' 47.86" W

The sample files are 1G and 3G :-(
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: Phil Harvey on October 28, 2021, 02:04:45 PM
Currently ExifTool extracts metadata only from the first frame in a SEQ file, but I could enhance the -ee option to extract metadata from all frames if you could make sample available.  You can upload the 1 GB sample to dropbox or some other service like that.

- Phil
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: StarGeek on October 28, 2021, 03:53:34 PM
I passed the link on to Phil.
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: Alistair R on October 28, 2021, 04:16:24 PM
Many thanks for the swift reply, Phil, that explains what I am seeing!

You should now have a link to two sample files ( .mov and .seq ) from StarGeek.

Many thanks, Al
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: Phil Harvey on October 29, 2021, 07:49:45 AM
Hi Al,

I got the files.

ExifTool 12.35 (when released) will extract the GPS from all frames of the SEQ file.  But I can't find any streaming GPS in the MOV video.

- Phil
Title: Re: DJI Zenmuse XT2 GPS Data
Post by: Alistair R on October 29, 2021, 10:58:48 AM
Hi Phil,

Many thanks for the swift action - that's great news!

Have checked and it appears only the SEQ file has the GPS multiframe data, my mistake. :-(

Rgds Al