In RTSP src, decoder doesn't work well

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


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


  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?


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?

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