Skip to content

HEIC sequence compression on MCAP data #1074

Answered by achim-k
russkel asked this question in General
Discussion options

You must be logged in to vote

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.

channels:
	(0) mouse        89 msgs (38.59 Hz)   : MouseEvent [jsonschema]              
	(1) camera_h264  70 msgs (30.36 Hz)   : foxglove.CompressedVideo [protobuf]  
	(2) camera_jpeg  69 msgs (29.92 Hz)   : foxglove.CompressedImage [protobuf]  

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@russkel
Comment options

Answer selected by achim-k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants