ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: marcie on March 26, 2025, 04:16:25 PM

Title: [Bug report] Rove R2-4K GPS not parsing
Post by: marcie on March 26, 2025, 04:16:25 PM
Hello!

I'm posting on behalf of a Mapillary user who is trying to upload video from their Rove R2-4K camera. exiftools does not detect GPS data, despite the Rove Dashcam player application doing so.

We've previously tested footage from the Rove R2-4k camera in the past and had success. Not sure if something on the Rove side of things has changed.

I've emailed the file in question to Phil & attached a screenshot of the Rove app showing GPS data here.

Thank you!

PH Edit: Inlined screen capture
Screenshot 2025-03-26 at 4.08.30 PM.png
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on March 26, 2025, 04:56:48 PM
Hi Marcie,

ExifTool 13.25 (the current version) does extract the timed GPS from this file with the -ee option.  Attached is a screen shot of the track extracted by ExifTool using -ee -p kml_track.fmt (https://raw.githubusercontent.com/exiftool/exiftool/refs/heads/master/fmt_files/kml_track.fmt) with the output displayed in Google Earth.

- Phil

Screen Shot 2025-03-26 at 5.00.31 PM.png
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 01, 2025, 09:26:56 AM
I am also having trouble with the R2-4K.  I have tried everything I can think of (though my experience with exiftool is limited) to no avail.  The method listed in the post and methods in other posts have not worked for me.  It looks like Rove modified the format of the videos at some point and the GPS tags are now on another track possibly.  I am thinking track 4, 5 or 6.  Anyway, I really need help getting this info out.  As a bonus, I would LOVE to get speed and accelerometer data out.
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on April 01, 2025, 11:19:47 AM
Send me a link to a sample and I'll take a look.  My email is philharvey66 at gmail.com

- Phil
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 01, 2025, 12:44:38 PM
You should have gotten a nextcloud link.  There are 2 videos in the folder.  One is very short and stationary.  The other is longer and changes position, etc.  Link is below

https://wspnextcloud.geoat.net/nextcloud/s/NtgCbzHDL7NGaTC (https://wspnextcloud.geoat.net/nextcloud/s/NtgCbzHDL7NGaTC)
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: StarGeek on April 01, 2025, 03:34:01 PM
Interesting. These files have two video tracks, one hi-res and one low res. I think that's the first time I've ever seen that, though I knew it was possible.

It also has 3 data streams which ffprobe seem to indicate have 0KiB,  though I don't know enough about ffprobe to be sure about that.
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 01, 2025, 03:53:21 PM
Yeah, that's the same result I got with ffprobe.  Not sure why they actually need the 2 video tracks.  I'm thinking ffprobe reported zero length for tracks 4-6 because it did not have the codecs needed to read the info.  Looking at the files in exiftool, it seems to me track 6 would have the data I'm looking for, but I honestly have no clue.
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on April 01, 2025, 03:59:46 PM
I've taken a quick look at the smaller 63 MB file.  Did you know that the last 40 MB of this file is all zeros?  I've never understood why devices waste so much space.

Anyway, I think I can see the accelerometer data but not yet the GPS, but I'll take a closer look and look at the other file when I have more time.

- Phil
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 01, 2025, 04:13:30 PM
I noticed that but figured it was just a cheap camera with cheap software doing something stupid.  Or it could be related to changing some setting on the camera.  I don't see that happen with the other files that I have.

Another interesting note about this camera - there were 2 videos on it when I got it.  Each of those videos had QuickTime GPS tags.  I tried to replicate that result with no luck.  Even contacted tech support for the camera and they had no idea.
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on April 02, 2025, 09:07:51 AM
Good news:  I can decode the GPS, speed and accelerometer data from this new format.  ExifTool 13.27 will have this ability.

- Phil
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 02, 2025, 09:38:11 AM
Awesome!  Thank you so much for looking into this.  Care to share the details? 
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on April 02, 2025, 12:03:33 PM
In other R2-4K videos the GPS was stored in a freeGPS box.  In this one it is stored in a 'ssmd' box, the same box as used for a PreviewImage and the Accelerometer data.  To differentiate these I look at the data.  The GPS is 32 bytes with the lat, lon as doubles in the first 16 bytes, the speed as 2-byte integer at offset 20, and the date as 6 bytes YY,mm,dd,HH,MM,SS starting at byte 22.  The Accelerometer is 12 bytes containing 3 floats.

- Phil
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: gsimpson4 on April 02, 2025, 01:28:58 PM
That's great info.  Thanks for the explanation and for taking the time to work this out for me.  Can't wait to try it out!  BIG THANK YOU!
Title: Re: [Bug report] Rove R2-4K GPS not parsing
Post by: Phil Harvey on April 08, 2025, 05:21:58 PM
13.27 is now available.

- Phil