Read GPS data from INNOVV video files in TS format

Started by Kajuna, April 29, 2021, 12:00:16 PM

Previous topic - Next topic

Kajuna

Hi,

I just noticed Exiftool can read the GPS data in MP4 files from INNOVV dash cameras (k2, k5...). Great news!

It does not read it from TS files, which also contain it.

I can provide TS files privately if this is something that could be implemented.

Thanks for the amazing tool.

Phil Harvey

Sure.  I'll see what I can do.  My email is philharvey66 at gmail.com

- 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 ($).

Kajuna


Phil Harvey

I got the samles, thanks.

I'll take a look at these when I get a chance and post back here when I know something.

- 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 ($).

Phil Harvey

I finally had a chance to analyze the videos you sent.

ExifTool 12.27 (when released) will be able to decode the streaming GPS from both of these formats.  The only catch is that there are no timestamps for the GPS fixes, so you will get a GPS track, speed and direction, but you won't know the times unless you do something like extrapolate them from the start of the video somehow.

- 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 ($).

Kajuna

Quote from: Phil Harvey on June 08, 2021, 12:22:49 PM
I finally had a chance to analyze the videos you sent.

ExifTool 12.27 (when released) will be able to decode the streaming GPS from both of these formats.  The only catch is that there are no timestamps for the GPS fixes, so you will get a GPS track, speed and direction, but you won't know the times unless you do something like extrapolate them from the start of the video somehow.

- Phil

That's great to hear! Thank you.

Yes, I will see if interpolating the GPS samples throughout the video produces correct results, visually. I guess samples could be recorded at a constant rate, 1Hz or 10Hz, like with other formats... will report back.

Phil Harvey

I should mention that you will need to use the -ee3 option to extract that GPS from the TS sample.  I'll try to release ExifTool 12.27 within a couple of days.

- 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 ($).