isaac_ros_h264_encoder
Source code on GitHub.
Quickstart
Please see the quickstart from isaac_ros_h264_decoder.
Try More Examples
To continue your exploration, check out the following suggested examples:
API
Usage
ros2 launch isaac_ros_h264_encoder isaac_ros_h264_encoder.launch.py input_width:=<"your input image width"> input_height:=<"your input image height">
ROS Parameters
ROS Parameter |
Type |
Default |
Description |
---|---|---|---|
|
|
|
The width of the input image. |
|
|
|
The height of the input image. |
|
|
|
The encoder constant QP value. |
|
|
|
The encoder hardware preset type. The value can be an integer from |
|
|
|
The profile to be used for encoding. The value can be an integer from |
|
|
|
Interval between two I frames, in number of frames. E.g., |
|
|
|
A preset combination of |
ROS Topics Subscribed
ROS Topic |
Type |
Description |
---|---|---|
|
Raw input image. |
Warning
All input images are required to have height and width that are both an even number of pixels.
ROS Topics Published
ROS Topic |
Interface |
Description |
---|---|---|
|
H.264 compressed image. |
Input Restrictions
The input image resolution must be the same as the dimension you provided, and the resolution must be no larger than ``1920x1200``.
The input image should be in
rgb8
orbgr8
format, and it will be converted tonv12
format before being sent to the encoder.
Output Interpretations
The encoder could perform All-I frame or P-frame encoding and output the H.264 compressed data. The input and output are one-to-one mapped.