Hello!
Help me please to get GPS track from MOV file.
Device is car camera AdvoCam-FD Black-II GPS+Glonass.
I know MOV file is contains GPS data because its viewer show the car position.
But in exif data I not see GPS data.
d:\exiftool.exe F:\ADVOCAM\MOVIE\2017_0221_160834_001.MOV
ExifTool Version Number : 10.67
File Name : 2017_0221_160834_001.MOV
Directory : F:/ADVOCAM/MOVIE
File Size : 469 MB
File Modification Date/Time : 2017:12:25 16:44:28+05:00
File Access Date/Time : 2017:12:26 00:00:00+05:00
File Creation Date/Time : 2017:02:21 16:08:34+05:00
File Permissions : rw-rw-rw-
File Type : MOV
File Type Extension : mov
MIME Type : video/quicktime
Major Brand : Apple QuickTime (.MOV/QT)
Minor Version : 0.0.0
Compatible Brands : qt
Thumbnail Image : (Binary data 61532 bytes, use -b option to extract)
Preview Image : (Binary data 0 bytes, use -b option to extract
Movie Data Size : 491392872
Movie Data Offset : 61600
Movie Header Version : 0
Create Date : 2017:12:25 16:44:29
Modify Date : 2017:12:25 16:44:29
Time Scale : 30000
Duration : 0:05:01
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 3
Track Header Version : 0
Track Create Date : 2017:12:25 16:44:29
Track Modify Date : 2017:12:25 16:44:29
Track ID : 1
Track Duration : 0:05:01
Track Layer : 0
Track Volume : 0.00%
Image Width : 1920
Image Height : 1080
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : avc1
Source Image Width : 1920
Source Image Height : 1080
X Resolution : 72
Y Resolution : 72
Compressor Name : h264
Bit Depth : 24
Video Frame Rate : 30
Matrix Structure : 1 0 0 0 1 0 0 0 1
Media Header Version : 0
Media Create Date : 2017:12:25 16:44:29
Media Modify Date : 2017:12:25 16:44:29
Media Time Scale : 32000
Media Duration : 0:05:01
Balance : 0
Handler Class : Data Handler
Handler Type : URL
Handler Description : DataHandler
Audio Format : sowt
Audio Channels : 1
Audio Bits Per Sample : 16
Audio Sample Rate : 32000
Avg Bitrate : 13.1 Mbps
Image Size : 1920x1080
Megapixels : 2.1
Rotation : 0
ExifTool doesn't yet extract GPS from the movie track of a MOV video. It currently only extracts GPS if it exists in the metadata, but will be a static position.
- Phil
Quote from: Phil Harvey on December 26, 2017, 08:38:40 AM
ExifTool doesn't yet extract GPS from the movie track of a MOV video. It currently only extracts GPS if it exists in the metadata, but will be a static position.
- Phil
Thank you.
Is there no any way to get a GPS track from .mov file?
ExifTool 10.72 (just released) has the ability to extract GPS from MOV/MP4 videos using the -ee option. Please send me a sample if it doesn't extract it for your camera (philharvey66 at gmail.com).
- Phil
Quote from: Phil Harvey on January 04, 2018, 04:34:25 PM
ExifTool 10.72 (just released) has the ability to extract GPS from MOV/MP4 videos using the -ee option. Please send me a sample if it doesn't extract it for your camera (philharvey66 at gmail.com).
Thank you for reply.
Unfortunately it not work with my car camera. I tryed -ee with another car camera and get gps track.
I sent video file example by email.
Thanks for the sample. I'll see what I can do.
- Phil
ExifTool 10.84 or later will extract the GPS from this video using the -ee option.
- Phil
Quote from: Phil Harvey on March 19, 2018, 02:10:31 PM
ExifTool 10.84 or later will extract the GPS from this video using the -ee option.
- Phil
Thank you very much!
Hi: I have run Exif with the -ee and am still not seeing any GPS data. Does that mean it doesn't exist? I am running it against the attached file. (I tried to upload the video but it's too big apparently.) I used the following link to download the video that was originally on Facebook.
Downloaded From: https://video.xx.fbcdn.net/v/t42.9040-2/40123042_1618907684903344_1789785667643899904_n.mp4?_nc_cat=1&efg=eyJybHIiOjQzMiwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&rl=432&vabr=240&oh=b075a5cbb95b8f43dee9f9826cace8a4&oe=5B8A1B15
Facebook Video Link: https://www.facebook.com/socialtrendsph/videos/293166064802202/
Any help is appreciated.
Quote from: jcrump on August 31, 2018, 09:31:45 PM
Downloaded From: https://video.xx.fbcdn.net/v/t42.9040-2/40123042_1618907684903344_1789785667643899904_n.mp4?_nc_cat=1&efg=eyJybHIiOjQzMiwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&rl=432&vabr=240&oh=b075a5cbb95b8f43dee9f9826cace8a4&oe=5B8A1B15
"URL signature expired"
I haven't check the video in question but it's quite probably it doesn't have any significant metadata beyond properties of the file. FB usually removes metadata from posted files due to privacy concerns.
@StarGeek Ahh, yes, the Facebook stripping of data makes perfects sense. Thanks.
Quote from: Phil Harvey on January 04, 2018, 04:34:25 PM
ExifTool 10.72 (just released) has the ability to extract GPS from MOV/MP4 videos using the -ee option. Please send me a sample if it doesn't extract it for your camera (philharvey66 at gmail.com).
- Phil
Hi Phill !
You alaready tested it with sony cameras like HDR-AS30 ?
Unfortunelly I was unable to get the gps info with it, using the option -ee :(
This -ee option you have add more detailed info about it on FAQ or User Manual ?
I don't think I have an HDR-AS30 sample MP4. Send me a small sample if you think it contains GPS that ExifTool isn't extracting (philharvey66 at gmail.com).
The -ee option is explained in the ExifTool application documentation (https://exiftool.org/exiftool_pod.html).
- Phil
Hi Phil, How Are you?
Thanks for your kindly help!
I sent you one example of video for sony camera action cam... the model I have is HDR-30V, but I think that a lot of more sony action camera will use the same gps encode format.
One thing that I already didn't dicovery why happens also.
If I get all files from SD camera card, and try to add the track info in my videos using the Sony Action Cam Movie Creator, I receive one message (no Tracking information avaiable), BUT, IF I import the files from camera using the IMPORT button on app, I can add this info on videos.
Strange that I don't have another files either hidden on SD folders,.. maybe the import tool already process the video when I add them ?
Sorry for my bad English I'm Brazilian.
--
--
Douglas Campos
Hi Douglas,
Sorry for the delay in responding. I'm finally starting to get caught up after my vacation.
I've taken a look at this video and can't find GPS anywhere. Are you sure it contains GPS?
There is no metadata track in this file. There are only video and audio tracks. I have analyzed the video track and it does contain unknown user-defined data, but this data is not changing during the video.
- Phil
I will make some tests here...
Somehow I guess that the Sony Software MUST be used to obtain/generate the video files to get the gps info on it ( If we just copy n paste the video file from camera SD (file I sent to you), It don't work, I didn't figure out why yet )
Apologies for reviving an old thread, but I did found this appropriate.
The Auto-Vox dashcams also store their GPS info in a MOV file. It does not seem, that the -ee option is able to extract them. I was using 11.73 of Exiftool and the appropriate gmx.fmt script for this.
A sample file from an Auto-Vox X1 Pro can be found at https://coyote.marlow.dk/~marlow/M0208A.MOV
I have both the X1 Pro and the X2 dashcam, so once it worked with one of them, I could test, that it works with other models. A solution for this would be very much appreciated.
/M
I have looked at the file you uploaded and can find no GPS track. Are you sure the file contains one? Do you have some software that will display the GPS from this video? If so, can you post a link to I can download the software to try it out?
- Phil
Edit: Looking at this again, I do see unreferenced GPS data in the file. I will see what I can do to decode this, and post back here when I have something.
I am now able to decode the GPS from this video with the exception that I don't know where the N/S and E/W hemisphere information is stored (the coordinates are all positive, but the video is clearly from a west longitude). Either I need a video shot in a different hemisphere, or an app to extract the GPS so I can reverse-engineer this. I have tried the Auto-Vox app for both Mac and Windows, and neither version decodes the GPS from this video.
- Phil
I've released ExifTool 11.74 with the ability to decode GPS from the file you provided, but I'm still unsure about the determination of the hemispheres so this may be wrong for other videos.
We're now up to 34 different formats of timed GPS that ExifTool extracts from videos.
- Phil
I've used 11.74 and that works perfectly. Both for the Auto-Vox X1 Pro and the X2.
It seems there is no altitude data in the stream, which is a bit of a shame. I will have to doublecheck with their software, if they are recording that at all.
I'll also try either to get my X2 to somebody back home in Denmark to get a recording east of the meridian or I'll probably be over there myself in spring anyhow.
Everything else looks perfect. Thank you very much.
/M
Glad it works. The record format was similar to another dashcam, which helped in decoding this, but the spot where the altitude should have been always had a value of 65535 for your file, so I didn't extract it.
- Phil
Quote from: Phil Harvey on November 01, 2019, 09:22:19 AM
Glad it works. The record format was similar to another dashcam, which helped in decoding this, but the spot where the altitude should have been always had a value of 65535 for your file, so I didn't extract it.
I figured as much. Auto-Vox own software does not display the altitude either, so I mailed them, asking them if it is possible to fix that. It would be nice to have.
The Auto-Vox dashcam does not display any of the telemetry data (apart from date and timestamp) in the video. Nor does it give the option to do so. Being able to export the GPS data and using something like Dashware or the likes, it can now be used to render videos like this: https://youtu.be/vNZ9VnZKY4A
It also allows to use the GPS track for example to improve Openstreetmaps, while having the video footage at hand to confirm, what is where. Really handy that.
I have poked a few people, that have published reviews of the dashcam, that are east of Greenwich. Hopefully that'll result in getting a raw MOV file from one of them and we should be able to find the hemisphere information then.
/M