Using gst-launch-1.0 for webcam live streaming between Ubuntu PC (host) and Nvidia Jetson TX2(target)

Hey,

Thanks for your response DaneLLL.
Yes the suggestion of working with h264 did work.

I referred to the link below for usage of commands:

I am able to establish the connection now but with a delay of 3 to 4 seconds.
The commands used are as follows:

UBUNTU TO TX2

UBUNTU:

CLIENT IP = 172.19.81.237
gst-launch-1.0 v4l2src device =/dev/video0 ! ‘video/x-raw, width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1’ ! x264enc bitrate=4000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false

TX2:

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

If there is any method to reduce the delay caused would be of great help :)

Thanks,
Pratosha