NVIDIA-accelerated data compression.
Isaac ROS Compression provides H.264 image encoder
and decoder that leverages the specialized hardware in NVIDIA GPUs and the
Jetson platform.
The isaac_ros_h264_encoder package can compress an image into H.264
data using the NVENC. The
isaac_ros_h264_decoder package can decode the H.264 data into
original images using the NVDEC.
Image compression reduces the data footprint of images when written to storage or transmitted between computers. A 1080p camera at 30fps produces 177MB/s of data; image compression reduces this by approximately 10 times to 17MB/s of data, reducing the throughput needed to send this to another computer or write out to storage; a one minute 1080p camera recording is reduced from ~10GB to ~1GB. This compression is provided by dedicated NVIDIA acceleration (NvEnc) separate from other hardware engines such as the GPU.
A common use case for image compression during the development of robots is to capture camera images to storage. This captured data is processed offline from the robot to produce training datasets for AI models, test datasets for perception functions, and test data for open-loop re-simulation of software in development with real data. The compression parameters are tuned to minimize visual quality reduction from lossy compression for AI model and perception function development. Compression reduces the amount of data written to storage, the time required to offload the recording, and footprint of the data at rest in a data lake.
Compression can be used with event data recorders to capture camera images to storage when an event of interest occurs, often due to failures on the robot. This provides visual information to assist in the debugging of the event or to improve perception and robot functions.
H.264 is an
efficient and popular compression algorithm with broad support across
many platforms. The output of the isaac_ros_h264_encoder package can then
be decoded with NVIDIA acceleration using the
isaac_ros_h264_decoder on Jetson and x86_64 systems, or by
third-party H.264 decoder packages on non-NVIDIA platforms.
This package is powered by NVIDIA Isaac Transport for ROS (NITROS), which leverages type adaptation and negotiation to optimize message formats and dramatically accelerate communication between participating nodes.
Note
ROS 2 relies on image_transport_plugins for CPU based compression.
We recommend using isaac_ros_h264_encoder as part of the graph of
nodes when capturing to a rosbag for performance benefits of NITROS;
ROS 2 type adaptation used by NITROS is not supported by image_transport_plugins,
resulting in more CPU load, and less encode performance.
| Sample Graph |
Input Size |
AGX Thor T5000 |
AGX Thor T4000 |
AGX Orin |
Orin Nano Super 8GB |
DGX Spark |
x86_64 w/ RTX 5090 |
x86_64 w/ RTX 5070 |
|---|---|---|---|---|---|---|---|---|
| H.264 Decoder Node |
1080p |
713 fps 1.0 ms @ 30Hz |
708 fps 3.0 ms @ 30Hz |
260 fps 10 ms @ 30Hz |
– |
923 fps 1.3 ms @ 30Hz |
1080 fps 0.82 ms @ 30Hz |
1100 fps 0.82 ms @ 30Hz |
| H.264 Encoder Node I-frame Support |
1080p |
711 fps 2.6 ms @ 30Hz |
708 fps 10 ms @ 30Hz |
383 fps 16 ms @ 30Hz |
– |
927 fps 2.4 ms @ 30Hz |
1090 fps 1.6 ms @ 30Hz |
1130 fps 1.8 ms @ 30Hz |
| H.264 Encoder Node P-frame Support |
1080p |
728 fps 2.4 ms @ 30Hz |
720 fps 11 ms @ 30Hz |
442 fps 17 ms @ 30Hz |
– |
912 fps 2.0 ms @ 30Hz |
1130 fps 1.6 ms @ 30Hz |
1170 fps 1.9 ms @ 30Hz |
Please visit the Isaac ROS Documentation to learn how to use this repository.
Update 2026-08-18: Compatibility and integration updates for the Isaac ROS 4.6.0 release
