Hi, this is my first approach with exiftool but I've reached my goal rapidly. The only thing that I wasn't able to do is to transform the absolute "gpsdatetime" in a relative "timecode" (starting from 0 seconds). Can be done without postprocessing the GPX file? I'm using a custom version of gpx.fmt
Thanks in advance
Best regards and thankf for your great job
You could do something like this:
exiftool -d %s -p "${gpsdatetime;$_-=STARTTIMECODE}" FILE
where STARTTIMECODE is the number of seconds at your time zero.
- Phil
Thank you very much for your suggestion!!
Just another question. Only when I use gpx.fmt, I've the following warnings:
Warning: Truncated '\x00\x02\x00\x00' data - C:/Users/fserp/Documents/QT/exiftool_gui/work/VID_20210611_090252_00_024.insv
Warning: [Minor] Insta360 accelerometer data is huge. Processing only the first 20000 records - C:/..../4.insv
I can avoid the second warning using -m switch (anyway I'm not interested in accelerometer data) but I can't understand the first warning. Can it be dangerous?
Thanks in advance
Best regards
You can safely ignore these warnings if you are just reading metadata from the files. You should also get these warnings when you aren't using gpx.fmt.
The first warning is likely some non-standard trailer added to the file.
The accelerometer warning is to prevent excessive memory use. If you add -m all of the accelerometer data will be read into memory which may slow things down a lot. You can add -q -q to just ignore these warnings.
- Phil
Thank you again for your precious help.
Have a nice day
L
"C:\Users\tranz\Videos\0\exiftool-12.40\exiftool.exe" -p "C:\Users\tranz\Videos\0\exiftool-12.40\gpx.fmt" -ee -api largefilesupport "C:\Users\tranz\Videos\0\exiftool-12.40\VID_20201111_211453_00_023.insv" > "C:\Users\tranz\Videos\0\exiftool-12.40\VID_20201111_211453_00_023.gpx"
pls help me where to add the following in my above command line
The accelerometer warning is to prevent excessive memory use. If you add -m all of the accelerometer data will be read into memory which may slow things down a lot. You can add -q -q to just ignore these warnings.
thanks in advance
You can put additional options anywhere before the > on the command line except between another option and its argument. (ie. not between -api and largefilesupport or between -p and "C:\Users\tranz\Videos\0\exiftool-12.40\gpx.fmt").
- Phil
thanks for your prompt help reply which increase my interest in metadata understanding :)