Extracting altitude from mp4 files

Started by mnigri, April 21, 2021, 09:51:40 AM

Previous topic - Next topic

mnigri

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.

StarGeek

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.
"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

mnigri

I have one 96MB file for Blackvue and another 276MB for Rove. What is the best way to send you these 2 files?

Thanks.

Phil Harvey

You could upload them to dropbox.com and post a link here.

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

mnigri

OK. Please use the link https://www.dropbox.com/sh/yzfs87n2jtnf5n3/AABP7OhvjbqT5uSSwHnOQsoZa?dl=0
Thanks.

Phil Harvey

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
...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

Version 12.25 is now available.

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