-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support rendering a map with GPS tracks with a video #2072
Comments
GPX is the other obvious one. My dashcam makes some CSV-based format, but I wrote a script to convert it to GPX. The main issue would be aligning the timestamps with the frames (and knowing when the video starts…embedded in the filename at least for me). |
Is there any software (preferrably javascript) that can convert other formats into GPX? Like DJI subtitle, Gopro GPS meta, iPhone MOV gps, etc (embedded into video files as a separate track). |
https://www.npmjs.com/package/convert-google-directions seems like a project to chase dependencies for how it does so. |
that project seems to parse Google maps URLs into coordinates |
Sorry, should have been clearer; I linked it for the set of formats it targets (and the libraries it uses to do so) more than its code itself. |
Oh actually I think exiftool can extract GPS from most files: https://www.youtube.com/watch?v=Uje5si23lBk I tested it on an iPhone video and it is able to extract gps locations + timestamps! exiftool -ee IMG_5288.MOV the problem is that exiftool is perl. see also #1027 |
May be this can be useful for you - mp4 to GPX |
This is really interesting, thank you :-) I believe the check is done here: lossless-cut/src/renderer/src/util/streams.ts Line 258 in 87bb9df
looking for DJI.subtitle but my track has handler_name: '\x10DJI.Meta' so can that be supported also? It's from a Mini 2. Thanks! |
i could add it but i'm not sure if the format of the data in a '\x10DJI.Meta' stream is the same as for '\u0010DJI.Subtitle'? |
Sorry, I was using the wrongly! When I try to plot the DJI.Subtitle track it says no GPS coordinates found.
|
maybe you can run this command on your file and share the result: (replace
|
|
ok thanks.it seems that your drone has an additional field DZOOM which mine does not. i'll add support for it |
I would love it if support could be added for GoPro GPS data. I currently use https://github.com/time4tea/gopro-dashboard-overlay on the individual segment files and then cut/merge in LosslessCut, so if LC had this feature built in it'd save me a fair bit of effort every time I record a bike ride. Here are a couple of other projects that work with this data which might be useful for understanding the format: https://github.com/JuanIrache/gopro-telemetry I can provide all sorts of example content from a Hero 5 Black plus a few clips from a Hero 10, and will probably be adding a Hero 13 to the mix soon. |
The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first
Description
Data from devices such as dashcams also have GPS tracks associated with them. It'd be nice to be able to associate the video editing while trimming the GPS tracks with them at the same time. Might be related to #1027 if I could get the GPS data into a metadata stream.
The text was updated successfully, but these errors were encountered: