Hi I need to be able to process ZT30 camera RTSP stream with opencv. For now I am trying to receive stream with any tools possible. On my PC I can just use ffplay rtsp://192.168.144.25:8554/video1. It works without any problems.
Same command on Jetson AGX Orin logs errors:
[rtsp @ 0xffff6c000ba0] RTP: missed 1 packets
[rtsp @ 0xffff6c000ba0] max delay reached. need to consume packet
[rtsp @ 0xffff6c000ba0] RTP: missed 11 packets
[rtsp @ 0xffff6c000ba0] max delay reached. need to consume packet
[rtsp @ 0xffff6c000ba0] RTP: missed 3 packets
[h264 @ 0xffff6c003f20] out of range intra chroma pred mode
[h264 @ 0xffff6c003f20] error while decoding MB 28 10
[h264 @ 0xffff6c003f20] concealing 6981 DC, 6981 AC, 6981 MV errors in I frame
[rtsp @ 0xffff6c000ba0] max delay reached. need to consume packet
[rtsp @ 0xffff6c000ba0] RTP: missed 11 packets
[h264 @ 0xffff6c003f20] corrupted macroblock 18 7 (total_coeff=-1)
[h264 @ 0xffff6c003f20] error while decoding MB 18 7
[h264 @ 0xffff6c003f20] concealing 7351 DC, 7351 AC, 7351 MV errors in P frame
[rtsp @ 0xffff6c000ba0] max delay reached. need to consume packet
[rtsp @ 0xffff6c000ba0] RTP: missed 4 packets
[h264 @ 0xffff6c003f20] left block unavailable for requested intra mode
[h264 @ 0xffff6c003f20] error while decoding MB 0 16
[h264 @ 0xffff6c003f20] concealing 6289 DC, 6289 AC, 6289 MV errors in P frame
...
I tried several other options:
VLC just crashes
gstreamer drops logs and stuck, no video displayed.
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.144.25:8554/video1
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
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
What is the problem? Is it a driver or decoder issue? Is it related with camera connection?
0:00:00.012634620 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtspsrc"
0:00:00.014128711 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtspwms"
0:00:00.014650283 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtspreal"
0:00:00.015398832 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtph264depay"
0:00:00.015857108 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "h264parse"
0:00:00.114720039 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "nvv4l2decoder"
0:00:00.115978512 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "nvvidconv"
0:00:00.116586677 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "xvimagesink"
0:00:00.116768310 16357 0xaaaacf275290 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "pipeline"
Setting pipeline to PAUSED ...
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.144.25:8554/video1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.408253707 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
0:00:00.408829551 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
Progress: (request) SETUP stream 0
0:00:00.417537679 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "rtpbin" named "manager"
0:00:00.418297140 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpsession"
0:00:00.418913945 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpssrcdemux"
0:00:00.419072698 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpstorage"
0:00:00.420095809 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
0:00:00.423214104 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesrc"
0:00:00.423428634 16357 0xaaaacf4041e0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
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
0:00:00.650700825 16357 0xffff70018c00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpjitterbuffer"
0:00:00.650876378 16357 0xffff70018c00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpptdemux"
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
I am not very familiar with gstreamer so may be the flags are wrong.
I tried to run suggested command and got an issue with nvvideoconvert. On forum I found that it can be related with deepstream not installed or damaged.
I completely reinstalled the system to Jetpack 6.2 with deepstream 7.1. Suggested command does not generate an image. The output is:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://192.168.144.25:8554/video1
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
Redistribute latency...
Progress: (request) Sending PLAY request
Redistribute latency...
Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
Hi,
It looks to be an issue in the RTSP source. You may try to launch RTSP server throughtest-launch. See if this works. The reference steps are in Jetson AGX Orin FAQ
I created local rtsp stream using test-launch. I can receive it with FFPLAY and gstreamer so driver is not a problem. Camera RTSP stream works on OrangePi 5, RaspberryPi 5, Ubuntu 22.04 and Windows 10 PCs so RTSP source definitely not a problem. I tried to use a USB-RJ45 adapter instead of JAO original Ethernet port and stream worked with no problem. So the problem is the JAO RJ45 port. Is it a software or hardware issue? Or my device is defective?
There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks ~0702
Is this still an issue to support? Any result can be shared?