ExifTool Forum

ExifTool => Newbies => Topic started by: redrock65 on January 15, 2023, 08:17:28 PM

Title: Need help extracting gps info from a Kenwood dashcam file.
Post by: redrock65 on January 15, 2023, 08:17:28 PM
I have a kenwood dash cam drv-a301w. I tried opening its files (mp4) with exiftool and exiftool gui, but don't see any gps information. I am using the -ee option. The files are shared at https://drive.google.com/drive/folders/1RlPtTfENmAnzWdeAokC2fhRPPQcFvQxJ

These files seem to be containing the gps info, because when I pull it up in kenwood's software, it seems to be able to display the gps info. Please let me know how I can extract the gps info from exiftool.

Thank you very much.
Title: Re: Need help extracting gps info from a Kenwood dashcam file.
Post by: Phil Harvey on January 15, 2023, 08:59:04 PM
I can see the GPS data in this file.  It is a new format that I haven't seen before, but I should be able to add support for this format to ExifTool 12.55 when it is released.

This will be the 65th different format of timed GPS in videos that ExifTool can decode.  Life would be much easier if these dashcam makers could agree on a standard.

- Phil
Title: Re: Need help extracting gps info from a Kenwood dashcam file.
Post by: redrock65 on January 15, 2023, 09:55:29 PM
Awesome. Thank you very much Phil. Looking forward to 12.55. Also, thank you for the very quick response.

The video file seems to have Accelerometer, Speed, and Orientation data as well. Would it be possible to add support for these as well in 12.55?
Title: Re: Need help extracting gps info from a Kenwood dashcam file.
Post by: Phil Harvey on January 17, 2023, 01:07:51 PM
Here is the information I can extract from the 2 points in the track:

[Doc1]          GPS Date/Time                   : 2023:01:07 11:19:14
[Doc1]          GPS Latitude                    : 47 deg 37' 42.32" N
[Doc1]          GPS Longitude                   : 122 deg 9' 54.08" W
[Doc1]          GPS Altitude                    : 58 m
[Doc1]          GPS Speed                       : 0
[Doc1]          Accelerometer                   : 0.006 0.009 0.004 0.002 0.009 0.005 0.016 0.015 0.009 0.004 0.002 0.005 0.005 0.006 0.001 0.004 0.005 0.006 0.005 0.002 0.003 0.002 0.001 0.003 0 0.006 0.003 0.004 0.003 0.001 0.008 0.008 0 0.009 0.005 0.003 0.004 0.004 0 0.006 0.005 0.005 0.004 0.004 0.002 0.004 0.009 0
[Doc2]          GPS Date/Time                   : 2023:01:07 11:19:15
[Doc2]          GPS Latitude                    : 47 deg 37' 42.31" N
[Doc2]          GPS Longitude                   : 122 deg 9' 54.09" W
[Doc2]          GPS Altitude                    : 58 m
[Doc2]          GPS Speed                       : 0
[Doc2]          Accelerometer                   : 0.004 -0.002 -0.005 0.002 0.009 0.005 0.016 0.015 0.009 0.004 0.002 0.005 0.005 0.003 0.006 0.003 0.017 0.004 0.001 0.009 0.004 0.01 0.002 0.028 0.002 0.009 0.004 0.004 0.003 0.001 0.008 0.008 0 0.009 0.005 0.003 0.004 0.004 0 0.006 0.005 0.005 0.004 0.004 0.002 0.004 0.009 0

This is everything you requested except for orientation, which I can't see in this file.

The thing that puzzles me the most is the timing of the Accelerometer data, since it seems to match up with the imprint on the video but 1 second too late.

- Phil
Title: Re: Need help extracting gps info from a Kenwood dashcam file.
Post by: redrock65 on January 17, 2023, 10:18:16 PM
Thank you very much, Phil. The 1 sec offset is puzzling, and I noticed it as well. It isn't a big deal, as I can adjust for it in my post processing of the gps data.