-
Hello, We are thinking about using MCAP for storing training data for various projects. This has got me thinking about compression using newer formats. The HEIC file format supports sequences of images and presumably improved compression ratios given the redundancy between frames. Could this be implemented at an MCAP level using the compression API or does the compression only do chunks of data vs individual messages? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
MCAP compresses chunks of of data but not individual messages. You will have to compress messages before writing them to the mcap file. This is for instance done in the demo application on https://mcap.dev (when scrolling to the bottom). Images can be recorded with either h264 or jpeg compression with the former yielding smaller file sizes as it uses delta frames.
|
Beta Was this translation helpful? Give feedback.
MCAP compresses chunks of of data but not individual messages. You will have to compress messages before writing them to the mcap file. This is for instance done in the demo application on https://mcap.dev (when scrolling to the bottom).
Images can be recorded with either h264 or jpeg compression with the former yielding smaller file sizes as it uses delta frames.