10 (not sure whether it would make a difference). I found gstreamer with h264 encoding for lower the cpu percentage.
GitHub Gist: instantly share code, notes, and snippets.
I don't intend to save the H264 data directly as a local file because I need to do other processing. When you install in the Complete mode, you should be able to find avdec_h264. GStreamer has elements that allow for network streaming to occur.GitHub - gismo07/image_h264_encoder: ROS package for hardware accelerated encoding of images to h264 mp4.