Open jtaveau opened 10 months ago
Very strange. You're getting 2 frames out from the encoder for every one you send in? The CPU usage spike is very unexpected. Nothing seems amiss in the launch file. You shouldn't have to change the YAML files as they get modified to match ROS parameters as needed. We'll take a closer look though and see if we can reproduce this issue. Do you have any other information worth relaying? JAO 64GB with a Flir camera encoding Bayer into h.264.
Exactly, I don't have anything else to add to that.
Hi, I tried running the encoder on a Jetson AGX Orin 64GB, it's working, but CPU load is super high, am I doing something wrong with my config file? I compiled with
-DCMAKE_BUILD_TYPE=Release
.Camera + debayering is taking around 15%, if I add the encoding to the component container, it goes to 160% on htop.
Launch file:
generated YAML graph file:
I also saw that the encoder was publishing at 20Hz, whereas the input is at 10Hz, is it a normal behaviour? I didn't find a way to decrease the publishing rate.
Also, would you have any documentation on how to display the GXF logs?
And last remark, it would be nice if the
input_height
andinput_width
arguments were forwarded to the generated YAML graph, I had to modify thenitros_encoder_node.yaml
file to have them taken into account.