Image Digitization over wired ethernet network gstreamer stream

I am currently seeing a lot of digitization in my test network streams when moving the camera. The Jetson Nano and receiving computer are wired to the same high speed router. My camera is a Basler daa4200-30mci

My transmit stream is:

gst-launch-1.0 pylonsrc ! video/x-raw,width=2560,height=1440,format=UYVY ! videoconvert ! omxh264enc bitrate=500000 ! 'video/x-h264, stream-format=(string)byte-stream' ! rtph264pay ! udpsink host=192.168.1.157 port=5000

My receive stream is:

gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! avdec_h264 ! autovideosink sync=false async=false -e

I have adjusted bit rate, sync, async, etc… I am wondering what methods the forum has used to reduce digitization noise during motion on an encoded stream.

Thank you!

Hi,
For adjusting video quality, we suggest run in CBR mode and set virtual buffer size property. Please refer to the commands:
H264 vs H265 - #4 by DaneLLL

Hi @DaneLLL - Thank you for the response.

It’s now appearing slightly better, but we’re still seeing a fair amount of digitization with this stream:

Transmit:

gst-launch-1.0 pylonsrc ! video/x-raw,width=1920,height=1080,format=UYVY ! nvvidconv ! nvv4l2h264enc bitrate=14000000 control-rate=0 vbv-size=450000 ! 'video/x-h264, stream-format=(string)byte-stream' ! rtph264pay ! udpsink host=192.168.1.157 port=5000

Receive:

gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! avdec_h264 ! autovideosink sync=false async=false -e

I’ll be looking through the accelerated gstreamer guide, but any additional clues are certainly welcome.

Hi @DaneLLL

I have found through experimentation that our stream is heavily digitized unless we set: iframeinterval=1.

Anything above 1 causes heavily digitization on a h264, and especially h265 stream in the following pipeline:

gst-launch-1.0 pylonsrc ! video/x-raw,width=2560,height=1440,format=UYVY ! nvvidconv ! nvv4l2h265enc bitrate=50000000 control-rate=0 vbv-size=10000000 iframeinterval=1 ! rtph265pay ! udpsink host=192.168.1.157 port=5000

Would you be able to suggest any solutions or things I can try here?

Thank you.

Hi,
The source is in 2560x1440p30 and 5Mbps is a bit strict. Would suggest set 10Mbps-12Mbps.