I am using a jetson xavier NX and i have connected 4k camera to it. I want to stream 4k video using gstreamer and RTP and store the streamed video data as an mkv file on another jetson. However my data is getting compressed a lot and I am not able to send it in 4k even though 4k is supported by the camera and by gstreamer.
SENDER
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM), width=(int)1944, height=(int)1096, format=(string)NV12" ! nvvidconv left=8 right=1928 top=8 bottom=1088 ! "video/x-raw(memory:NVMM), format=(string)NV12, width=(int)1920, height=(int)1080" ! omxh264enc qp-range=35,35:35,35:-1,-1 ! rtph264pay mtu=60000 ! udpsink clients=127.0.0.1:5000 sync=false
RECEIVER
gst-launch-1.0 udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z0JAKJWgHgCJ+VA\\=\\,aM48gA\\=\\=\", payload=(int)96" ! rtph264depay ! h264parse ! matroskamux ! filesink location=test.mkv -e
I tried changing the resolution to 3840x2160 on the sender side but it didnt seem to work. What am i doing wrong