Hello,
following the advice in this thread (https://exiftool.org/forum/index.php/topic,9623.msg49958.html) I used the following command to extract the GPS Metadata from my brand new DashCam Videos.
exiftool -p gpx.fmt -ee testdrive.MOV
Sadly the output is kind of empty:
<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0"
creator="ExifTool 11.30"
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>
</trkseg>
</trk>
</gpx>
As sugested I uploaded a short sample video to my googledrive.
To whom may i post the Link?
Thnx in advance
Semidark
I mailed the Sample Video link to Phil.
I got the video. The camera stores GPS positions every 10 seconds. I can decode the coordinates (GPSDateTime/Latitude/Longitude), but it would help if I could have another short video shot at a different altitude and speed, and going in a different direction so I can try to decode GPSAltitude/Speed/Track as well.
- Phil
Edit: No need to send another sample. This format looks the same as posted in this thread (https://exiftool.org/forum/index.php/topic,9945.0.html). I can decode the GPSAltitude/Speed/Track now.
wow. That was fast :o
Any chance to get your current dev version of the ExifTool to do a test with some more videos on my Computer?
What platform? I can easily put out a pre-release for Linux/Mac if that works for you.
- Phil
Linux please
here you go (https://exiftool.org/Image-ExifTool-11.32p.tar.gz)
That looks fantastic. One last question. How can i output the speed in the gpx file. I Could not find an answer here (https://exiftool.org/geotag.html#Inverse)
Looking at the GPX developer's manual (https://www.topografix.com/gpx_manual.asp), it seems as if you can just add a <speed> entry in the <trkpt>. However, it must be in m/s, so you'll have to convert. To convert from km/h you would add a line like this to the gpx.fmt file:
#[BODY] <speed>${gpsspeed;$_/=3.6}</speed>
- Phil
Awesome :)