Exiftool: 11.7.9.0
GPX.FMT file release 2019/10/24
Hello,
I've extracted GPS-data which is stored in a video (*.MTS) to GPX-file. I found out, that the very first value of Longitude and Altitude is wrong in my GPX-file. The value is bassically correct, but has the wrong sign!
exiftool -p gpx.fmt -ee -ext mts -w OUTDIR/%%f.gpx INDIR
Photo: https://easyupload.io/9gemfh (https://easyupload.io/9gemfh)
GPX : https://easyupload.io/px1yfo (https://easyupload.io/px1yfo)
When I extract all tags with the following command, it shows the correct Longitude.
exiftool -ee -ext mts -a -G1 -w OUTDIR/%%f.txt INDIR
[ExifTool] ExifTool Version Number : 11.79
[System] File Name : 2017-08-17 10h51m36s [00067].MTS
[System] Directory : D:/#Synx_NAS_Alu/Docs/Exiftool/Batch_Prog/_GPS_aus_Video_MTS_MOV v1.0/mts
[System] File Size : 15 MB
[System] File Modification Date/Time : 2017:08:17 10:51:43+02:00
[System] File Access Date/Time : 2019:12:16 17:26:33+01:00
[System] File Creation Date/Time : 2019:12:16 13:25:52+01:00
[System] File Permissions : rw-rw-rw-
[File] File Type : M2TS
[File] File Type Extension : mts
[File] MIME Type : video/m2ts
[M2TS] Video Stream Type : H.264 Video
[M2TS] Audio Stream Type : A52/AC-3 Audio
[M2TS] Duration : 5.67 s
[AC3] Audio Bitrate : 256 kbps
[AC3] Surround Mode : Not indicated
[AC3] Audio Channels : 2
[AC3] Audio Sample Rate : 48000
[H264] Image Width : 1920
[H264] Image Height : 1080
[H264] Date/Time Original : 2017:08:17 10:51:36+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:36+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:37+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:37+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:38+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:38+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:39+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:39+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/502
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:40+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/402
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:40+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/402
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[H264] Date/Time Original : 2017:08:17 10:51:41+01:00 DST
[H264] Aperture Setting : Auto
[H264] Gain : 0 dB
[H264] Exposure Program : Program AE
[H264] White Balance : Auto
[H264] Focus : Auto (3.15)
[H264] Image Stabilization : On (0x3f)
[H264] Exposure Time : 1/402
[H264] F Number : 6.3
[H264] Make : Sony
[H264] Camera Model Name : DSC-HX90V
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West ### <-West
[GPS] GPS Longitude : 8 deg 40' 3.85"
[GPS] GPS Altitude Ref : Below Sea Level ### <-negative
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:38
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 4.88
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 90.53
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.85"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:38
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 4.88
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 90.53
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.77"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:39
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 5.75
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 91.6
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.77"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:39
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 5.75
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 91.6
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.71"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:40
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 5.65
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 93.54
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.59"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.71"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:40
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 5.65
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 93.54
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.58"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.64"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:41
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 6.22
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 92.84
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.58"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.64"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:41
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 6.22
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 92.84
[GPS] GPS Map Datum : WGS-84
[GPS] GPS Version ID : 2.2.0.0
[GPS] GPS Latitude Ref : North
[GPS] GPS Latitude : 37 deg 4' 57.58"
[GPS] GPS Longitude Ref : West
[GPS] GPS Longitude : 8 deg 40' 3.57"
[GPS] GPS Altitude Ref : Below Sea Level
[GPS] GPS Altitude : 1.8
[GPS] GPS Time Stamp : 09:51:42
[GPS] GPS Status : Measurement Active
[GPS] GPS Measure Mode : 3-Dimensional Measurement
[GPS] GPS Dilution Of Precision : 1.46
[GPS] GPS Speed Ref : km/h
[GPS] GPS Speed : 5.52
[GPS] GPS Track Ref : True North
[GPS] GPS Track : 82.88
[GPS] GPS Map Datum : WGS-84
[Composite] Aperture : 6.3
[Composite] Image Size : 1920x1080
[Composite] Megapixels : 2.1
[Composite] Shutter Speed : 1/502
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Altitude : 1.8 m Below Sea Level
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.59" N
[Composite] GPS Latitude : 37 deg 4' 57.58" N
[Composite] GPS Latitude : 37 deg 4' 57.58" N
[Composite] GPS Latitude : 37 deg 4' 57.58" N
[Composite] GPS Longitude : 8 deg 40' 3.85" W
[Composite] GPS Longitude : 8 deg 40' 3.85" W
[Composite] GPS Longitude : 8 deg 40' 3.77" W
[Composite] GPS Longitude : 8 deg 40' 3.77" W
[Composite] GPS Longitude : 8 deg 40' 3.71" W
[Composite] GPS Longitude : 8 deg 40' 3.71" W
[Composite] GPS Longitude : 8 deg 40' 3.64" W
[Composite] GPS Longitude : 8 deg 40' 3.64" W
[Composite] GPS Longitude : 8 deg 40' 3.57" W
[Composite] GPS Position : 37 deg 4' 57.59", 8 deg 40' 3.85"
Can you upload the video file? (you can email me the link: philharvey66 at gmail.com)
- Phil
Hello Phil,
I've sent u a link!
SZ
I got the video, thanks.
I've got some work to do to figure out why this is happening, but somehow GPS:GPSLongitude is being used instead of Composite:GPSlongitude for the first track point. To get this working in the mean time, you can use the attached format file.
- Phil
Thank you Phil!
This uncovered a subtle bug in the way the Composite tags are generated. ExifTool 11.80 (just released) should fix this.
Thanks for this report, and for providing a sample video so I could reproduce this problem.
- Phil