Comments (4)
Every camera is different, but telemetry-parser tries to return t = 0
at the middle of the first frame
Remember that there are many samples per frame, and the negative t
is the top row of the first frame, then it goes to 0 in the middle and then positive at the bottom
That's assuming you're using util::normalized_imu()
or util::normalized_imu_interpolated()
Gyroflow also takes into account exposure time and some other data depending on camera, for Insta360 it's here:
https://github.com/gyroflow/gyroflow/blob/master/src/core/gyro_source.rs#L390-L414
This is important for the most accurate timing
from gyroflow.
Thank you for your explanation.
In the given code snippet, it seems that only Timescalers with t>=0 have been considered.
Can I say that the first non negative Timescaler is the reference timestamp of the first frame, since the interval between two Timescaler is exactly 1/fps.
And the actual timestamp of the first frame is obtained based on the formula in the code snippet.
from gyroflow.
It's not that simple, every frame has an additional time offset, based on the exposure time, that offset is calculated in that code snippet I linked.
It also takes into account gyro_timestamp
and first_frame_timestamp
, but that's already calculated in telemetry-parser
To verify the timestamp per frame, you can Export project file (with processed gyro data)
from Gyroflow, and then in that .gyroflow json file, you'll have "synced_imu_timestamps_with_per_frame_offset"
field
from gyroflow.
Ok, I'll try to use the synced imu timestamp to sync with another imu.
from gyroflow.
Related Issues (20)
- Attempt at live video stabilization HOT 4
- Handling GPU drivers crash HOT 2
- Feature Request: Anamorphic Video Support in Gyroflow HOT 1
- Audio out of sync when exporting multiple trim ranges as a single video HOT 1
- prompt to delete split videos after automatically joining them HOT 2
- Final Cut Plugin issue (A plug-in is not responding) HOT 5
- 10+ Minute Long Videos take Forever To Load + Takes all the ram in DaVinci Resolve HOT 4
- Is it possible for you to share materials to understand the stabilization correction algorithm? HOT 1
- Does an extension tube affect lens profile? HOT 5
- Video blank if gyro data is imported but not if just the video is imported and not the gyro data HOT 8
- Lens profile loading error with Insta360 Ace Pro footage HOT 1
- Building on Gentoo linux HOT 21
- (Android build) Preview on S22 Ultra Android 14 does not play with videos 5min+ HOT 11
- Improve "Browse" feature HOT 1
- Inquiry Regarding Implementation Details of lock_horizon_angle Function in horizon.rs HOT 11
- Switching "Device for video processing" from OpenCL to wgpu, then back to OpenCL results in broken render HOT 1
- mkv file format not supported HOT 8
- Full Sony metadata support HOT 8
- ffmpeg error for the export HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gyroflow.