Please provide complete information as applicable to your setup.
**• Hardware Platform Jetson Orin AGX 32GB * *
• DeepStream-6.4
• JetPack Version 6.0+b106 ( linux 36.3)
• TensorRT Version
• NVIDIA GPU Driver Version 8.6.2.3-1+cuda12.2
• quetsion
Hello NVIDIA DeepStream Team,
I am experiencing an issue with DeepStream-6.4 on a Jetson Orin AGX 32GB running JetPack 6.0+b106. I would like to seek assistance regarding the problem described below.
Environment Details
- Device: Jetson Orin AGX 32GB
- JetPack Version: 6.0+b106
- DeepStream Version: 6.4
- Operating System: Ubuntu-based (JetPack)
- Input Source: RTSP Streams
Issue Description
1. Successful Test:
- Running
deepstream-test1
executes without any issues.
2. Failing Tests:
- When executing
deepstream-test3
ordeepstream-test5
with RTSP as the input source, the following error occurs:
Stream format not found, dropping the frame
However, the same RTSP streams work perfectly fine when accessed using VLC or ffplay.
3. GStreamer Pipeline Tests:
Using nvurisrcbin
:
gst-launch-1.0 -v \
nvurisrcbin uri=rtsp://myrtspip:8555/falldown ! \
nvv4l2decoder ! \
nvvidconv ! \
nveglglessink
This results in the error:
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstTee:tee_rtsp_pre_decode.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstH264Parse:parser.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin.GstGhostPad:sink.GstProxyPad:proxypad8: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstTypeFindElement:typefind.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstH264Parse:h264parse0: config-interval = -1
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstTypeFindElement:typefind.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin.GstGhostPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01640028ffe1001b67640028acb200f0044fcb8088000003000800000301e078c1924001000668ebc3cb22c0, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRtpH264Depay:depay.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)640028, sprop-parameter-sets=(string)"Z2QAKKyyAPAET8uAiAAAAwAIAAADAeB4wZJA\,aOvDyyLA", ssrc=(uint)2522459870, clock-base=(uint)593052021, seqnum-base=(uint)7727, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src.GstGhostPad:recv_rtp_src_0_2522459870_96.GstProxyPad:proxypad7: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)640028, sprop-parameter-sets=(string)"Z2QAKKyyAPAET8uAiAAAAwAIAAADAeB4wZJA\,aOvDyyLA", ssrc=(uint)2522459870, clock-base=(uint)593052021, seqnum-base=(uint)7727, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_2522459870_96.GstProxyPad:proxypad6: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)640028, sprop-parameter-sets=(string)"Z2QAKKyyAPAET8uAiAAAAwAIAAADAeB4wZJA\,aOvDyyLA", ssrc=(uint)2522459870, clock-base=(uint)593052021, seqnum-base=(uint)7727, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1, onvif-mode=(boolean)false
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/nvv4l2decoder:nvv4l2decoder0: enable-max-performance = true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/nvv4l2decoder:nvv4l2decoder0: drop-frame-interval = 0
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/nvv4l2decoder:nvv4l2decoder0: num-extra-surfaces = 1
Opening in BLOCKING MODE
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/nvv4l2decoder:nvv4l2decoder0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPipeline:pipeline0/GstDsNvUriSrcBin:dsnvurisrcbin0/GstDecodeBin:decodebin/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4, profile=(string)high, pixel-aspect-ratio=(fraction)1/1, width=(int)1920, height=(int)1080, framerate=(fraction)30/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Stream format not found, dropping the frame
Using rtspsrc
: This works without any issues.
gst-launch-1.0 -v \
rtspsrc location=rtsp://myrtspip:8555/falldown ! \
decodebin ! \
nveglglessink
Known Issue Reference
I came across a known issue stating: Jetson_Linux_Release_Notes_r36.3.pdf
Based on this, I suspect that nvurisrcbin
might not be functioning correctly on Jetson platforms, leading to the pipeline getting stuck and dropping frames when using RTSP streams with nvv4l2decoder
.
Questions and Requests
nvurisrcbin
Functionality on Jetson:
- Is it expected behavior that
nvurisrcbin
causes the pipeline to get stuck and drop frames on Jetson Orin AGX when using RTSP streams withnvv4l2decoder
? - Are there any known workarounds or fixes for this issue?
- Compatibility and Patches:
- Are there any patches or updates in newer versions of DeepStream or JetPack that address this issue?
- If so, could you provide guidance on how to apply these updates?
- Alternative Approaches:
- Given that
rtspsrc
works without issues, is there a recommended approach to handle RTSP streams on Jetson Orin AGX with DeepStream to avoid usingnvurisrcbin
?