Zigzag artefact on the diagonal line (nvv4l2h264, NX)


I’m experiencing weird line artefacts in the encoding result. (nvv4l2h264)
as you can see in the image,

  1. some of the diagonal line has some zigzag effect.

  1. and the content of the image is stretched a bit to the y-axis, but the resolution is the same. (you can compare it by switching the images below)
    the first image below is the dump image before the gstremer pipeline.
    and the second image is the dump image from the result video of the gstreamer.

Here is the gstreamer pipeline. and I’m using Jetpack 5.1.2, Xavier NX.

Can somebody help me how I can resolve this issue?
our target scene is field sports, so the artefacts on the line is critical issue…

it seems it is about the resolution that I input to the encoder.

the original resolution was 3840x1490 and it generate the artefacts,
and the resizeed resolution is 3840x1920 and it does not have any artefacts.

here is one question, how can I put the original image (3840x1490) into the frame with the standard resolution(3840x1920) without any reszing transformation?
for example, I want to put the image at the center with black gap at top and bottom to fill the resolution(3840x1920)

We would suggest try to set CBR + virtual buffer size:
Random blockiness in the picture RTSP server-client -Jetson TX2 - #5 by DaneLLL

This is to balance bitrate and video quality. Please give it a try and see if it can help the use-case. And please use latest Jetpack 5.1.3 or 4.6.4.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.