Camera Frame Compression for ROS Record Sessions


We want to collect sensor data with ROS. We have prepared our ROS GMSL camera driver and testing it now. Since, rosbag files contains frames for image messages, we need to compress the frames we read from the camera in order to store them. What would be the proper way to do that? Thank you

Dear mert.colak,
We have NVMedia API calls to compress image. Could you please take a look at