Hi,
Some properties in nvv4l2h264enc plugin may be helpful:
disable-cabac : Set Entropy Coding Type CAVLC(TRUE) or CABAC(FALSE)
flags: readable, writable
Boolean. Default: false
insert-aud : Insert H.264 Access Unit Delimiter(AUD)
flags: readable, writable
Boolean. Default: false
insert-sps-pps : Insert H.264 SPS, PPS at every IDR frame
flags: readable, writable
Boolean. Default: false
insert-vui : Insert H.264 VUI(Video Usability Information) in SPS
flags: readable, writable
Boolean. Default: false
Please set the properties with different combinations for a try.