I have been recording and uploading various footpaths near where I live to Google Street View and wanted them to be uploaded to mapillary to, so that they are available to open source users. I will post seperately about the insta360 camera but first I wanted to document how to upload to mapillary, which is not obvious. I have created a document that details how to upload videos from the inxsta360 one X3, and which I believe will work with all inxta360 one X models:
Uploading Insta360 one X videos to Mapillary as tracks
This uses a PowerShell script which I have written and is free for anyone to use or modify. The only issue I have is that direction does not seem to be maintained, when the tracks turn a corner you end up looking sidesways. I am still experimenting with the upload options to try and resolve this
5 Likes
Excellent write up! Thanks for taking the time @Chris108.
Do you have any sample videos that you’d be willing to share? We’re revising our recommended cameras and I would like to test the upload experience for this Insta360 model.
Here are some samples:
sample one - pretty good images I think, though demonstrating that I have not yet foind the options that allow it to follow direction (when the camera turns the view doesn’t!)
Sample two - shows how it copes with a very low bright sun. There is a small amount of lens flair but generally pretty good.
Thanks very much @Chris108!
Sorry I was out of office when you responded and missed this, but these will definitely come in handy. I was also wondering if you have any original files.
Basically I want to test what the experience with the Desktop Uploader 3.2.0 is like and what Insta360 settings if any work out of the box. The new update supports some mp4 formats including Google Street View’s CAMM specification.
Hi,
Do you want the “raw” .insv files, or the stitched MP4 and the GPX? If you are thinking about trying to extract the GPS, compas, and and accelerometer data from the .insv files there is a thread here where ffmpeg performed an analysis allowing them to extract gpx.
1 Like
I have uploaded all the files to smaple - Google Drive .
These are the ones corresponding to the uploades trail Mapillary . The files are:
VID_20221213_132023_00_016.insv - generated from camera, unstiched front camera
VID_20221213_132023_10_016.insv - generated from camera, unstiched rear camera
(all 360 degree videos have 00 and 10 . The 00 contains the gpx data also)
VID_20221213_132023_00_016.mp4 - the stitched 360 degree video priduced as described above from insta360 studio
VID_20221213_132023_00_016.gpx - the gpx data extracted with the UL2GSV tool ISNV2GPX as described above; I believe this in turn just uses ffmpeg
1 Like
Thank you so much! These are really helpful as add support for more cameras to the Desktop Uploader.
1 Like
Do you have a video of a step by step guide on how to do this? I’m confused on what to do after getting the GPX and MP4 files.
I have the same question, can someone please help?
So I’ve tried to work with the instructions and I’m stuck at how to run the script. I’m not sure how to run the script and the methods I’ve tried end up with errors that I don’t know how to fix. Is there anything wrong with what I’m doing in these photos?
Are you running the script from the directory it is in? …\ means from the current directory
To clarify, copy the mapillary.ps1 to the directory where the mapillary tools are installed, then cd to that directory before running
Thanks for replying! However I’m still stuck. Here are my results when I put the script where the Mapillary tools are installed. I also moved the INSV, MP4 file, and GPX file to the Mapillary tools folder. It still returns the same error message as before and I don’t know how I can fix that. (Keep in mind I’m not good at commands at all. And I don’t understand some abbreviated words like “cd” since I just started using commands to try and upload street view to Mapillary just a few days ago).
it looks like you are in your home directory. before running the .\mapillary.ps1you need to change to the directory where you installed mapillary. For example if you installed it in C:\mapillary
you’d type
cd C:\mapillary
then run the script
1 Like
I’ve added the UL2GSV files to the Mapillary tools files and it still comes up with the error that it cannot find the GPX exe file. I also used cd to make the script run which then tells me to put in a directory or file.
it looks like INSV2GPX.exe file is not in the directory. There may be another issue after that I’ll have to remind myself about the script later
1 Like
So do I just add the EXE to the directory via notepad? And if I do, then how and where do I put the path for it into the code?
I also have the GPX file of the INSV file already from UL2GSV.
ok, I think it’s to do with the UL2GSV. The directory where it is installed is on my PATH so it picks up everything there. This is set as follows:
https://www.c-sharpcorner.com/article/how-to-addedit-path-environment-variable-in-windows-11/
1 Like
once you set the system PATH you need to restart the power shell window.
1 Like