SaddlebackCollegeRobotics / .github

0 stars 0 forks source link

Research Image Compression for video streams #158

Closed Supernova1114 closed 2 months ago

Supernova1114 commented 6 months ago

https://github.com/ros-misc-utilities/ffmpeg_image_transport https://github.com/NU-Haptics-Lab/ffmpeg_image_transport/tree/cuda_conversion

Update: for the normal ffmpeg package without CUDA, this recently got added to the ROS apt index.

  1. Do sudo apt update & sudo apt install ros-humble-ffmpeg-image-transport
  2. Make sure it installed correctly: ros2 run image_transport list_transports
  3. You should be able to now use the image transport within your CPP code: https://wiki.ros.org/image_transport

To test package with CUDA, go to the cuda_conversion repo linked above, and build from source. Not sure if you will need to uninstall the original package from apt or not.

TODO:

Supernova1114 commented 2 months ago

Ended up using ROS image transport with cpp code and opencv. https://github.com/SaddlebackCollegeRobotics/televideo_2023_24