Using GStreamer plugin rtpsink to transfer video, the udpsrc output has mosaic

Hi all

I want to receive the screen information sent by the TX1 board on the PC.

Here’s my test:
Send data on the TX1 development board and receive data on the PC.

sender:

gst-launch-1.0 ximagesrc use-damage=0 ! 'video/x-raw,width=1920,height=1080,framerate=(fraction)25/1' ! queue ! nvvidconv ! 'video/x-raw(memory:NVMM),framerate=(fraction)25/1' ! omxh265enc iframeinterval=25 ! rtph265pay config-interval=1 ! upsink=192.168.1.145 port=6000 sync=false async=true -e

receiver:

gst-launch-1.0 -v udpsrc port=6000 ! 'application/x-rtp,encoding-name=H265,payload=96' ! rtph265depay ! queue ! h265parse ! avdec_h265 ! videoconvert ! xvimagesink sync=false -e

I can receive the data on the PC, but when I move the terminal on the TX1 board, there will be mosaic on the PC. What are the parameters of my problem?

Thank you very much.

The mosaic may come from ximagesrc. If you display on jetson, it will use your display as image src, send … receive and display again…this may lead to mosaic because it grabs the full screen but displays into a smaller window.

You may try with onboard camera:

gst-launch-1.0 nvcamerasrc ! omxh265enc ! rtph265pay ! udpsink host=192.168.1.145 port=6000

and jetson receiver:

gst-launch-1.0 udpsrc port=6000 ! 'application/x-rtp,encoding-name=H265,payload=96' ! rtph265depay ! h265parse ! omxh265dec ! nvvidconv flip-method=6 ! 'video/x-raw' ! xvimagesink sync=false async=false -e

It should display your camera.

Hi Honey_Patouceul

Thank you for your reply.

I want to printscreen(1920*1080) and display on PC without mosaic.How to solve it?

Thank you very much.

Hi linwen, please try @Honey_Patouceul’s suggestion first. To confirm the issue is in ximagesrc or not.