DaneLLL and others who have struggled to get constant bit rate H.265 encoding to work on the Jetson:
The bitrate property of nvv4l2h265enc and omxh.265enc is specified in bits per second – not kilobits per second!
Setting the vbv-size property explicitly is not necessary.
If you specify a bitrate that is too low, the encoder will quietly ignore it. If trying to achieve a low-bit rate, test with lo-res video initially, then increase the resolution until the bitrate output from the encoder begins to increase. (until it starts overriding your specified bit rate)
The omxh265enc is superior to the nvv4l2h265enc in producing low bit-rate streams relatively free of artifacts.
Here are the omxh265 encoder properties that work for me:
Hi,
Thanks for the sharing. We did not notice x264enc has bitrate in kbit/sec. Will check to add bit/sec in gst-inspect-1.0 nvv4l2h264enc in future release.
The omx plugins are not maintained for a while, if you see stability issues, we would encourage to use v4l2 plugins.
We do see CBR +virtual buffer size working in most cases. Probably it does not has significant difference in your use-case.