GPS Location (Tracking) on videos

Started by luizacortez, March 14, 2024, 03:10:27 PM

Previous topic - Next topic

luizacortez

Hi. I am submitting a video (.mp4 and .mov) on the exiftool so I can extract a kind of gps tracking, having the location for each second of my video. The problem that I'm having is that when I compile the program with my video (that was recorded with an iphone or samsung), the software shows me the others metadata, like the gps location for ONE point, not the whole video divided by seconds.

I wanted to know if this is a problem that Iphone videos don't have the tracking metadata so i can do a kind of tracking or it was my mistake with some installation. I saw a video on youtube of a guy that did this thing (the GPS tracking) but with his dashcam records, but i don't have a dashcam.

Do i need to reinstall? Or there's an specific command that i forgot to use? (I am using this video as a tutorial: https://www.youtube.com/watch?v=Uje5si23lBk&t=495s )

Thanks!

StarGeek

Did you grab the GPX or KML format file from GitHub or the archive on the main page?

What is the exact command you used and the exact output?

Can you share a sample video?

I don't recall problems with iPhone videos before but I don't use one to know for certain.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

luizacortez

Hi,

I copied the file from the guy of the video. My problem is that I can't find the location for each second, not even in the terminal.


C:\Users\franc>"C:\Luiza\teste_localizacao\exiftool-12.78 (2)\exiftool.exe" -p "C:\Luiza\teste_localizacao\gpx.fmt" -ee "C:\Luiza\teste_localizacao\IMG_8176.MOV"

<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0"
 creator="ExifTool 12.78"
 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="56.9219" lon="14.5671">
  <ele>159.205</ele>
</trkpt>
Warning: [Minor] Tag 'Main:gpsdatetime' not defined - C:/Luiza/teste_localizacao/IMG_8176.MOV
</trkseg>
</trk>
</gpx>

this is my input and output...
I don't know if this is because the Iphone doesn't have the gpsdatetime for each second or I had a problem when I was sending the file from my cellphone to my computer.

Phil Harvey

It looks like the phone isn't storing timed GPS.  I don't think iPhones store this.

- Phil
...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 ($).