Ok. So. I'm looking for reported speed by the camera which is the correct one. The speed calculated by time and distance is not correct.
There is already a piece of software made by Garmin called Garmin Dash Cam Player which allows you to export GPX from the MP4 file.
The problem is that is exporting only lat, long and time. As you can see in my attached file (out), the file also contain the speed in mph.
As you can see
here, GPX supports a tag called speed, which must be in meters per second. I don't think would be a problem to convert miles per hour to meters per second.
Using the commands from above, I managed to export a GPX file which includes the speed tag.
The big problem is that, Virb Edit, the software I tried to use to add the Speed overlay, is not supporting the speed tag from GPX at all, so all this research was for nothing. Well, at least I heard of this tool, which is amazing, I can't believe how much work was put into it and how smart are the people working on it.
A second option would be to use a .fit file. From that file Virb Edit can take advantage of the recorded speed within the file. Did you have any idea if it's possible to convert a GPX file which has the speed tag to a fit file? I tried
this website but it doesn't convert the speed, only route.
Also, if you know a GPS Video Overlay software which can take advantage of the speed tag of a GPX file, let me know.
Thank you for help.