Hello
after reading and trying everything from this topic
https://exiftool.org/forum/index.php?topic=10667.0
I still dont have a gpx file
who can help me
What is the output of this command, copy/paste it here
exiftool -g1 -a -s -ee -gps* file.mp4
M:\VIDEO>exiftool -g1 -a -s -ee -gps* TEST.MOV
---- QuickTime ----
GPSLog : (Binary data 210120 bytes, use -b option to extract)
does that help?
I should have also asked what version of exiftool are you using?
exiftool -ver
The version of exiftool you're using can't extract the gps track from that file. If you're using an older version of exiftool (current version is 12.22), you might try updating to see if the data can be extracted with a newer version.
If that doesn't work, could you make a short sample video?
sorry for my late reply
this is the reaction
M:\VIDEO>exiftool -ver
12.21
I will try and make a short video tomorrow
I believe it's best if there's some movement, like to the end of the block. That way there's variation in the GPS coordinates.
will do
how long of a video do you want?
Doesn't need to be too long. Just some movement that will register different coordinates. If it's small enough you can attach it to a post here, otherwise you could give a dropbox or google drive link.
Understand, I can't do anything about this. I'm just trying to make it easier for Phil to take a look at it when he gets the chance. He may ask you to do something completely different.
If you have privacy concerns, you could wait to see if Phil responds and he'll let you know what to do.
I dont have privacy concerns
so I will make a small video when I am comming back from work
https://www.dropbox.com/s/k0p8nlhsof81ozd/20210318_095308.MOV?dl=0
here ya go a video
I took a look at it and here's what I saw.
You can extract the data with
exiftool -b -gpslog >file.txt 20210318_095308.MOV
It's mostly text, with an gps location every second. Each line separated by an FF character (0x0C).
Example of what that log contained
210318073213[1][N][52200970][E][006362321][+00152][100][00140][C000000]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
210318073214[1][N][52200861][E][006362483][+00148][098][00138][C000000]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
210318073215[1][N][52200751][E][006362646][+00142][098][00138][C000018]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
210318073216[1][N][52200643][E][006362811][+00139][098][00137][C000018]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
So it looks like it's latitude and longitude. Though I'm not sure how the location is encoded. Or if one of those numbers is the time stamp.
mmmmmmm that looks readable
now how would I be able to import it in dashware?
I haven't yet seen this format of GPSLog. I'll look into adding support for extracting the GPS from this.
- Phil
okey I have did some compairing
210318073213[1][N][52200970][E][006362321][+00152][100][00140][C000000]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
210318073213
this is date and time
21=year 03=month 18=day 07=hour 32=min 13=sec
[1][N][52200970][E][006362321]
unknown
[+00152]
this is the asl according to the denver viewer
[100]
current speed km/h
[00140][C000000]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
unknown
Quote from: robot797 on March 18, 2021, 11:56:57 AM
[1][N][52200970][E][006362321]
1 is probably the GPS status. The rest is latitude/longitude.
Quote[+00152]
this is the asl according to the denver viewer
What is "asl"?
Edit: Ah. Altitude. RightQuote[00140][C000000]+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000+000
unknown
This will the be accelerometer readings (6 sets of X-Y-Z readings)
- Phil
it could be altitude but it it would be incorrect data
As it turns out, I've already decoded this format with a custom config file (read here (https://exiftool.org/forum/index.php?topic=10667.msg56591#msg56591)).
But it would be better if ExifTool had built-in support for this, so I will add this feature in ExifTool 12.23.
- Phil
yea as I said on the 1st post I tried that
and it only gave me a empty result
Ah, yes, that would be my fault. I didn't actually check out the link, assuming it was a link to the main extract gps from video thread.
I edited and tested the config file against your file and it's definitely reading the tag and appears to be parsing the data, but the rest of what's happening is a bit beyond my ability to figure out what might be going wrong.
now I am wondering what I am doeing wrong
when I am using this
M:\VIDEO>exiftool -config gpslog.config -p gpx.fmt -ee TEST.mov
I get this
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
gpx.fmt
...
You're not doing anything wrong. For some reason the config file isn't setting the GPS tags. I get the same results.
Hmmm. This works with version 12.02, but not 12.03 or later. I'll have to look into this.
- Phil
Edit: OK. Attached is a config file that works with ExifTool 12.03 to 12.22. This broke when I made an internal change to the format of the Composite tag ID's (the config file relied on internal details of how this was implemented). ExifTool 12.23 and later will have the ability to decode this without a config file.
I have bad news
I tried version 12.23 12.22 and 12.21
they all give a blank file
Here is what I get with version 12.22:
> exiftool -ver
12.22
> exiftool -config ~/Desktop/gpslog.config -p fmt_files/gpx.fmt -ee ../testpics/gps_video/20210318_095308.MOV > out.gpx
And out.gpx is attached.
- Phil
still a blank result
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
fmt_files/gpx.fmt
...
You will get this if the file "fmt_files/gpx.fmt" doesn't exist.
Instead of "fmt_files/gpx.fmt" in your command, type the actual path to the gpx.fmt file on your system. If you haven't downloaded it yet, you can get it from here (https://raw.githubusercontent.com/exiftool/exiftool/master/fmt_files/gpx.fmt).
- Phil
yay it works
told ya I was a noob
and the dash cam software accepts it
now I just have to find out how to synchronize them