Stream H264 over RTSP using nvv4l2h264enc using Gstreamer (Getting corrupted frames)

Hi,
Please try to set CBR + virtual buffer size. You can refer to
H264 vs H265 - #4 by DaneLLL
This can provide each encoded frame similar size and may be better in streaming. Not to have burst size.