Replies: 7 comments 12 replies
-
Here I'll repost what was initially posted at ElvinC/gyroflow#1Here are the scripts gopro.zip. Some of the scripts were actually stand alone tests and have no relation to the overall project but I have left everything in. If both offsets are equal it means the video and fc clock are ticking in sync and there's no The general logic is as follows:
Besides the GPMF track there's some additional meta data (in the beginning of the Since RSTG is written in Unity it is quite easy to dig inside it using dnSpy and UnityAssetsBundleExtractor. After the basic video data is read, the correct preset is chosen among these: If the source video is 1920x1080 for example the For example, for my video footage with Runcam 3 I have used the So yes, the closer the lens of our camera is to that of gopro - the better. For example if I work on my runcam3 footage with the superview preset the results, as it can be expected, are very distorted. But it seems that the
I have written my own routines for mp4 and gpmf. It turned out that they are quite clear formats so using external libs was not that necessary and furthermore I had to do it in order to understand better their structures. The virtualGimbal project is interesting. In what format does it expect the gyro data? Wouldn't it be possible to convert our bbox data to their format? If I have missed something, please write back and I'll try to explain further. Best~ |
Beta Was this translation helpful? Give feedback.
-
Asked at ElvinC/gyroflow#1 (comment)
Two point sync is needed when the the video time ticks at different rate compared to blackbox time. It can happen that we sync very well our video somewhere at the beginning of the log (we adjust the offset in bbox explorer and the gyro curves match perfectly the video movements) but then go to the end of the log we see that gyro and video are out of sync. For this reason we should write down the offset and the time of the log, where the sync is OK (in the beginning of the file). Then we go at the end of the file and sync there. The offset will be different (now if we move to the beginning we'll see that we are out of sync there). Now we write down the new offset and the new time where this offset is correct. Fore example: These are the first two value. Now if we go towards the end of the log, we'll find out the video and gyro are no longer in sync. We adjust the offset again to match them and see that, for example, at time 1:14 we have offset +2.343. These are the second two values. Using these four number we can interpolate linearly, so that between log time 0:9 and 1:14 the video offset will go from +0.533 to +2.343. |
Beta Was this translation helpful? Give feedback.
-
I'm a java developer by day. This project really peaked my interest, I would love to use real steady go on my dvr footage from caddx vista or from my old session4. I was wondering if there is some way I could contribute to this project. If there is a better place to ask please point me to it. |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question. When I start the exe, there is an error. It says: failed to execute script. I hope someone can help me. |
Beta Was this translation helpful? Give feedback.
-
Hi, i 've a problem. GP.exe don't give me error but it don't work do you have any suggestions for me? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to insert klv telemetry into a video |
Beta Was this translation helpful? Give feedback.
-
Hey! trying to insert gyroscope data into a video using a program. But the data does not change at the output. Help me to understand. The program does not issue errors, it creates files. But the gyro data doesn't change |
Beta Was this translation helpful? Give feedback.
-
BlackboxToGPMF is a "work in progress" solution, so many problems and questions will arise.
Let this discussion be the place to ask questions, share and contribute to the project.
It is a continuation of what started at ElvinC/gyroflow#1
Currently the active branch of the project is https://github.com/Cleric-K/BlackboxToGPMF/tree/gui
It is entirely developed by @attilafustos
Beta Was this translation helpful? Give feedback.
All reactions