ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Houalef on April 11, 2024, 04:29:04 PM

Title: Write metadata to insv
Post by: Houalef on April 11, 2024, 04:29:04 PM
Hello, i'm using exif to extract gps metadata from an insv file.
some of the output:

... other text
GPS Latitude                    : 53 deg 20' 49.45" N
GPS Longitude                   : 6 deg 13' 50.41" W
GPS Speed                       : 0.0101
GPS Track                       : 296.8327
GPS Altitude                    : 4.6107 m
... other text

now i want to add these values to an insv file that doesn't have GPS metadata.
the reason behind this:
using insta360 X3 camera with their Android application will give you a video with gps metadata but using the camera without the app (pressing the record button in the camera) will give you a video without gps metadata. Because the matadata is taken from the phone.

I have a GPX file, (or any other file needed to make this possible) and want to add it to the insv file.

Some notes:
- when i use
exiftool -api largefilesupport -ee file_location i get the GPSLatitude, GPSLongitude, GPSTrack, and GPSSpeed only if the video had gps metadata (recorded by their app).
- i used "listw" to see the writable tags in the video, and found  GPSLatitude, GPSLongitude, GPSTrack, and GPSSpeed.
- the video extention can be changed from .insv to .mp4 without any issues


i tried:
exiftool -api largefilesupport -geotag gpx_file_location insv_file_location - output :
Warning: Truncated '\x00\x02\x00\x00' data - C:/Users/MSI/Desktop/VID_20240411_201405_00_004.mp4
Warning: No writable tags set from C:/Users/MSI/Desktop/VID_20240411_201405_00_004.mp4
    0 image files updated
    1 image files unchanged
Title: Re: Write metadata to insv
Post by: Phil Harvey on April 11, 2024, 09:12:24 PM
What version of ExifTool are you using?  Update to 12.82 and try this again if you are using an earlier version.  If you get an error saying "Trailer with ..." with this version, then you can add -trailer= to the command to delete the unknown trailer.

- Phil
Title: Re: Write metadata to insv
Post by: Houalef on April 12, 2024, 05:15:01 AM
hi Phil, im using version 12.82, there is no "trailer" error.
Title: Re: Write metadata to insv
Post by: Phil Harvey on April 12, 2024, 11:18:37 AM
OK.  In that case could you upload a file and send me a link so I can take a look?  My email is philharvey66 at gmail.com

- Phil
Title: Re: Write metadata to insv
Post by: amh15 on May 23, 2025, 05:36:45 AM
Hello there. Is there any update on whether it's possible to add GPS data to Insta360 INSV files? There's quite a useful application for this with Insta360 cameras since their desktop software (Insta360 Studio) supports GPS data, but there's no way to record the GPS data with their app and then get it into the desktop software.
Title: Re: Write metadata to insv
Post by: Phil Harvey on May 23, 2025, 06:40:32 AM
I don't think I read the original post carefully enough.  Looking at this again it seems the original poster wants to write timed GPS to the INSV.  ExifTool does not have this ability.

- Phil