Gstreamer H265 transcode file size issue

Hi,
We try to generate a 5-min 4K video file and run transcoding:

$ gst-launch-1.0 videotestsrc num-buffers=9000 ! video/x-raw,width=3840,height=2160 ! nvvidconv ! nvv4l2h264enc maxperf-enable=1 ! h264parse ! qtmux ! filesink location=a.mp4
$ gst-launch-1.0 -e qtmux name=mx ! progressreport update-freq=1 ! filesink location=output_h265_video_only.mp4 filesrc location=a.mp4 ! qtdemux name=dmx dmx. ! queue ! h264parse ! nvv4l2decoder ! nvv4l2h265enc bitrate=10000000 ! h265parse ! mx.

It can be run successfully and doesn’t get stuck at 152 second. Do you observe it with other 4K files? Probably it is only specific to the video file.