Gst_mini_object_unref: assertion 'mini_object != NULL' failed

• Hardware Platform (Jetson / GPU) Jetson Xavier
• DeepStream Version DS 6.0
• JetPack Version (valid for Jetson only) 4.6 (L4T 32.6.1)
• TensorRT Version 8.0.1
• Gstreamer Version 1.16.3
**• Issue Type question

Hello everyone!
I am trying to run the following pipeline

gst-launch-1.0 rtspsrc location=,,, latency=200 ! rtph264depay ! h264parse ! nvv4l2decoder ! m.sink_0 nvstreammux name=m width=1280 height=720 batch-size=1 ! nvinfer config-file-path="/...." ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA" ! nvmultistreamtiler width=1920 height=1080 ! nvvideoconvert ! autovideosink

and i am getting this error

 gst_mini_object_unref: assertion 'mini_object != NULL' failed

that is not letting the pipeline playing (1 frame comes thought and then nothing).

There is also a restart functionality that does is clearing all the states of the elements, unlink them and then it sets them to None. After it starts the pipeline again. This restart mechanism is triggered when the pipeline has no frames for 10 seconds.

The fun part is that the same pipeline works just fine on another rtsp stream with h264 encode.
I also saw this topic
topic

which suggests to upgrade to version 6.1 of deepstream but this cant happen with my setup. Can u please elaborate on the error why it happens and how can i solve it? Also why isn’t it reproducible at all streams?

The problem caused by the videorate filter element. when i removed it the stream came thought. Any ideas?

Does the following command line work normally ?

gst-launch-1.0 -e rtspsrc location=rtsp://xxx ! application/x-rtp, media=video, encoding-name=H264  ! queue ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! 'video/x-raw(memory:NVMM),format=NV12' ! mux.sink_0 nvstreammux name=mux batch-size=1 width=1280 height=720 ! nvinfer config-file-path=/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1/dstest1_pgie_config.yml ! nvvideoconvert ! "video/x-raw(memory:NVMM), format=RGBA" ! nvdsosd ! nvvideoconvert ! nv3dsink

If the same pipeline works on another rtsp camera, I guess the problem is related to the rtsp camera.

Is there anything special about this camera? Does it output h265 stream?

1 Like