ExifTool Forum

ExifTool => Newbies => Topic started by: kowata on November 16, 2022, 08:08:31 PM

Title: About GPS data in MOV format
Post by: kowata on November 16, 2022, 08:08:31 PM
i am a beginner
Please tell me how to get the GPS data of MOV format video shot with DJI products.
Title: Re: About GPS data in MOV format
Post by: Phil Harvey on November 16, 2022, 09:32:13 PM
First you have to figure out how to run ExifTool, but the basic command should be something like this:

exiftool -ee -G3 "-gps*" FILE

- Phil
Title: Re: About GPS data in MOV format
Post by: kowata on November 16, 2022, 09:41:36 PM
Dear Phil Harvey

thank you for your reply

I was able to get the GPS data by executing the command you taught me,
but how can I output all the GPS data written in the video to TXT or GPX?
Title: Re: About GPS data in MOV format
Post by: Phil Harvey on November 17, 2022, 07:41:00 AM
To send the about output to TXT, do this:

exiftool -ee -G3 "-gps*" FILE > out.txt

To format as GPX, put this file (https://raw.githubusercontent.com/exiftool/exiftool/master/fmt_files/gpx.fmt) (gpx.fmt) in the current directory and run this command:

exiftool -ee -p gpx.fmt FILE > out.txt

- Phil
Title: Re: About GPS data in MOV format
Post by: kowata on November 17, 2022, 07:55:00 PM
Dear Phil Harvey

thank you for your reply


I was able to output to each format with the command you told me,
One GPS data will not be written.
How can I output all the GPS data in the MOV?

<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0"
 creator="ExifTool 12.49"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns="http://www.topografix.com/GPX/1/0"
 xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
<trk>
<number>1</number>
<trkseg>
<trkpt lat="00.008804" lon="000.636409">
  <ele>42.7</ele>
</trkpt>
</trkseg>
</trk>
</gpx>
Title: Re: About GPS data in MOV format
Post by: Phil Harvey on November 17, 2022, 09:13:06 PM
Are you sure your MOV contains timed GPS?  Try using -ee3 instead of -ee, but that's all we can do for now.  If ExifTool isn't extracting everything you think it should, upload a sample MOV somewhere and I'll take a look to see what I can do.

- Phil
Title: Re: About GPS data in MOV format
Post by: kowata on November 17, 2022, 10:02:06 PM
Dear Phil Harvey

thank you for your reply


How can I check if my MOV contains timed GPS?

Title: Re: About GPS data in MOV format
Post by: Phil Harvey on November 18, 2022, 07:43:43 AM
You can upload a file somewhere so I can take a look.

- Phil