Not sure if your issue is with camera reading or streaming, you may tell more:
Can you read your camera ? Assuming you locally logged into Jetson, or remotely with ssh enabling X11 forwarding from an Linux host having X server running, can you see the camera feed displayed with:
If not working, it might be because you are using a Bayer sensor such as IMX219 RPiv2 camera, that outputs bayer format RG10. You would have to use nvarguscamerasrc plugin instead of v4l2src. nvarguscamerasrc will debayer with ISP HW and provide frame into NVMM memory (DMA-able), so here using nvvidconv for copying into system memory while converting into a suitable format for xvimagesink:
Then from host you should be able with VLC to read uri: rtsp://<jetson_IP>:8554/test
Be sure that no firewall rule prevents UDP/8554 from Jetson to host.
When you’ll have both 1 & 2 working, it should be easy to adapt for streaming your camera.
I’m using a Basler camera with the Onsemi AR0521(Format UYVY)
The device tree and drivers are set up and with their software (pylonViewer) I can get a stream running but not with gst-launch-1.0 .
The videotestsrc solution works and I can see a picture on VLC on my windows machine.