70mai Dash Cam Pro stores GPS data inside MP4 video but 70mai A500 and A800 cameras storesGPS data in GPSData000001.txt inside .GPS folder.
It's possible to extract GPS info from MP4 video to the SRT subtitle file. Video players will show those data as a subtitles while playing. I have made free program for extraction GPS data from 70mai Dash Cam Pro, 70mai Dash Cam Pro Plus A500 and 70mai A800 Dash Cam MP4 video to the SRT, KML and GPX file.
Please, support WinMp4Extract development by small donation:
(Extract RAR archive, start WinMp4Extract.exe, choose MP4 video recording from 70mai dash cam Pro and GPS data will be extracted).
Program is now multi language. It's translated to the Bosnian and Hungarian language.
Thanx to the idea for exporting data to the GPX format that came from Łukasz (comment form my web site) program can now export data to the GPX format.
Program will create SRT, KML and GPX file with the same name as the MP4 video in the same folder.
After importing KML file to Google earth (just doubleclick on .kml file) I get landmarks as on the image below.
Placemarks now show speed. First and last placemark are clickable.
GPX file imported into the Google Earth looks like this (you need to choose File\Import from Google Earth). In order to
import GPX file in Google Earth you need to Open Google Earth Pro,
choose Import, choose to show All files and select GPX file for import.
Google Earth Pro will show small window. Mark all three options and
For program to work, you must install net framework 4.6.1. on your Windows PC.
I'm the author of the the program and GPS data extraction engine for 70mai Dash Cam Pro Plus A500 and 70mai A800 Dash Cam.
Forum user M-DRV_15764775 provided functions for GPS data extraction for 70mai Dash Cam Pro.
Program can be used free of charge and doesn't contain any advertisement or spam.
I will appricate any donation as it will be used for further program development.
I have provided Bosnian translation and gidano provided Hungarian translation.
最后于 26 Days+
，原因： I have updated WinMp4Extract program
For download you need to click on 'Download' button on the right (Above Donate button), tick 'Nisam robot' (I'm not a robot), solve CAPTCHA, click on 'Nastavi' (Continue), mark 'Prihvatam navedene uslove' (I accept terms) and click on the 'Download' button bellow.
I have updated WinMp4Extract. Now, after program extracts GPS data, moves MP4 video, SRT and KML files to the Done folder inside project folder. If extracted files exist in folder Done, program will offer you to replace them with new or leave them.
I have updated WinMp4Extract to version V1.2.2. I have fixed one bug - false detections of missing generated KML and SRT files. Install version was missing mp4extract.exe - that was fixed in this release.
OK, I have found what is your problem. As I can see from attached images, you have copied files to your desktop. Windows are blocking something because files are on the desktop, and program can't extract data. I have copied my files on desktop and got the same result as you are.
Can you, please, move gps folder to the root of the C partition (or better to the D if you have another partition) so path will be C:\gps or D:\gps? Then, when you click Choose MP4 video, make sure to select video from C:\gps folder.
Now it will work.
Beside that, you can try install version of the program. That version will install all needed files to the Program files folder and you will have all needed rights.
I installed the install version of winmp4 to pc but the same problems repeat as before. So I gave up :). Now I installed English firmware v.1.0.8na (SSH, auto create SRT / KML / GPX with GPS + USB STORAGE) and then I used soft Dash cam aka Registrator viewer and there it works ok. Thank you for your willingness to address this issue.
@M-DRV_1576477583462 Thank you for your code. I have just tried it and it works. I need to optimize my program to work with your functions for GPS data extraction, to dumpit to SRT file and to make some error handling and I will post new version. It seems quite fast. Thanx again
Basically it is. I just need to create export to KML file which is kind of XML. I will create test export just to confirm if it is possible. Later I can include that as another expirt option. I will let you know how it went.
NOTICE! I have just updated program to version V2.0.1. This version doesn't use command line tools for extracting GPS data. Thanx to the forum user M-DRV_15764775 program has it's own engine for extracting GPS data from 70mai Pro MP4 videos. I suggest you to download and nstall new version (links are in first post) because it's much simplier to use and faster.
Program extracts GPS data from MP4 video and creates SRT and KML files.
Please fell free to post suggestions or errors you find in the program.
Hi Amicus, the program finally works 100% for me. Thank you for your patience and I believe that this program will help other users as well. Of course, I also thank the user M-DRV_15764775. Program is very simpl. The program is very easy to use.
Hi Amicus, good job for the project of retrieving GPS data from video file. But ...there is a problem. I tried to extract GPS data. It give me two files, .SRT and .KML. The SRT file it's okay if you want to use as a subtitle for video, but KML have a big problem. The problem is that the timeline is missing. For each coordinate the time is missing. In the SRT file the timeline is correct but not in the KML file. I tried to use map overlay using KML but it's not working.
Hello. Thank you for the kind words. I have tested KML file with Google Earth and I get all the points on the map without any problems. But regarding time - It's correct. I don't export time into the KML file.
I will look for official KML specification and apply it. Thank you for your observation.
I have just updated WinMp4Extract to version 2.1.3. I have added new options, as showing/hiding max. speed in SRT file, showing/hiding GPS coordinates in SRT file, showing/hiding speed statistics on main window, adding timestamp in to the KML file.
@M-DRV_1587770514597 I have found the way to add TimeStamp to the KML file. I couldn't find the way to read date/time from the video and I have taken date and time from the name of the video. If somebody has changed the name, prgram will read date and time from video properties. Please try now overlay and let me know the result. I have tested it with Google Erth and it looks good. If I doubleclick first point, all other disapear. Then I double click the name of the KML file and all other points are shown one after anothr in direction of driving.
thank you again, well when i put the kml file at google earth it goes to africa and I live in Brazil, i think i understand the issue, my location is S7.94766 W34.89323 google earth just see this as 7.94766 (positive)/(north) and 34.89323 (positive) (east) when then right coordenate for south and west is negative -7.94766 and -34.89323. I hope you can understand me and fix it, thank you very much.
O hello Brazil :) It's good that you we have chance to test videos from southern hemisphere. If c1 = "N" Or c1 = "S" Then Your script for reading GPS data treats data from norhern and southern hemisphere in the same way. That means that GPS coordinates in the camera videos are always positive. But, of course, ther is letter N or S which defines hemisphere. I'm fixing that. I will add minus (-) sign for sothrent hemisphere longitudes. The same goes for western latitudes (W). Thank you again for your observations.
I'm thinking about adding batch extract option that will extract GPS data for all videos in selected ...
Another idea is to embed the subtitles directly in the MP4. This would allow playback using simpler video players, and also easier upload to YouTube etc. If you have ffmpeg installed (or packaged with the tool), the command to embed subtitles is: ffmpeg.exe -i NO20200505-105610-002272.MP4 -i NO20200505-105610-002272.MP4.srt -c copy -c:s mov_text outfile.mp4
Could you put the source code to a git repository? Would be fun to look at the code. :) Another thing is, could you connect with GoogleMaps API somehow and put the GPS data straight to GoogleMaps? Also it would be good if we could set the interval to extract data.
I looked in to Google API because I wanted to read altitude, but I could't find free way of using it. I'm not prepared to pay for using Google API.
Interval for data extraction is set by the data in the video. As I know, camera is storing GPS data once per second. According to that, I can set longer but not shorter interval than 1 second but I don't see why would I skip any GPS point on video that can be long from 1 to 3 minutes. If people want to lower GPS point resolution, I can implement that. Please write your oppinion here.
Check first post - there is new version of the program. After you import KML file, you can now see speed data for every placemark. First and last are clickable. Currently I'm showing name of the MP4 video and speed. Do you have suggestion what else to show?
Firstable, congrats for the application. It's totally geniusly and I appreciate very much your efffort to provide us a solution and workaround that supposely be done by the manufacturer (what is a shame). Anyways congrats!
My feedback is related the portal where you provide the application. Definetely is not reachable from Brazil network segment. Probably the server where is hosted, do not allow requests from Brazilian network range.
Just to you have an idea, I downloaded a VPN software, connects to US via VPN and from there I was able to reach your site, then download.
To make the things easy to everyone here, as well contribute with something, I share the latest version on G-Drive by the link below.
I have just made new version of the WinMp4Extract (version 2.6.0). Program can now calculate traveled distance and show it in SRT file. Total traveled distance is shown on main window. (check the first post). Idea came from Rob (http://amicus.ba visitor)
Hello, amicus, I've just installed portable 2.6.0. It works ok, I can see speed and GPS data when playing MP4 files, but when I import KML data to Google Earth it sends me to the middle of ocean. My coordinates GPS are for instance: N40.71291 W4.18611 But in KML files I see that coordinates are <coordinates> 4.18611, 40.71291, 0 </coordinates> I've edited KML file inserting a minus sign before 4.18611 and it works ok. I think it is a minor error that winmp4extract does not reflect west coordinates. The same occurs with GPX files. Everything else works all right. Are you going to implement this change? Thanks a lot for your fine program. Best regards. Miguel
Hi M-DRV_1594374849057 Thank you for the info. It's possible that there is a bug. I have made procedure for detecting north, south, west and east hemispheres but I couldn't test it because I don't have video from all four hemispheres. I will check my code according to your instructions but I will need few days becase I'm bussy now. I will send you a message when I fix it.
Thanks, Amicus. There is another bug, not very serious, When there is no GPS data embeded in MP4 file, program crashes. It doesn't matter because is irrelevant as GPS data was not recorded due to have not obtained a GPS lock. Anyway, if you consider to correct this bug I send a sample MP4 file producing this error and errror doc
I have just made new version of the WinMp4Extract (version 2.6.2). Progam can now detect GPS signal interruption in the video and show message 'No GPS data!' in the SRT file. (check the first post).
I'm still waiting for 70mai Pro dash cam video from western hemisphere to check the buga that user M-DRV_1594374849057 has reported. If someone have video recorded on western hemisphere, please contact me thru private messages.
I have just made new version of the WinMp4Extract (version 2.6.4). Thanx to reported bugs, I have made fixes. Program can now detect W and S coordinates and create proper KML and GPX files. I have fixed detection of the videos with no GPS data. (check the first post).
Special thanx to Robson for sending me dash cam videos for testing.
Hi, Amicus. I've downloaded the last version 2.6.4, an I'm sorry to tell you that you have a minor error. My GPS coordinates are N40.71265, W4.18505, which are ok in SRT file. So in KML an GPX files they should be -4.18505, 40.71265. Erroneously GPS coordinates are 4.18505, -40.71265 corresponding to S40.71265 E4.18505. You have changed the minus sign in the wrong place. WinMp4 extract works now very well but for this little error. My location is near Segovia(Spain). I'll try to send a MP4 file for testing if you need it. Thanks very much for your program. Best regards.
Thank you for quick bug report. It would be the best if you can send me yours video. I have tested program with videos from Brasil and Slovenia and it was all OK. Please upload your video to google drive or sone sharing service and send me the link.
Thank you for your video. I have found bug and I have fixed it.
Thanks a lot, Amicus. Now it works perfectly in every aspect, but I've noticed that traveled distance is always 0,0Km. I don't know why, I use Registrator Viewer 188.8.131.52 to play the videos and this program reflects the distance ok as 2401m.
Perhaps it is another error.
I adjoin a capture of Registrator Viewer. Best regards
，原因： Ortographic error and further info
Hi.You are welcome.I have tested SRT file generation with videos from Slovenia, Brasil and Spain and ...
Hi again, Amicus, forgive the bother I've played it with MP-HC and VLC and distance traveled is always 0,0 Km. All players interpret tags ok but looking the contents of SRT file I see that in all points dist es 0
Hi again, Amicus, forgive the bother
I've played it with MP-HC and VLC and distance traveled is alw ...
Hello. Thank you for sending your video. I have tried extracting GPS data and everything is working as it supposed to. I have distance shown thru entire video, as you can see on the image below.
Is it possible that you are missing some components in your system? Are you using portable version of the WinMp4Extract? Please try istall version as it should add missing components from NET framework 4.6.1. If that doesn't help, please try to reinstall NET framework 4.6.1.
You can try one more thing - check decimal symbol on your PC. I might have hardcoded decimal point as a decimal symbol. If you have configured comma as decimal symbol it could produce 0 for traveled distance.
Now I see on the screenshot that you have comma as a decimal symbol. So I have fixed that. Program should now use system default settings for decimal numbers. Traveled distance calculation should be working now without problems I will send you test version so you can check it on your PC before I publish new release.
Now I see on the screenshot that you have comma as a decimal symbol.
So I have fixed that.
Thanks, Samir That is the problem. I have comma as decimal point. I see in your screenshot of my video that you have decimal point, and comma in mine, as you said. I'll try your latest version when it is available. Regards. Miguel
Hi, Samir I didn't notice that you had sent me the file. I've tried it and it seems that now calculates ok the distance traveled. It appears correctly in SRT file, but you must have corrected a previous version of your program because KML and GPX files have the wrong GPS coordinates, they have lost the minus sign corresponding to West coordinates.
When i try to extract GPS data i receive this message from th ...
Hi Amicus, I'm having the same problem, the extractor run into error when I try to load the file Can you also help check why? My file is in think link https://drive.google.com/file/d/14CMavtkN6iUQzVKj1hVuT7N00L0k12B5/view?usp=sharing
Hi Amicus, I'm having the same problem, the extractor run into error when I try to load the file
Thank you for your video. As I can see it is not the video recording of the 70mai Pro dashcam. Your camera doesn't store GPS data in the same way as 70mai Pro. That's why program throws an error. I have fixed that, but still can't read GPS data from your video. I will try to figure it out. If I success, I will inform you. If not, I will publish new version that will show you message that video doesn't contain readable GPS data.