strands-project / data_compression

Video encoding for 8 bit RGB images, 16 bit grayscale depth images and possibly more.
10 stars 11 forks source link

data_compression

Video encoding for OpenNI topics to record them to a rosbag and replay through reconstruction of point clouds.

Includes libav_image_transport by Dominique Hunziker: https://github.com/rapyuta/libav_image_transport.

Compression comparison

To put the compression gains of this library in context, here is a comparison to the default ROS image compression and the uncompressed images.

Alt text

Both the ffv1 codec and the theora codec takes up quite a lot of CPU when compressing the OpenNI streams at 30 fps. The following CPU usages were measured on my Core i7 laptop.

Alt text