Incorrect GPS latitude & longitude from dashcam mp4

Started by grek, December 28, 2021, 08:37:14 PM

Previous topic - Next topic

grek

Hi, I'm trying to extract GPS coordinates from an MP4 recorded using a Redtiger F7N dashcam.

When using the command:
Quote./exiftool -ee ../tmp/20211228131237_000006A.MP4
, I get some GPS coordinates, but they're not correct:

QuoteGPS Date/Time                   : 2021:12:28 18:12:34Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 12.3014
GPS Track                       : 2.62678284165021e+32
GPS Date/Time                   : 2021:12:28 18:12:35Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 12.133
GPS Track                       : 0
GPS Date/Time                   : 2021:12:28 18:12:36Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : -1 deg 0' 0.00" E
GPS Speed                       : 12.7854
GPS Track                       : 0
GPS Date/Time                   : 2021:12:28 18:12:37Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 11.5967
GPS Track                       : -4.096
GPS Date/Time                   : 2021:12:28 18:12:38Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 11.6809
GPS Track                       : -4.096
GPS Date/Time                   : 2021:12:28 18:12:39Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 11.7651
GPS Track                       : 0
GPS Date/Time                   : 2021:12:28 18:12:40Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 1355062 deg 8' 0.00" W
GPS Speed                       : 12.9537
GPS Track                       : -5.99606432347572e+32
GPS Date/Time                   : 2021:12:28 18:12:41Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 507217895752 deg 8' 0.10" E
GPS Speed                       : 12.3014
GPS Track                       : 0
GPS Date/Time                   : 2021:12:28 18:12:42Z
GPS Latitude                    : 0 deg 0' 0.00" N
GPS Longitude                   : 0 deg 0' 0.00" W
GPS Altitude                    : 0 m
GPS Speed                       : 11.3442
... etc.

Some extra info:
Quote
:~/exiftool$ ./exiftool -ver
12.38
:~/exiftool$ uname -a
Linux zen 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
:~/exiftool$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 20.04.3 LTS
Release:   20.04
Codename:   focal

I can provide an example video file if that would help. Thanks!

Phil Harvey

That would definitely help.  You can mail it to philharvey66 at gmail.com and I'll take a look.

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

grek


Phil Harvey

Sorry to report that this is one of those cameras that stored GPS using some as-yet-unknown encryption scheme.  I can see where the information is stored, but I can't yet decrypt it.  :(

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