Robotics StackExchange | Archived questions

Advice on reducing file size with Zstd compression level in ROS2 bag record

Hello ROS community,

I have been using the ros2 bag record command with Zstandard compression to store recorded data in bag files. The compression has been effective in reducing the file size, but I am interested in further reducing the size without losing any data.

Currently, I am using the --compression-format zstd option, which provides a good balance between compression ratio and performance. However, I would like to explore if there are any recommendations or best practices to optimize the compression level and achieve even smaller file sizes.

Could anyone provide advice or suggestions on adjusting the Zstandard compression level for ROS2 bag recording? Specifically, I would like to know if there are recommended compression levels that can help me achieve better file size reduction while maintaining data integrity. I'm also curious about any other relevant parameters or considerations to keep in mind when using Zstandard compression in ROS2.

Thank you in advance for your insights and guidance!

Asked by Dragon_58 on 2023-05-16 04:50:43 UTC

Comments

Answers