Comments (3)
Thanks! That answers my questions. I should mention for future reference that this was done on a Pixel 4, which I believe has synchronized IMU / video.
from videoimucapture-android.
Thanks, I'm glad if it might be useful to someone else.
The frame numbers are zero indexed and I have not observed this issue myself. Though it is theoretically possible since there is no synchronization between the camera-, video- and proto-recording threads during start and stop of the recording. They are simply started/stopped in correct order. If I understand you correctly you are not loosing VideoFrameMetaData messages in the middle of the stream, so that is good.
You may assume the frame numbers to be correct. The protobuf writer receives messages from both the camera thread and the video encoder thread. The camera thread sends the image meta-data (including time stamp) and the encoder thread sends frame number of the video and time stamp of the image capture. So the protobuf writer pairs the image meta data with the video frame number according to the image capture timestamp.
I just updated data2rosbag.py
to take missing frames into account. Please let me know if you find any other tool that assumes an equal amount of video frames and VideoFrameMetaData messages.
from videoimucapture-android.
Oops, close issue.
from videoimucapture-android.
Related Issues (18)
- How do you read the video_meta.pb3 file? HOT 8
- some questions about the project structure and howw to understand each component HOT 16
- Timestamp abnormal. HOT 10
- ModuleNotFoundError: No module named 'recording_pb2' HOT 3
- Global status : warn HOT 2
- Error converting video to rosbag HOT 9
- Video capture using front facing camera HOT 1
- Error regarding camera_meta.lens_pose_rotation HOT 2
- Not getting 30 FPS Video Output HOT 2
- time synchronization problem HOT 1
- Question about the inverted aspect ratio of saved videos
- "Cannot find IMU" error on Samsung A50, Android 11 HOT 1
- Error running camera calibration HOT 12
- time system HOT 5
- Skipped Frame,Missing Data HOT 2
- Added magnetometer reading & but couldn't read from .pb3 HOT 2
- Linear interpolation not working HOT 5
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 videoimucapture-android.