compress large .bag file
Hello everyone,
I was recording the file (.bag) using relasense viewer, the size of the file was too large, 300+ mb for just 8-second recording. I tried the compress option, still got the same large size. Is there another way to reduce the size of the file.
Thanks
-
Hi Deepak,
Can you verify if the compression is working by using the tools/rs-rosbag-inspector to check if the bag files were compressed or not.
(If the rosbag-inspector is not available you may need to compile it from source.)Attached here are three screenshots that show what rs-rosbag-inspector should look like when loading compressed, no compression, and device default bag files, all recorded with T265.
If the file is compressed it should show:
Compression: lz4
uncompressed size < compressed size (these two numbers seem reversed. It seems like uncompressed size is the actual final compressed file size, and compressed size is the size of the file if it had not been compressed)
If the file is not compressed it should show:
Compression: none
compressed size = uncompressed size


Regards,
Rizal
Please sign in to leave a comment.
Comments
1 comment