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

Assuming a rate of 30FPS, a resolution of 1280*720, and an acquisition of 5 seconds, how is the size of the .bag file calculated? #13545

Open
wenmingxiaohuo opened this issue Nov 26, 2024 · 5 comments
Labels

Comments

@wenmingxiaohuo
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

@wenmingxiaohuo
Copy link
Author

Assuming a rate of 30FPS, a resolution of 1280*720, and an acquisition of 5 seconds, how is the size of the .bag file calculated?

@MartyG-RealSense
Copy link
Collaborator

Hi @wenmingxiaohuo There is not a formula for calculating the size of a bag file in advance. However, I recorded a depth stream of 1280x720 at 30 FPS to a bag file for 5 seconds and the file was 143 mb in size.

@wenmingxiaohuo
Copy link
Author

Thank you very much for your reply. I don't think the depth stream data is the whole content of the .bag file, although there is no specific formula to calculate it, but I think I should be able to calculate the size of the .bag file if I accumulate all the data of the .bag. How should I calculate it? Suppose the RGB data rate is 30fps, resolution 480*640

@MartyG-RealSense
Copy link
Collaborator

I recorded another 5 second, 30 FPS test bag with depth 1280x720 and RGB 640x480 and the bag was 267 mb.

@wenmingxiaohuo
Copy link
Author

Your work is recognizable and commendable, thank you for the test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants