this is my gstreamer pipeline:
appsrc name=appsrc ! video/x-raw,format=YUY2,width=1920,height=1080,framerate=30/1 ! nvvideoconvert ! video/x-raw(memory:NVMM), format=NV12, width=1920, height=1080,framerate=(fraction)30/1 ! nvv4l2h264enc control-rate=constant_bitrate bitrate=24000000 iframeinterval=0 profile=0 maxperf-enable=true ! video/x-h264, stream-format=(string)byte-stream ! h264parse ! qtmux ! filesink location=./camera_dev_6_2021_8_24_15_49_25.h264
and this my h264 file infomations,that is not constant bitrate:
General
Complete name : camera_dev_6_2021_8_24_15_49_25.h264
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 2005.03 (qt )
File size : 983 MiB
Duration : 5 min 43 s
Overall bit rate : 24.0 Mb/s
Encoded date : UTC 2021-08-24 07:49:25
Tagged date : UTC 2021-08-24 07:55:12
FileExtension_Invalid : mov mp4 m4v m4a m4b m4p 3ga 3gpa 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma ismt f4a f4b f4v
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L4.1
Format settings : 1 Ref Frames
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 5 min 43 s
Bit rate : 24.0 Mb/s
Maximum bit rate : 38.6 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.386
Stream size : 983 MiB (100%)
Encoded date : UTC 2021-08-24 07:49:25
Tagged date : UTC 2021-08-24 07:55:12
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
how can I fix the problem?