I have a Viofo A119 V3 dashcam and am using RV 6.0.0.8 (seems to be without the advert problems). I have 2 (equivalent) scripts that I use to extract GPS data based on work done by Sergei here. One is a Perl script that works perfectly, the other is a Java script which has the problem. Both scripts produce what, as far as I can see, are identical files with the exception that lat, lon values are to 5 decimal places in the Java script and 6 decimal places in the Perl script. Both scripts create .gpx files with the same name as the video file and save them in the same video file directory (ie I have 5 video files and 5 gpx files all in the one directory). When I select the 5 video files in RV without any attendant .gpx files I get the full 10 minute timeline (each file is 2 minutes), the video, a placeholder Leaflet/OpenStreetMap and no speed location data - which is all as expected. When I run the Perl script to generate the .gpx files I get the same 10 minute timeline but showing the speed graph plus a route in Leaflet and an arrow that moves in time with the video. However, if I generate the same (as far as I can see) .gpx files using the Java script the videos are concatenated together and play through as before but the timeline is for 2 minutes only (ie the duration of a single file) with each speed segment overlaying each other with what looks like vertical connecting lines (see image).
It is as if RV is processing the files in parallel rather then series and both programs do run very quickly (even through a 441Mb video file!) and so the .gpx files have the same date - but then they do for both versions. Another odd thing about the faulty version is that when RV gets to the end of the first 2 minute segment it flips back to the start again as does the arrow on the map (although the video carries on regardless). A single video clip works well in both versions, it is only when multiple files are being viewed that it is a problem.
Does anyone have any idea of how RV stitches video and .gpx files together and runs them as a sequence? (Or any idea at all of what might be wrong.)

It is as if RV is processing the files in parallel rather then series and both programs do run very quickly (even through a 441Mb video file!) and so the .gpx files have the same date - but then they do for both versions. Another odd thing about the faulty version is that when RV gets to the end of the first 2 minute segment it flips back to the start again as does the arrow on the map (although the video carries on regardless). A single video clip works well in both versions, it is only when multiple files are being viewed that it is a problem.
Does anyone have any idea of how RV stitches video and .gpx files together and runs them as a sequence? (Or any idea at all of what might be wrong.)
