ExifTool Forum

General => Metadata => Topic started by: semidark on March 08, 2019, 02:10:03 AM

Title: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 02:10:03 AM
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
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 02:20:30 AM
I mailed the Sample Video link to Phil.
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: Phil Harvey on March 08, 2019, 08:18:36 AM
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.
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 11:29:18 AM
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?
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: Phil Harvey on March 08, 2019, 11:45:16 AM
What platform?  I can easily put out a pre-release for Linux/Mac if that works for you.

- Phil
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 11:59:36 AM
Linux please
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: Phil Harvey on March 08, 2019, 12:05:31 PM
here you go (https://exiftool.org/Image-ExifTool-11.32p.tar.gz)
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 12:27:37 PM
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)
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: Phil Harvey on March 08, 2019, 12:35:13 PM
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
Title: Re: Extract GPS-metadata from MOV files produced by DuDuBell M1 Dashcam
Post by: semidark on March 08, 2019, 12:41:40 PM
Awesome  :)