Content: When using nvv4l2h264enc for encoding, significant mosquito noise is observed. However, when using x264enc for encoding, this issue does not occur. Below is the encoding code:
gst-launch-1.0 nvarguscamerasrc !
h264_encode_video.zip (4.7 MB)
nvv4l2h264enc bashCopy code
'video/x-raw(memory:NVMM), width=(int)4000, height=(int)3000, \
format=(string)NV12, framerate=(fraction)25/1' ! \
nvvidconv ! \
'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080' ! \
nvv4l2h264enc bitrate=2097152 maxperf-enable=1 idrinterval=25 ! \
h264parse ! 'video/x-h264, stream-format=byte-stream, alignment=au' ! \
filesink location=./filename_h264_nvv4l2h264enc -e
x264enc bashCopy code
gst-launch-1.0 nvarguscamerasrc ! \
'video/x-raw(memory:NVMM), width=(int)4000, height=(int)3000, \
format=(string)NV12, framerate=(fraction)25/1' ! \
nvvidconv ! \
'video/x-raw, width=(int)1920, height=(int)1080' ! \
x264enc bitrate=2048 key-int-max=25 ! 'video/x-h264, profile=(string)baseline' ! \
h264parse ! 'video/x-h264, stream-format=byte-stream, alignment=au' ! \
filesink location=./filename_h264_x264enc -e
Please help troubleshoot the excessive mosquito noise issue during H.264 encoding using nvv4l2h264enc at a 2Mbps bitrate and 1920x1080 resolution.