You will probably need something like
mapillary_tools sample_video --video_import_path “path/to/videos” --advanced
mapillary_tools process --advanced --import_path “path/to/.mapillary/sampled_video_frames/video_import_path” --user_name “username_at_mapillary” --geotag_source “gpx” --geotag_source_path “path/to/gpx_file” --overwrite_all_EXIF_tags --interpolate_directions
mapillary_tools upload --import_path “path/to/.mapillary/sampled_video_frames/video_import_path”
from GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery. But in addition to --interpolate_directions (which I added in addition to the example) you need an argument to set in which direction the camera is pointing. This is in degrees, so
Front: 0
Back 180
Right: 90
Left 270
Between right and back: 135
Between left and back: 225
I need to find the argument when I get to another computer.
I wil also need to find the argument that ensures that the videos time stamps are treated as local time, because the GPX file is in UTC and the video is in local time.
So I’ll be back.
The above is a command for a single video file. You will need to write some bat or power shell to run a command for each file and also needs to match the correct gpx file with the video.