two-way H265 encoding problem

in jetpack4.2, I found that the two-way 1080p@30fps H265 code rate is 7Mb video encoding at the same time. After about 10 minutes of running, the encoder output will not reach 30fps.

You may share steps in detail, so that we can reproduce it first.