I ran vlc player on the device as where I ran the graph, but nothing is displayed in the player and the following message is printed in the vlc terminal.
Created new TCP socket 35 for connection
[0000ffff3c0041c0] main decoder error: Codec `h264' (H264 - MPEG-4 AVC (part 10)) is not supported.
Running ffmpeg -codecs
returns the following
...
DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m ) (encoders: libx264 libx264rgb h264_omx h264_v4l2m2m h264_vaapi )
...
I also ran the gst command as recommended and got the following below:
$ gst-launch-1.0 rtspsrc location=rtsp://<jetson-ip>:8554/ds-test ! rtph264depay ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<jetson-ip>:8554/ds-test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
The results are the same if I try to play the stream in a window
$ gst-launch-1.0 rtspsrc location=rtsp://<jetson-ip>:8554/ds-test ! rtph264depay ! h264parse ! decodebin ! videoconvert ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<jetson-ip>:8554/ds-test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
I also verified the camera works with the following command gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=60/1" ! nvvidconv ! xvimagesink