@Tim
I’ve just corrected an error in the ffmpeg command options in my post above. I wrote -vcopy -scopy originally instead of -vcodec copy -scodec copy (to copy the video codec and subtitle stuff from the input file).
Below is 10 seconds of a *.SRT file where the original data is from a DJI Mini 2. You will see this has latitude and longitude in decimal degrees to four decimal places only. You may be able to output higher precision values. Also the Mini 2 only updates the subtitle info once per second so that adds to the inaccuracy of the GPS data. The video2dataset.py script that ODM is using attempts to interpolate but you may have source data that is more timely. Look at the source code module srtparser.py for the other slightly different format it can also handle.
1
00:00:00,000 --> 00:00:01,000
F/2.8, SS 949.23, ISO 110, EV 0, DZOOM 1.000, GPS (175.4009, -39.1127, 21), D 0.54m, H 5.70m, H.S 0.36m/s, V.S -0.00m/s
2
00:00:01,000 --> 00:00:02,000
F/2.8, SS 949.23, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 1.17m, H 5.80m, H.S 0.81m/s, V.S -0.00m/s
3
00:00:02,000 --> 00:00:03,000
F/2.8, SS 949.23, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 2.43m, H 5.80m, H.S 1.34m/s, V.S -0.00m/s
4
00:00:03,000 --> 00:00:04,000
F/2.8, SS 949.23, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 3.90m, H 5.70m, H.S 1.49m/s, V.S -0.00m/s
5
00:00:04,000 --> 00:00:05,000
F/2.8, SS 944.11, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 5.66m, H 5.80m, H.S 1.58m/s, V.S -0.00m/s
6
00:00:05,000 --> 00:00:06,000
F/2.8, SS 928.89, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 7.34m, H 5.50m, H.S 1.62m/s, V.S -0.00m/s
7
00:00:06,000 --> 00:00:07,000
F/2.8, SS 939.01, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 9.02m, H 5.40m, H.S 1.58m/s, V.S -0.00m/s
8
00:00:07,000 --> 00:00:08,000
F/2.8, SS 985.91, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 10.46m, H 5.20m, H.S 1.26m/s, V.S -0.00m/s
9
00:00:08,000 --> 00:00:09,000
F/2.8, SS 1002.05, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1127, 21), D 11.70m, H 5.20m, H.S 1.14m/s, V.S -0.00m/s
10
00:00:09,000 --> 00:00:10,000
F/2.8, SS 1035.15, ISO 110, EV 0, DZOOM 1.000, GPS (175.4010, -39.1126, 21), D 12.79m, H 5.20m, H.S 1.12m/s, V.S -0.00m/s