I am a newb to ExifTool, so please bare with me.
I'm using a Mac for reference.
I have a thinkware U1000 Dash cam. I have been trying to export the embedded data to use for telemetry overlay, for driving videos, using the Garmin Virb Software. I have used the command listed below, each with the full path included
ExifTool -p [gpx.fmt] -ee [video file] > [output.gpx]
when I try to upload the outputted gpx to Garmin Virb it keeps saying 'failed to read file'
can someone point me to the correct command line that would output a gpx or fit file that is compatible with Garmin Virb.
thanks in advance for any help
Open up the file in a text editor and make sure it looks correct. It should look something like this
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="Yamatabi logger for Android"
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/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<trk>
<name><![CDATA[2013-03-09 13:03:46]]></name>
<trkseg>
<trkpt lat="32.707996" lon="-117.161255">
<ele>18</ele>
<time>2013-03-09T21:03:46.000Z</time>
</trkpt>
<trkpt lat="32.70796" lon="-117.16112">
<ele>4</ele>
<time>2013-03-09T21:03:56.000Z</time>
</trkpt>
<trkpt lat="32.707775" lon="-117.16104">
<ele>78</ele>
<time>2013-03-09T21:04:31.000Z</time>
</trkpt>
<trkpt lat="32.707806" lon="-117.16083">
<ele>0</ele>
<time>2013-03-09T21:04:59.000Z</time>
</trkpt>
<trkpt lat="32.70776" lon="-117.16091">
<ele>-6</ele>
<time>2013-03-09T21:05:35.000Z</time>
</trkpt>
If it just says gpx.fmt over and over, then you didn't provide the correct path to the gpx.fmt.
First, download the gpx.fmt from GitHub (https://github.com/exiftool/exiftool/blob/master/fmt_files/gpx.fmt) and take note of where you saved it to.
(https://i.imgur.com/DZ5d29B.png)
Then make sure you have the correct path, something like this, where "/path/to/files/" is the actual path to the gpx.fmt file
-p /path/to/files/gpx.fmt
i.e. if it's saved in the Windows Documents folder (replacing <Your User Name> with the correct location)
-p "C:\Users\<Your User Name>\Documents\gpx.fmt"
this is the output that I got from previous attempts and Virb kept saying that it couldn't read the file. it looks like what you have posted. it seems I did it correctly based of of your post. I had downloaded the file for the gpx.fmt placed it on my desktop and then dragged that onto the terminal to get the file path main difference I can see is the absence of timestamps?
<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0"
creator="ExifTool 12.76"
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="50.6980948333333" lon="-3.51606233333333">
</trkpt>
<trkpt lat="50.6980361666667" lon="-3.51604033333333">
</trkpt>
<trkpt lat="50.698042" lon="-3.51606133333333">
</trkpt>
<trkpt lat="50.6980766666667" lon="-3.5160485">
</trkpt>
<trkpt lat="50.6980766666667" lon="-3.5160485">
</trkpt>
<trkpt lat="50.6980766666667" lon="-3.5160485">
</trkpt>
<trkpt lat="50.6981218333333" lon="-3.51604133333333">
</trkpt>
<trkpt lat="50.6981413333333" lon="-3.516051">
</trkpt>
<trkpt lat="50.6981623333333" lon="-3.51606533333333">
</trkpt>
<trkpt lat="50.6981808333333" lon="-3.5160825">
</trkpt>
<trkpt lat="50.6982006666667" lon="-3.51610183333333">
</trkpt>
<trkpt lat="50.6982195" lon="-3.51612266666667">
</trkpt>
<trkpt lat="50.6982395" lon="-3.51614433333333">
</trkpt>
<trkpt lat="50.6982573333333" lon="-3.51616633333333">
</trkpt>
<trkpt lat="50.6982725" lon="-3.516184">
</trkpt>
<trkpt lat="50.6982818333333" lon="-3.51619383333333">
</trkpt>
<trkpt lat="50.6982875" lon="-3.5162">
</trkpt>
<trkpt lat="50.6982945" lon="-3.51621083333333">
</trkpt>
<trkpt lat="50.6983006666667" lon="-3.51622533333333">
</trkpt>
<trkpt lat="50.6983035" lon="-3.51624216666667">
</trkpt>
<trkpt lat="50.6983071666667" lon="-3.5162685">
</trkpt>
<trkpt lat="50.6983026666667" lon="-3.51629583333333">
</trkpt>
<trkpt lat="50.698294" lon="-3.51632366666667">
</trkpt>
<trkpt lat="50.6982793333333" lon="-3.516354">
</trkpt>
<trkpt lat="50.69826" lon="-3.51638883333333">
</trkpt>
<trkpt lat="50.6982403333333" lon="-3.51643433333333">
</trkpt>
<trkpt lat="50.6982166666667" lon="-3.516489">
</trkpt>
<trkpt lat="50.69819" lon="-3.51655066666667">
</trkpt>
<trkpt lat="50.6981645" lon="-3.5166165">
</trkpt>
<trkpt lat="50.6981361666667" lon="-3.5166845">
</trkpt>
<trkpt lat="50.6981043333333" lon="-3.51676">
</trkpt>
<trkpt lat="50.698072" lon="-3.516839">
</trkpt>
<trkpt lat="50.69804" lon="-3.51691916666667">
</trkpt>
<trkpt lat="50.698008" lon="-3.51700083333333">
</trkpt>
<trkpt lat="50.6979766666667" lon="-3.51708283333333">
</trkpt>
<trkpt lat="50.6979456666667" lon="-3.51716333333333">
</trkpt>
<trkpt lat="50.6979163333333" lon="-3.51723833333333">
</trkpt>
<trkpt lat="50.697891" lon="-3.51730233333333">
</trkpt>
<trkpt lat="50.6978673333333" lon="-3.5173575">
</trkpt>
<trkpt lat="50.6978435" lon="-3.51740516666667">
</trkpt>
<trkpt lat="50.6978218333333" lon="-3.51744083333333">
</trkpt>
<trkpt lat="50.6978091666667" lon="-3.51745983333333">
</trkpt>
<trkpt lat="50.6978091666667" lon="-3.51745983333333">
</trkpt>
<trkpt lat="50.6978061666667" lon="-3.51746466666667">
</trkpt>
<trkpt lat="50.6978058333333" lon="-3.5174655">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.697806" lon="-3.51746633333333">
</trkpt>
<trkpt lat="50.6977975" lon="-3.51746916666667">
</trkpt>
<trkpt lat="50.6977721666667" lon="-3.51748116666667">
</trkpt>
<trkpt lat="50.6977441666667" lon="-3.51747733333333">
</trkpt>
<trkpt lat="50.69771" lon="-3.51746316666667">
</trkpt>
<trkpt lat="50.6976695" lon="-3.51744033333333">
</trkpt>
<trkpt lat="50.6976251666667" lon="-3.51741583333333">
</trkpt>
<trkpt lat="50.6975778333333" lon="-3.51739133333333">
</trkpt>
</trkseg>
</trk>
</gpx>
PH Edit: Put XML in code block.
The timestamps will be missing if GPSDateTime doesn't exist in your video file. Take a look at what is available in the exiftool -ee -G3 output.
- Phil
is the info further down what I need? if so how to I compile this into the file that I need? thanks
[Main] ExifTool Version Number : 12.76
[Main] File Name : REC_2023_06_16_09_13_18_F.MP4
[Main] Directory : /Users/michaelmurray/Desktop/Natalie WIER
[Main] File Size : 208 MB
[Main] File Modification Date/Time : 2023:06:16 09:14:18+01:00
[Main] File Access Date/Time : 2024:02:12 13:59:30+00:00
[Main] File Inode Change Date/Time : 2024:02:10 14:34:42+00:00
[Main] File Permissions : -rwxrwxrwx
[Main] File Type : MP4
[Main] File Type Extension : mp4
[Main] MIME Type : video/mp4
[Main] Major Brand : MP4 Base Media v4
[Main] Minor Version : 0.0.0
[Main] Compatible Brands : iso4, hvc1
[Main] Media Data Size : 180909926
[Main] Media Data Offset : 40
[Main] Movie Header Version : 0
[Main] Create Date : 2023:06:16 09:13:45
[Main] Modify Date : 2023:06:16 09:13:45
[Main] Time Scale : 1000
[Main] Duration : 0:01:00
[Main] Preferred Rate : 1
[Main] Preferred Volume : 100.00%
[Main] Matrix Structure : 1 0 0 0 1 0 0 0 1
[Main] Preview Time : 0 s
[Main] Preview Duration : 0 s
[Main] Poster Time : 0 s
[Main] Selection Time : 0 s
[Main] Selection Duration : 0 s
[Main] Current Time : 0 s
[Main] Next Track ID : 4
[Main] Track Header Version : 0
[Main] Track Create Date : 2023:06:16 09:13:45
[Main] Track Modify Date : 2023:06:16 09:13:45
[Main] Track ID : 1
[Main] Track Duration : 0:01:00
[Main] Track Layer : 0
[Main] Track Volume : 0.00%
[Main] Matrix Structure : 1 0 0 0 1 0 0 0 1
[Main] Image Width : 3840
[Main] Image Height : 2160
[Main] Media Header Version : 0
[Main] Media Create Date : 2023:06:16 09:13:45
[Main] Media Modify Date : 2023:06:16 09:13:45
[Main] Media Time Scale : 30000
[Main] Media Duration : 0:01:00
[Main] Handler Type : Video Track
[Main] Handler Description : Ambarella AVC
[Main] Graphics Mode : srcCopy
[Main] Op Color : 0 0 0
[Main] Compressor ID : hvc1
[Main] Source Image Width : 3840
[Main] Source Image Height : 2160
[Main] X Resolution : 72
[Main] Y Resolution : 72
[Main] Compressor Name : Ambarella HEVC encode
[Main] Bit Depth : 24
[Main] Pixel Aspect Ratio : 1:1
[Main] Video Frame Rate : 30
[Main] Track Header Version : 0
[Main] Track Create Date : 2023:06:16 09:13:45
[Main] Track Modify Date : 2023:06:16 09:13:45
[Main] Track ID : 2
[Main] Track Duration : 0:01:00
[Main] Track Layer : 0
[Main] Track Volume : 100.00%
[Main] Matrix Structure : 1 0 0 0 1 0 0 0 1
[Main] Media Header Version : 0
[Main] Media Create Date : 2023:06:16 09:13:45
[Main] Media Modify Date : 2023:06:16 09:13:45
[Main] Media Time Scale : 48000
[Main] Media Duration : 0:01:00
[Main] Handler Type : Audio Track
[Main] Handler Description : Ambarella AAC
[Main] Balance : 0
[Main] Audio Format : mp4a
[Main] Audio Channels : 1
[Main] Audio Bits Per Sample : 0
[Main] Audio Sample Rate : 48000
[Main] Track Header Version : 0
[Main] Track Create Date : 2023:06:16 09:13:45
[Main] Track Modify Date : 2023:06:16 09:13:45
[Main] Track ID : 3
[Main] Track Duration : 0:01:00
[Main] Track Layer : 65535
[Main] Track Volume : 0.00%
[Main] Matrix Structure : 1 0 0 0 1 0 0 0 1
[Main] Media Header Version : 0
[Main] Media Create Date : 2023:06:16 09:13:45
[Main] Media Modify Date : 2023:06:16 09:13:45
[Main] Media Time Scale : 1000
[Main] Media Duration : 0:01:00
[Main] Handler Type : Text
[Main] Handler Description : Ambarella EXT
[Main] Gen Media Version : 0
[Main] Gen Flags : 0 0 0
[Main] Gen Graphics Mode : ditherCopy
[Main] Gen Op Color : 32768 32768 32768
[Main] Gen Balance : 0
[Main] Other Format : text
[Main] Image Size : 3840x2160
[Main] Megapixels : 8.3
[Main] Avg Bitrate : 24.1 Mbps
[Main] Rotation : 0
[Main] GPS Position : 50 deg 41' 52.73" N, 3 deg 30' 57.41" W
[Doc1] Sample Time : 0 s
[Doc1] Sample Duration : 0.10 s
[Doc1] Text : gsensori,4,512,-64,-06,-114;GNRMC,091317.49,A,5041.87878,N,00330.95680,W,1.473,0.00,160623,,,A*69..;CAR,0,0,0,0.0,0,0,0,0,0,0,0,0
[Doc1] Car : 0,0,0,0.0,0,0,0,0,0,0,0,0
[Doc1] GPS Date/Time : 2023:06:16 09:13:17Z
[Doc1] GPS Latitude : 50 deg 41' 52.73" N
[Doc1] GPS Longitude : 3 deg 30' 57.41" W
[Doc1] GPS Speed : 2.728
[Doc1] GPS Track : 0
[Doc1] G Sensor : 4,512,-64,-06,-114
[Doc2] Sample Time : 0.10 s
[Doc2] Sample Duration : 0.10 s
[Doc2] Text : gsensori,4,512,-62,-05,-113;CAR,0,0,0,0.0,0,0,0,0,0,0,0,0
[Doc2] Car : 0,0,0,0.0,0,0,0,0,0,0,0,0
[Doc2] G Sensor : 4,512,-62,-05,-113
[Doc3] Sample Time : 0.20 s
[Doc3] Sample Duration : 0.10 s
PH Edit: Put ExifTool output in code block.
So GPSDateTime does exist in your video. The command should work if you are using the gpx.fmt file from the distribution. If you can't figure it out, upload the video somewhere and we can try the command ourselves.
- Phil
where and how would I upload that to retain the file in its current format?
exiftool -p /Users/User name/Desktop/gpx.fmt -ee -G3 /Users/User name/Desktop/footage/REC_2023_06_16_09_13_18_F.MP4 > /Users/User name/Desktop/footage/Journey.gpx
also here is the command line I used
Google for "free file sharing service" and choose one of those to upload your file (maybe dropbox or WeTransfer).
- Phil
this is now the current file I get back but still doesn't work in Virb
<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0"
creator="ExifTool 12.76"
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="50.6979796666667" lon="-3.51594666666667">
<time>2023-06-16T09:13:17Z</time>
</trkpt>
<trkpt lat="50.6979881666667" lon="-3.51594916666667">
<time>2023-06-16T09:13:17Z</time>
</trkpt>
<trkpt lat="50.6979768333333" lon="-3.5159675">
<time>2023-06-16T09:13:20Z</time>
</trkpt>
<trkpt lat="50.6979825" lon="-3.51596733333333">
<time>2023-06-16T09:13:21Z</time>
</trkpt>
<trkpt lat="50.6979825" lon="-3.51596733333333">
<time>2023-06-16T09:13:21Z</time>
</trkpt>
<trkpt lat="50.6979825" lon="-3.51596733333333">
<time>2023-06-16T09:13:21Z</time>
</trkpt>
<trkpt lat="50.69798" lon="-3.51598383333333">
<time>2023-06-16T09:13:24Z</time>
</trkpt>
<trkpt lat="50.6979768333333" lon="-3.5159885">
<time>2023-06-16T09:13:25Z</time>
</trkpt>
<trkpt lat="50.6979753333333" lon="-3.51599166666667">
<time>2023-06-16T09:13:26Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:27Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:28Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:29Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:30Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:31Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:32Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:33Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:34Z</time>
</trkpt>
<trkpt lat="50.6979736666667" lon="-3.51599233333333">
<time>2023-06-16T09:13:35Z</time>
</trkpt>
<trkpt lat="50.6979756666667" lon="-3.51598233333333">
<time>2023-06-16T09:13:36Z</time>
</trkpt>
<trkpt lat="50.6979866666667" lon="-3.51597283333333">
<time>2023-06-16T09:13:37Z</time>
</trkpt>
<trkpt lat="50.6980008333333" lon="-3.51597316666667">
<time>2023-06-16T09:13:38Z</time>
</trkpt>
<trkpt lat="50.6980173333333" lon="-3.51598466666667">
<time>2023-06-16T09:13:39Z</time>
</trkpt>
<trkpt lat="50.6980361666667" lon="-3.51599783333333">
<time>2023-06-16T09:13:40Z</time>
</trkpt>
<trkpt lat="50.6980543333333" lon="-3.51601416666667">
<time>2023-06-16T09:13:41Z</time>
</trkpt>
<trkpt lat="50.6980743333333" lon="-3.51603516666667">
<time>2023-06-16T09:13:42Z</time>
</trkpt>
<trkpt lat="50.6980956666667" lon="-3.516057">
<time>2023-06-16T09:13:43Z</time>
</trkpt>
<trkpt lat="50.6981198333333" lon="-3.516082">
<time>2023-06-16T09:13:44Z</time>
</trkpt>
<trkpt lat="50.6981446666667" lon="-3.51610516666667">
<time>2023-06-16T09:13:45Z</time>
</trkpt>
<trkpt lat="50.6981711666667" lon="-3.5161285">
<time>2023-06-16T09:13:46Z</time>
</trkpt>
<trkpt lat="50.6981971666667" lon="-3.51615283333333">
<time>2023-06-16T09:13:47Z</time>
</trkpt>
<trkpt lat="50.6982215" lon="-3.51617716666667">
<time>2023-06-16T09:13:48Z</time>
</trkpt>
<trkpt lat="50.6982403333333" lon="-3.51619683333333">
<time>2023-06-16T09:13:49Z</time>
</trkpt>
<trkpt lat="50.6982573333333" lon="-3.5162135">
<time>2023-06-16T09:13:50Z</time>
</trkpt>
<trkpt lat="50.6982736666667" lon="-3.51623016666667">
<time>2023-06-16T09:13:51Z</time>
</trkpt>
<trkpt lat="50.6982875" lon="-3.51625">
<time>2023-06-16T09:13:52Z</time>
</trkpt>
<trkpt lat="50.6982905" lon="-3.516274">
<time>2023-06-16T09:13:53Z</time>
</trkpt>
<trkpt lat="50.6982913333333" lon="-3.51630133333333">
<time>2023-06-16T09:13:54Z</time>
</trkpt>
<trkpt lat="50.6982881666667" lon="-3.51633133333333">
<time>2023-06-16T09:13:55Z</time>
</trkpt>
<trkpt lat="50.698279" lon="-3.51635966666667">
<time>2023-06-16T09:13:56Z</time>
</trkpt>
<trkpt lat="50.6982546666667" lon="-3.51642983333333">
<time>2023-06-16T09:13:58Z</time>
</trkpt>
<trkpt lat="50.698236" lon="-3.51647883333333">
<time>2023-06-16T09:13:59Z</time>
</trkpt>
<trkpt lat="50.698215" lon="-3.51653366666667">
<time>2023-06-16T09:14:00Z</time>
</trkpt>
<trkpt lat="50.6981926666667" lon="-3.51659133333333">
<time>2023-06-16T09:14:01Z</time>
</trkpt>
<trkpt lat="50.69817" lon="-3.5166475">
<time>2023-06-16T09:14:02Z</time>
</trkpt>
<trkpt lat="50.698147" lon="-3.516705">
<time>2023-06-16T09:14:03Z</time>
</trkpt>
<trkpt lat="50.6981213333333" lon="-3.51676633333333">
<time>2023-06-16T09:14:04Z</time>
</trkpt>
<trkpt lat="50.6980925" lon="-3.51683266666667">
<time>2023-06-16T09:14:05Z</time>
</trkpt>
<trkpt lat="50.6980631666667" lon="-3.51690416666667">
<time>2023-06-16T09:14:06Z</time>
</trkpt>
<trkpt lat="50.698033" lon="-3.51698">
<time>2023-06-16T09:14:07Z</time>
</trkpt>
<trkpt lat="50.6980026666667" lon="-3.51705683333333">
<time>2023-06-16T09:14:08Z</time>
</trkpt>
<trkpt lat="50.6979738333333" lon="-3.51712833333333">
<time>2023-06-16T09:14:09Z</time>
</trkpt>
<trkpt lat="50.6979463333333" lon="-3.51719416666667">
<time>2023-06-16T09:14:10Z</time>
</trkpt>
<trkpt lat="50.6979206666667" lon="-3.51725633333333">
<time>2023-06-16T09:14:11Z</time>
</trkpt>
<trkpt lat="50.6978953333333" lon="-3.51731733333333">
<time>2023-06-16T09:14:12Z</time>
</trkpt>
<trkpt lat="50.6978706666667" lon="-3.51737433333333">
<time>2023-06-16T09:14:13Z</time>
</trkpt>
<trkpt lat="50.6978706666667" lon="-3.51737433333333">
<time>2023-06-16T09:14:13Z</time>
</trkpt>
<trkpt lat="50.6978476666667" lon="-3.51742416666667">
<time>2023-06-16T09:14:14Z</time>
</trkpt>
<trkpt lat="50.697831" lon="-3.51746283333333">
<time>2023-06-16T09:14:15Z</time>
</trkpt>
<trkpt lat="50.6978201666667" lon="-3.5174895">
<time>2023-06-16T09:14:16Z</time>
</trkpt>
<trkpt lat="50.6978171666667" lon="-3.51749733333333">
<time>2023-06-16T09:14:17Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>
PH Edit: Put output in code block
What did you change to get this working?
The next step is to take a look at a file that Virb does recognize and change gpx.fmt to use the same format.
- Phil
the Gpx.fmt that I used I had googled and copied but then on one of the posts on another thread had a link to what looked to me to be the same but I had decided to copy it and save that one and use it. but I have also used the -g3 in the command line so don't know exactly which changed it.
it seems that verb uses both gpx and FIT.
how do I go about changing the gpx.fmt to use same format, I had assumed that it did this already> again I admit I am a completed newb but learn fast
It should be a simple job in a text editor to modify gpx.fmt to have the same format as the GPX files that work with Virb. I can't help any more unless you post a Virb-friendly GPX file.
- Phil
Video File (https://www.dropbox.com/scl/fi/nj2f71nnrnkc3ztnz0wev/REC_2023_06_16_09_13_18_F.MP4?rlkey=usvw9zhqyf53q0lmli4dc0ns7&dl=0)
this is the video file. I will loo into the Virb file format and get back to you
I must say thank you for your quick responses, it is greatly appreciated
this works in Virb I downloaded it from reddit
<?xml version="1.0" encoding="utf-8"?><gpx creator="Garmin Desktop App" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/ActivityExtension/v1 http://www8.garmin.com/xmlschemas/ActivityExtensionv1.xsd http://www.garmin.com/xmlschemas/AdventuresExtensions/v1 http://www8.garmin.com/xmlschemas/AdventuresExtensionv1.xsd http://www.garmin.com/xmlschemas/PressureExtension/v1 http://www.garmin.com/xmlschemas/PressureExtensionv1.xsd http://www.garmin.com/xmlschemas/TripExtensions/v1 http://www.garmin.com/xmlschemas/TripExtensionsv1.xsd http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1 http://www.garmin.com/xmlschemas/TripMetaDataExtensionsv1.xsd http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1 http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensionsv1.xsd http://www.garmin.com/xmlschemas/CreationTimeExtension/v1 http://www.garmin.com/xmlschemas/CreationTimeExtensionsv1.xsd http://www.garmin.com/xmlschemas/AccelerationExtension/v1 http://www.garmin.com/xmlschemas/AccelerationExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd http://www.garmin.com/xmlschemas/VideoExtension/v1 http://www.garmin.com/xmlschemas/VideoExtensionv1.xsd" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1" xmlns:gpxtrx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:trp="http://www.garmin.com/xmlschemas/TripExtensions/v1" xmlns:adv="http://www.garmin.com/xmlschemas/AdventuresExtensions/v1" xmlns:prs="http://www.garmin.com/xmlschemas/PressureExtension/v1" xmlns:tmd="http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1" xmlns:vptm="http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1" xmlns:ctx="http://www.garmin.com/xmlschemas/CreationTimeExtension/v1" xmlns:gpxacc="http://www.garmin.com/xmlschemas/AccelerationExtension/v1" xmlns:gpxpx="http://www.garmin.com/xmlschemas/PowerExtension/v1" xmlns:vidx1="http://www.garmin.com/xmlschemas/VideoExtension/v1">
<metadata>
<link href="http://www.garmin.com">
<text>Garmin International</text>
</link>
<time>2019-09-13T01:07:05Z</time>
<bounds maxlat="40.846677795052528" maxlon="-96.766247916966677" minlat="40.843155384063721" minlon="-96.769499341025949" />
</metadata>
<trk>
<name>2019 SCCA Nats - East - 3rd run</name>
<extensions>
<gpxx:TrackExtension>
<gpxx:DisplayColor>DarkGray</gpxx:DisplayColor>
</gpxx:TrackExtension>
</extensions>
<trkseg>
<trkpt lat="40.846054684370756" lon="-96.76675577647984">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:33:56Z</time>
</trkpt>
<trkpt lat="40.846019564196467" lon="-96.766767343506217">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:33:57Z</time>
</trkpt>
<trkpt lat="40.846019228920341" lon="-96.76676751114428">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:33:59Z</time>
</trkpt>
<trkpt lat="40.846019228920341" lon="-96.766767594963312">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:00Z</time>
</trkpt>
<trkpt lat="40.846019145101309" lon="-96.766767762601376">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:01Z</time>
</trkpt>
<trkpt lat="40.846018977463245" lon="-96.766767930239439">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:02Z</time>
</trkpt>
<trkpt lat="40.846018893644214" lon="-96.766767930239439">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:03Z</time>
</trkpt>
<trkpt lat="40.846018809825182" lon="-96.766768097877502">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:04Z</time>
</trkpt>
<trkpt lat="40.846018809825182" lon="-96.766768181696534">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:05Z</time>
</trkpt>
<trkpt lat="40.846008500084281" lon="-96.76678117364645">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:06Z</time>
</trkpt>
<trkpt lat="40.845990059897304" lon="-96.766790896654129">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:07Z</time>
</trkpt>
<trkpt lat="40.845927195623517" lon="-96.7668925691396">
<ele>341.829986572265625</ele>
<time>2019-09-06T19:34:08Z</time>
</trkpt>
</trkseg>
</trk>
</gpx>
PH Edit: put XML in code block (again!) and shortened output to save on disk space
I found this post (https://forums.garmin.com/apps-software/mac-windows-software/f/virb-edit-windows/100875/virb-edit-does-not-recognise-my-gpx-files/569627#569627) on the Garmin forums from years ago which says
QuoteThe issue is that this gpx format is version 1.0, not 1.1 which is the one that is usually used. VIRB Edit does not support 1.0, and we do not plan to add support for it at this time.
Your latest post shows gpx version 1.1. I don't know enough about the format to know what the differences are in 1.0 and 1.1. As a long shot, you could try changing this line in the
gpx.fmt file from
#[HEAD]<gpx version="1.0"to
#[HEAD]<gpx version="1.1"heh, ninja edit
@StarGeek: Heh, Got me. :)
I think this should work. The <trk> structure is pretty much identical. Sort of stupid if they don't even try to read version 1.0.
The other thing you could try is removing this line:
#[HEAD]<number>1</number>
Oh, and it looks like you should also change
#[HEAD] xmlns="http://www.topografix.com/GPX/1/0"
#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd">
to
#[HEAD] xmlns="http://www.topografix.com/GPX/1/1"
#[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
- Phil
BOOM!!!
ok guys, I have to thank you for your amazing help in getting this issue resolved for me.
so I changed the gpx.fmt file Line by line based on what you both gave as suggestions.
first I changed to [HEAD]<gpx version="1.1" run it and Virb didn't take it
second I removed the line [HEAD]<number>1</number> run it and it didn't take it
finally I replaced the lines suggested to
[HEAD] xmlns="http://www.topografix.com/GPX/1/1"
[HEAD] xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
run it and BOOM it worked, perhaps a combination of all these changes made it work?
But most of all it works!! Amazing and thank you!