Skip to content
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

Discrepancy between video and GPS data #147

Open
Trigve opened this issue Aug 5, 2023 · 4 comments
Open

Discrepancy between video and GPS data #147

Trigve opened this issue Aug 5, 2023 · 4 comments
Labels
cannot-reproduce need-sample-data Can't reproduce with available data. Please supply some data that demonstrates the problem

Comments

@Trigve
Copy link

Trigve commented Aug 5, 2023

Hi,
I've found your wonderful project and started to test it (using docker). But I think I found a bug.

I've got a GoPro 9 timewarp x10 video. I want to add some overlays to it. The problem is that the longer/bigger the video is the more discrepancy there is between the video and the overlays (speed, map position, ...). For instance if the video is 40 seconds long everything looks ok. But if the video is for instance 3 minutes long, the overlays doesn't match the original video (for instance, overlay is saying that the speed is 16 KPH, but the "video" isn't moving for another 2 seconds). I could send you the testing video if needed.

@time4tea
Copy link
Owner

time4tea commented Aug 6, 2023

Hi. Thanks for your interest in the project.

Yes, please can you send me the file.

Please could you send a link to gopro-overlay@time4tea.net wetransfer can be good for this.

I'll just use the file for diagnostic purposes, and it will stored on encrypted drives, and removed when I solve the issue.

Thanks!

James

@Trigve
Copy link
Author

Trigve commented Aug 7, 2023

So I've tried to prepare video for you, but unfortunately I've accidentally deleted the (testing) video that was causing problem. With the another one, everything is OK. So I would try the other ones I have and will report back if there is same problem.

@time4tea
Copy link
Owner

time4tea commented Aug 7, 2023

No worries. Well I guess it is good that it is working some of the time at least. :-)

To be honest the timewarp code is not much used by me, so I can imagine there are edge cases that don't work 100%

In particular, I think switching timewarp settings while a video is recording will not work properly.

If you have a video that shows a problem please do let me know!

Cheers

James

@time4tea time4tea added need-sample-data Can't reproduce with available data. Please supply some data that demonstrates the problem cannot-reproduce labels Sep 2, 2023
@bphilli7
Copy link

I can provide potentially relevant sample data if you are interested in looking into this.

I have a timewarp video taken from a GoPro Hero 10. I used timewarp for the duration of a 3 hour filming session which results in a ~20 min file, four parts of ~5 min each. The video is quite lengthy, and there are moments where the GPS data is clearly unsynchronized from the images in the frame.

If timewarp is supported by gopro-dashboard-overlay, then my video files have broken GPS timestamps leading to de-synchronization issue similarly noted by original poster. I have never used the feature to enter "Real Speed" mode during the timewarp video, so the issues may be unrelateable.

https://community.gopro.com/s/article/what-is-timewarp-video?language=en_US

One key aspect of my video is that my timewarp videos use "Auto" timescaling, allowing the firmware of the GoPro to dynamically adjust the timescaling based on the motion of the camera (see section on Capture rate info). Perhaps this breaks the GPS time synchronization of gopro-dashboard-overlay? Maybe timewarp is only supportable for fixed multiple of capture rate (2x, 10x, etc)? Just my guesses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot-reproduce need-sample-data Can't reproduce with available data. Please supply some data that demonstrates the problem
Projects
None yet
Development

No branches or pull requests

3 participants