In RTSP src, decoder doesn't work well

• Hardware Platform (Jetson / GPU)
Jetson AGX Xavier
• DeepStream Version
4.0.2
• JetPack Version (valid for Jetson only)
4.3
• TensorRT Version
6.0.1.10

Hi.

I have two IP cameras from different company. (A, B)
And I tried RTSP src with these cameras.

  1. RTSP src with only A camera
    works with ‘nvv4l2decoder’ plugin
    display crash with ‘decodebin’ plugin

  2. RTSP src with only B camera
    doesn’t work with ‘nvv4l2decoder’ plugin
    works with ‘decodebin’ plugin

  3. RTSP srcs with both A camera and B camera
    A camera with ‘nvv4l2decoder’ and B camera with ‘decodebin’
    doesn’t work

Q.

  1. Can I get the code of ‘nvv4l2decoder’? Why some cameras only work with ‘nvv4l2decoder’ and others only work with ‘decodebin’? What is the difference?

  2. In 3 case, it doesn’t work with using both ‘nvv4l2decoder’ and ‘decodebin’. Can’t I use both plugins at the same time?

Thanks.

decodebin is a bin (a grouping of elements) that picks the best decoder automatically (usually nvv4l2decoder), so in some case it might be the same. What are the camera models you’re using and what’s the pipeline, if you’re using your own?

Hi,
Please check if you can run

$ gst-lauch-1.0 uridecodebin uri=_RTSP_ADDRESS_ ! nvoverlaysink

You can check the elements picked by setting
$ export GST_DEBUG=*FACTORY*:4

Partial code of nvv4l2decoder is open source. Please check gst-v4l2 package in
https://developer.nvidia.com/embedded/dlc/r32-3-1_Release_v1.0/Sources/T186/public_sources.tbz2