Gstremer with tx1 camera


We are trying to capture video from tx1 camera and encode it to h264 and stream to network. The reciever side cannot use sdp file. How can we do that?

We can recive video and show it on screen with:
gst-launch-1.0 nvcamerasrc ! ‘video/x-raw(memory:NVMM), width=640, height=480, framerate=30/1, format=NV12’ ! nvvidconv flip-method=2 ! nvegltransform ! nveglglessink -e

We can stream video to network without and read from another machine without sdp file with:
gst-launch-1.0 -v uridecodebin name=uridec uri=file:~/b.mp4 ! videoconvert ! x264enc noise-reduction=10000 tune=zerolatency byte-stream=true threads=4 key-int-max=15 intra-refresh=true ! mpegtsmux alignment=7 name=mux ! rtpmp2tpay ! queue ! udpsink host= port=5000 sync=true uridec. ! audioconvert ! voaacenc ! audio/mpeg ! queue ! mux.

Video quality is awful after streaming, however it does not require a sdp file.

We failed at combining two of these. Is there any example or suggestions ?