ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: mnigri on April 21, 2021, 09:51:40 AM

Title: Extracting altitude from mp4 files
Post by: mnigri on April 21, 2021, 09:51:40 AM
I have some mp4 files created by the Dashcam Blackvue DR-900S and Rove R2-4K. I am running the following command:

exiftool -p gpx.fmt -ee file.mp4 > file.gpx

The latitude and longitude are extracted OK, but the altitude is not. I get the following warning:

Warning: [Minor] Tag 'Doc706:gpsaltitude' not defined - file.mp4

The Blackvue has, for sure, the altitude info embedded in the mp4 file, because using the mapillary uploader app, the gpx file is created with the tag <ele> and the latitude data in it. I assume that the Rove also has the data.

So how can exiftool extract the altitude info out of these mp4 files?

Thanks.
Title: Re: Extracting altitude from mp4 files
Post by: StarGeek on April 21, 2021, 10:07:29 AM
Quote from: mnigri on April 21, 2021, 09:51:40 AM
So how can exiftool extract the altitude info out of these mp4 files?

Can you make a short sample video available?

If you're using the current version of exiftool and it's not extracting the altitude, then you can't force it.  Phil will have to take a look at a sample to see if he can find the data to extract.
Title: Re: Extracting altitude from mp4 files
Post by: mnigri on April 21, 2021, 11:56:58 AM
I have one 96MB file for Blackvue and another 276MB for Rove. What is the best way to send you these 2 files?

Thanks.
Title: Re: Extracting altitude from mp4 files
Post by: Phil Harvey on April 22, 2021, 10:32:13 AM
You could upload them to dropbox.com and post a link here.

- Phil
Title: Re: Extracting altitude from mp4 files
Post by: mnigri on April 22, 2021, 11:04:13 AM
OK. Please use the link https://www.dropbox.com/sh/yzfs87n2jtnf5n3/AABP7OhvjbqT5uSSwHnOQsoZa?dl=0
Thanks.
Title: Re: Extracting altitude from mp4 files
Post by: Phil Harvey on April 22, 2021, 01:11:03 PM
The Blackvue does have the altitude, and ExifTool 12.25 (available within a day or so) will extract this.

It looks to me as if the Rove doesn't contain altitude information.

- Phil
Title: Re: Extracting altitude from mp4 files
Post by: Phil Harvey on April 22, 2021, 03:02:48 PM
Version 12.25 is now available.

- Phil
Title: Re: Extracting altitude from mp4 files
Post by: mnigri on April 22, 2021, 03:09:49 PM
Great! Thanks.