kartaview / upload-scripts

Uploader tools for KartaView
MIT License
61 stars 30 forks source link

Uploading Video from Virb camera #14

Open hardillb opened 8 years ago

hardillb commented 8 years ago

I've been looking at how to upload the video from my Garmin Virb camera as mentioned here. I'm struggling to work out what files the python code needs, looking in the code I can see it looking for a track.txt but I'm not sure what the format of this is supposed to be.

I have the fit and gpx files to go with the mp4 on the camera.

Any pointers would be great.

bogdan-racasan commented 8 years ago

@hardillb Can you send us a dropbox link with some samples video + gpx files ( this should be more easier to investigate).

track.txt protocol: First row: Garmin;0;1.1;0 //// this would be only for your case Each row contains only the value that was updated any other value is left empty. timestamp;longitude;latitude;elevation;horizontal_accuracy;GPSspeed;yaw;pitch;roll;accelerationX;accelerationY;accelerationZ;pressure;compass;videoIndex;tripFrameIndex;gravityX;gravityY;gravityZ;OBD2speed

hardillb commented 8 years ago

It's a bit big (3.25gb) for my free dropbox account, I'll stick it up on my home web server when I get back tonight.

Do you happen to have any scripts to turn the GPX into the CSV?

bogdan-racasan commented 8 years ago

Not right now ... If you have any other type of transfer file it's ok for us like https://transfer.pcloud.com/

hardillb commented 8 years ago

What units are videoIndex and tripFrameIndex in?

bogdan-racasan commented 8 years ago

videoIndex - the index of the video file tripFrameIndex - current frame's index, relative to entire track.

hardillb commented 8 years ago

yes, but is videoIndex a frame count or time in seconds?

And is tripFrameIndex a count of images since the start of the track or the video frame count?

bogdan-racasan commented 8 years ago

The mobile osv apps split one trip in several videos. videoIndex is the index of a video in a trip. Also on the mobile apps each video has 50 frames. For example when you start a trip you have:

But when you have 51 images the values are:

hardillb commented 8 years ago

Video and GPX can be found here: http://www.hardill.me.uk/openstreetview/

bogdan-racasan commented 8 years ago

Forbidden

You don't have permission to access /openstreetview/VIRB0135.MP4 on this server.

hardillb commented 8 years ago

fixed

bogdans-telenav commented 6 years ago

@hardillb I made a script to upload VIRB data and will push it in the near future to this repo

bogdans-telenav commented 5 years ago

Update: we worked extensively on a new version of the scripts and we will address you suggestion on the next release. The script that i made in June is no longer compatible with the current version.