Video track on map
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 598
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
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:
- If the GPS points in a 1 minute video differ by more than 3 km at any of the video intervals, then we need to "normalize" the track. We must weed out the positioning "noise" from the GPX track, remove segments that differ from neighboring intervals by more than 3 km.
- If video is shorter than 5 minutes and difference between GPS points in the beginning, middle and end of the file does not differ by more than 1 km, then place video icon by starting point.
- If video is shorter than 5 minutes and difference between GPS points in the beginning, middle and end of the file differs more than 1 km - display video icon on the map as GPX track (line).
- If many GPS points are recorded in one minute, for example, more than 30, it will be correct to calculate the average point and record one in a 1-minute interval. This will also minimize GPS noise.
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:
- Start GPS point of video should be a average GPS point for first 1-2 minutes of video. This will also minimize GPS noise.
- Display section "My videos", with the ability to turn off and on display (similar to the photo)
- Change settings: display long videos as GPX tracks, or as icons by "video start point". (necessary to perform normalization of GPS noise)
- Edit icons location to display as icons, and edit points when displaying as track.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the existing photo display and the code handling map tracks or GPX data, then clarify the GPS normalization rules and the required video-list, icon, track, and location-editing behavior before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- frontend, mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100