Open aleksandrmetik opened 3 years ago
I have implemented a PoC to make sure that it can work. My PoC is a bash script that:
When scanning through NC/Maps we get GPS tracks as well as a photo on the map.
ToDo:
Unfortunately, I don't have much time, but maybe this summer I will finish my work and upload a stable MVP version of the script to my repository. Thanks
@aleksandrmetik hope you had a great summer back in 2022 as well as the following ones. Do you happen to have any updates on this?
Hi @executed Before developing this idea, I asked all my friends to record and send short videos in the original format/source. Unfortunately, 99% of Android devices does not record GPS layer metadata in MP4. There are dedicated Android camera apps that can do this, but agree that that potential usefulness for the vast majority of NextCloud users tends to zero. Maybe in the future when big vendors like Google decide to globally add GPS XMP metadata, or develop a new format for storing video data and GPS, but obviously now this idea from my side is premature.
This could be interesting if users manually “put” the video to the Nextcloud map as a single picture, or a hand-drawn track. It can be done not only for MP4/MOV files. I think it should be realized on NC backend side. This would be useful for organizing video files like as photo files.
Oh wow, did not realize that Android does not store coordinates... Thanks for the detailed response!
Hello Android write GPS data layer to MP4 files. We can extract it to GPX format. For example:
exiftool -p gpx.fmt FILE.mp4 >out.gpx
A little bit of my thinking about logic:
These are my approximate considerations. I'm not sure it's perfect logic. We should definitely consider the need to normalize GPS noise. According to my observations, the noise is especially strong in the first 1-2 minutes of the video, while the GPS "warms up" and less accurate A-GPS is used.
A little bit of considerations about functionality:
Thanks!