I used the command bellow to produce the stream and receive by gst-rtsp-server .
gst-launch-1.0 videotestsrc ! video/x-raw,width=320,height=240,framerate=30/1 ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvv4l2h264enc insert-sps-pps=1 insert-vui=1 ! h264parse ! rtph264pay ! udpsink port=5000
./test-launch “( udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! rtph264pay name=pay0 )”
Then I can use the VLC to display it through URL :rtsp://192.168.2.10:8554/test
But When I execute the same command in AGX Orin, I can’t display it using VLC without any error message:
gst-launch-1.0 videotestsrc ! video/x-raw,width=320,height=240,framerate=30/1 ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=NV12’ ! nvv4l2h264enc insert-sps-pps=1 insert-vui=1 ! h264parse ! rtph264pay ! udpsink port=5000
Setting pipeline to PAUSED …
Opening in BLOCKING MODE
Pipeline is PREROLLING …
Redistribute latency…
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 0
NVMEDIA: Need to set EMC bandwidth : 126000
Pipeline is PREROLLED …
Setting pipeline to PLAYING …
New clock: GstSystemClock
./test-launch “( udpsrc port=5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! rtph264pay name=pay0 )”
stream ready at rtsp://127.0.0.1:8554/test
The only difference I think is “NVMEDIA: Need to set EMC bandwidth : 126000”, could anyone telll me how to troubleshoot or solve it ?