Issue extracting GPS data from Vantrue N2Pro Dashcam

Started by azhao, November 14, 2024, 02:42:27 PM

Previous topic - Next topic

azhao

Hi all,

Thank you for providing these resources! I'm new to exiftool and struggling to extract GPS data from a Vantrue N2Pro dashcam. I'm using exiftool ver 13.03, and I believe GPS extraction from Vantrue N4 dashcam footage is possible using exiftool.  The video footage has GPS data printed onto the video itself.

I used the command exiftool -ee -u -G1 "-gps*" FILENAME and the output was [QuickTime]     GPS Data List                   : (Binary data 928 bytes, use -b option to extract). Using exiftool -ee"-gps*" FILENAME returned nothing, and using exiftool -ee -u -G1 -b "-gps*" FILENAME returned a lot of this ò¼Ç<êpÇX«öÇu╪┤Çææ▄Ç¡═hÇ╦0╕ǵ|╘Ç.PÇ.

Any help would be appreciated! Please let me know if uploading a video snippet would be more helpful.

Phil Harvey

You second command returned nothing because there isn't a space after -ee.

Your last command returned the binary data of the GPSDataList tag, which it seems that ExifTool is unable to decode.

If you upload a sample video somewhere I'll take a look to see if I can add support for your camera.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

Quote from: azhao on November 14, 2024, 02:42:27 PMThe video footage has GPS data printed onto the video itself.

FYI, just because the GPS data is hard-coded onto the video, it does not mean that the data will be embedded in the file. There's been a few cases on these forums where that has happened.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

azhao

Hi Phil and StarGeek,

Thank you! I tried the command exiftool -ee "-gps*" with the space after -ee and there was also no output. StarGeek, I'll keep this in mind.

Here is a 5-second snippet of video: https://drive.google.com/file/d/1TbUogZGTdX8m8IKXucKpUIU_kqRoAr_j/view?usp=sharing. Please let me know if it needs to be longer.

StarGeek

Has this video been edited, i.e. has this been clipped from a longer video. I see a Microsoft tag in there that seems like it would be unusual from a dashcam.

Any editing of a video stream will remove any GPS track, as all GPS track data is non-standard and no program would know how to copy it.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

azhao

It's been clipped from a longer video. I've included a link to a longer, unedited video: https://drive.google.com/file/d/15U90UfAa699EAugd7MEo3BJlrpwooNKb/view?usp=sharing

Please let me know if this works!

Phil Harvey

The GPSDataList contains pointers to freeGPS blocks.  ExifTool attempts to parse these blocks but unfortunately they contain only binary zeros, so no GPS in this file. :(

You can see all this with exiftool -ee -v4 FILE

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

azhao

Hi Phil, thank you so much for taking a look! Really appreciate your time and expertise :) .