DS-7 In ARM , The saved images are all black

uname -r :4.19.0-arm64-server

docker : nvcr.io/nvidia/deepstream 7.0-triton-arm-sbsa 28df060f687c 5 months ago 26.7GB

    def _save_frame(self, pad, info, u_data):

        buffer = info.get_buffer()
        if not buffer:
            print("Unable to get GstBuffer ")
            return

        # Retrieve batch metadata from the gst_buffer
        # Note that pyds.gst_buffer_get_nvds_batch_meta() expects the
        # C address of gst_buffer as input, which is obtained with hash(gst_buffer)
        batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(buffer))
        l_frame = batch_meta.frame_meta_list
        while l_frame is not None:
            try:
                # Note that l_frame.data needs a cast to pyds.NvDsFrameMeta
                # The casting is done by pyds.NvDsFrameMeta.cast()
                # The casting also keeps ownership of the underlying memory
                # in the C code, so the Python garbage collector will leave
                # it alone.
                frame_meta = pyds.NvDsFrameMeta.cast(l_frame.data)
            except StopIteration:
                break

            frame_number = frame_meta.frame_num
            source_id = frame_meta.source_id

            data_type, shape, strides, dataptr, size = pyds.get_nvds_buf_surface_gpu(hash(buffer), frame_meta.batch_id)
            c_data_ptr = ctypes.pythonapi.PyCapsule_GetPointer(dataptr, None)
            owner = None
            unownedmem = cp.cuda.UnownedMemory(c_data_ptr, size, owner)
            # Create MemoryPointer object from unownedmem, at index 0
            memptr = cp.cuda.MemoryPointer(unownedmem, 0)
            # Create cupy array to access the image data. This array is in GPU buffer
            n_frame_gpu = cp.ndarray(shape=shape, dtype=data_type, memptr=memptr, strides=strides, order='C')

            img_numpy = cp.asnumpy(n_frame_gpu)
            img = cv2.resize(img_numpy,(self.resize_width, self.resize_height),interpolation=cv2.INTER_LINEAR)
            cv2.imwrite("{}.jpg".format(frame_number), img)


            try:
                l_frame = l_frame.next
            except StopIteration:
                break

        return Gst.PadProbeReturn.OK

Why are all the images saved in this way black?
The MP4 video is normal and does not appear to have any errors.
Can you give me some tips? Thank you

Could you attach your whole pipeline by referring to our Generate GStreamer Pipeline Graph? Currently we only support RGB/RGBA color Format for the get_nvds_buf_surface_gpu API.


If I try:/opt/Nvidia/devstream/devstream-7.0/sources/deepstream_python-apps/apps/devstream_test1:

Creating Pipeline 
 
Creating Source 
 
Creating H264Parser 

Creating Decoder 

Is it Integrated GPU? : 0
Creating nv3dsink 

Playing file /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264 
Adding elements to Pipeline 

Linking elements in the Pipeline 

Starting pipeline 

WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
0:00:07.627917352 42122 0xaaadac238ed0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2095> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x544x960       
1   OUTPUT kFLOAT output_bbox/BiasAdd 16x34x60        
2   OUTPUT kFLOAT output_cov/Sigmoid 4x34x60         

0:00:07.800438635 42122 0xaaadac238ed0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2198> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
0:00:07.855059871 42122 0xaaadac238ed0 INFO                 nvinfer gstnvinfer_impl.cpp:343:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:dstest1_pgie_config.txt sucessfully
Frame Number=0 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=2 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=3 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=4 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=5 Number of Objects=0 Vehicle_count=0 Person_count=0

Add the function to save the image as above. The image is also completely black, and it appears that the inference did not recognize any vehicles

You mean it’s normal when you run the test1 directly. But after adding your function to save the image in the osd_sink_pad_buffer_probe, the image is completely black, and it appears that the inference did not recognize any vehicles. Is that right?

No, even if I didn’t make any changes to test1, it still didn’t recognize any vehicles.

The result just like:

Frame Number=1410 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1411 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1412 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1413 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1414 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1415 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1416 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1417 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1418 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1419 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1420 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1421 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1422 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1423 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1424 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1425 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1426 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1427 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1428 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1429 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1430 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1431 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1432 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1433 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1434 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1435 Number of Objects=0 Vehicle_count=0 Person_count=0
Frame Number=1436 Number of Objects=0 Vehicle_count=0 Person_count=0

I have tried on my side, and the object was detected normally. Could you attach the specific model of the machine you are using?

Could it be an environmental issue? I tried using the example

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# make
cc -c -o deepstream_test3_app.o -I../../../includes -I /usr/local/cuda-12.4/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include deepstream_test3_app.c
deepstream_test3_app.c:19:10: fatal error: cuda_runtime_api.h: No such file or directory
   19 | #include <cuda_runtime_api.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:49: deepstream_test3_app.o] Error 1

When I reinstalled the drivPreformatted texter and restarted the machine, the result was as follows:

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Now playing: file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264,
No protocol specified
Running...
ERROR from element nvvideo-renderer: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Error details: ../libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:dstest3-pipeline/GstNv3dSink:nvvideo-renderer:
Failed to start
Returned, stopping playback
Deleting pipeline

I have made the following modifications to deepstream_test3’app. c

  if (PERF_MODE) {
    sink = gst_element_factory_make ("fakesink", "nvvideo-renderer");
  } else {
    /* Finally render the osd output */
    if(prop.integrated) {
      sink = gst_element_factory_make ("fakesink", "fakesink");
    } else {
#ifdef __aarch64__
      sink = gst_element_factory_make ("nv3dsink", "nvvideo-renderer");
#else
      sink = gst_element_factory_make ("fakesink", "fakesink");
#endif
    }
  }

Could you attach the specific model of the machine you are using?

/GstPipeline:dstest3-pipeline/GstNv3dSink:nvvideo-renderer

This is a problem with the display module. Is your device connected to a monitor?

root@runone-PC:~# lscpu
Architecture:        aarch64
CPU op-mode(s):      64-bit
Byte Order:          Little Endian
CPU(s):              64
On-line CPU(s) list: 0-63
Thread(s) per core:  1
Core(s) per socket:  32
Socket(s):           2
NUMA node(s):        2
Vendor ID:           0x48
Model:               0
Model name:          HUAWEI Kunpeng 920 5220
Stepping:            0x1
BogoMIPS:            200.00
L1d cache:           4 MiB
L1i cache:           4 MiB
L2 cache:            32 MiB
L3 cache:            64 MiB
NUMA node0 CPU(s):   0-31
NUMA node1 CPU(s):   32-63
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm
root@runone-PC:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Uos
Description:	UnionTech OS Server 20
Release:	20
Codename:	fou
root@runone-PC:~# uname -r
4.19.0-arm64-server
root@runone-PC:~# 

I did not use a monitor

If you don’t have a monitor, please change the sink plugin to fakesink.

#ifdef __aarch64__
      sink = gst_element_factory_make ("fakesink", "nvvideo-renderer");
#else

Thank you, it seems that the pipeline is running now, but the result is still very strange as it did not recognize any objects:

/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
Now playing: file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264,
0:00:07.591578351   728 0xaaac630802e0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2095> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x544x960       
1   OUTPUT kFLOAT output_bbox/BiasAdd 16x34x60        
2   OUTPUT kFLOAT output_cov/Sigmoid 4x34x60         

0:00:07.805144237   728 0xaaac630802e0 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2198> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-7.0/samples/models/Primary_Detector/resnet18_trafficcamnet.etlt_b1_gpu0_int8.engine
0:00:07.856198794   728 0xaaac630802e0 INFO                 nvinfer gstnvinfer_impl.cpp:343:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
Decodebin child added: source

(deepstream-test3-app:728): GLib-GObject-CRITICAL **: 08:31:05.742: g_object_set_is_valid_property: object class 'GstFileSrc' has no property named 'drop-on-latency'
Decodebin child added: decodebin0
Running...

Decodebin child added: h264parse0
Decodebin child added: capsfilter0
Decodebin child added: nvv4l2decoder0
Frame Number = 0 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 1 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 2 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 3 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 4 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 5 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 6 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 7 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 8 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 9 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 10 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 11 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 12 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 13 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 14 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 15 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 16 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 17 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 18 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 19 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 20 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 21 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 22 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 23 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 24 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 25 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 26 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 27 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 28 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 29 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 30 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 31 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 32 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 33 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 34 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 35 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 36 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 37 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 38 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 39 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 40 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 41 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 42 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 43 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 44 Number of objects = 0 Vehicle Count = 0 Person Count = 0
Frame Number = 45 Number of objects = 0 Vehicle Count = 0 Person Count = 0

If I were to create a new container:

docker run -it --rm --runtime=nvidia --network=host -e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video,graphics --gpus all --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/X11:/etc/X11 nvcr.io/nvidia/deepstream:7.0-triton-arm-sbsa

i have made the following modifications to deepstream_test3’app. c

  if (PERF_MODE) {
    sink = gst_element_factory_make ("fakesink", "nvvideo-renderer");
  } else {
    /* Finally render the osd output */
    if(prop.integrated) {
      sink = gst_element_factory_make ("fakesink", "fakesink");
    } else {
#ifdef __aarch64__
      sink = gst_element_factory_make ("fakesink", "nvvideo-renderer");
#else
      sink = gst_element_factory_make ("fakesink", "fakesink");
#endif
    }
  }

Then:

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:18.078: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
EGL failed to initialize!  Exiting...
/bin/dash: 1: lsmod: not found
/bin/dash: 1: modprobe: not found

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.380: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.441: adding type GstEvent multiple times

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.470: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.470: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.474: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:197): GStreamer-WARNING **: 09:33:27.488: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
One element could not be created. Exiting.

Then :
apt-get install kmod

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# export GST_DEBUG=3
root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.057955470   275 0xaaab01f7f630 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!
One element could not be created. Exiting.
root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# export GST_DEBUG=4
root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.000055791   278 0xaaad82048830 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000085941   278 0xaaad82048830 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000101811   278 0xaaad82048830 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000291693   278 0xaaad82048830 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000616706   278 0xaaad82048830 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000766917   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000829077   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000838688   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000872288   278 0xaaad82048830 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.007815779   278 0xaaad82048830 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.006921 seconds
0:00:00.007847330   278 0xaaad82048830 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.009446184   278 0xaaad82048830 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.009459294   278 0xaaad82048830 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.009466824   278 0xaaad82048830 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.76.6
0:00:00.009473914   278 0xaaad82048830 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.009479004   278 0xaaad82048830 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
0:00:00.009511704   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"
0:00:00.011985806   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so" loaded
0:00:00.012128857   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvstreammux"
0:00:00.012163258   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstNvStreamMux@0xaaad8221d5f0> adding pad 'src'
0:00:00.012201968   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "bin"
0:00:00.012866964   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
0:00:00.012940505   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "uridecodebin"
0:00:00.012999805   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<source-bin-00> adding pad 'src'
0:00:00.013022035   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink_0' in element "stream-muxer"
0:00:00.013044465   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<stream-muxer> adding pad 'sink_0'
0:00:00.013054266   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad source-bin-00:src
0:00:00.013067846   278 0xaaad82048830 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link source-bin-00:src and stream-muxer:sink_0
0:00:00.013082816   278 0xaaad82048830 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.013098076   278 0xaaad82048830 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<stream-muxer:src> pad has no peer
0:00:00.013121096   278 0xaaad82048830 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked source-bin-00:src and stream-muxer:sink_0, successful
0:00:00.013127646   278 0xaaad82048830 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:00.013133526   278 0xaaad82048830 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<source-bin-00:src> Received event on flushing pad. Discarding
0:00:00.057007954   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so" loaded
0:00:00.057200976   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvinfer"
0:00:00.057231556   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad82757450> adding pad 'sink'
0:00:00.057248026   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad82757450> adding pad 'src'
0:00:00.057825091   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.057894852   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.057929572   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad8276e360> adding pad 'sink'
0:00:00.057945542   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad8276e360> adding pad 'src'
0:00:00.057973082   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.057991133   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82770b90> adding pad 'sink'
0:00:00.058006163   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82770b90> adding pad 'src'
0:00:00.058016613   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.058032563   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82773460> adding pad 'sink'
0:00:00.058047443   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82773460> adding pad 'src'
0:00:00.058066563   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.058080503   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82775e40> adding pad 'sink'
0:00:00.058096704   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82775e40> adding pad 'src'
0:00:00.058107244   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.058122594   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82778820> adding pad 'sink'
0:00:00.058136414   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad82778820> adding pad 'src'
0:00:00.058372206   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_logger.so" loaded
0:00:00.058440777   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdslogger"
0:00:00.058457207   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad8277cd70> adding pad 'sink'
0:00:00.058469237   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad8277cd70> adding pad 'src'
0:00:00.058934221   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so" loaded
0:00:00.059010322   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvmultistreamtiler"
0:00:00.059027532   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad82781ae0> adding pad 'sink'
0:00:00.059039592   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad82781ae0> adding pad 'src'
0:00:00.059052232   278 0xaaad82048830 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!
0:00:00.063617502   278 0xaaad82048830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so" loaded
0:00:00.063717023   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdsosd"
0:00:00.063736823   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad8279d900> adding pad 'sink'
0:00:00.063749584   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad8279d900> adding pad 'src'
0:00:00.063942515   278 0xaaad82048830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "fakesink"
0:00:00.063959105   278 0xaaad82048830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSink@0xaaad8285d1e0> adding pad 'sink'
One element could not be created. Exiting.

ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so

/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so
	linux-vdso.so.1 (0x0000fffed3890000)
	libgstbase-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so.0 (0x0000fffed36f0000)
	libgstreamer-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so.0 (0x0000fffed3580000)
	libglib-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 (0x0000fffed3420000)
	libgobject-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 (0x0000fffed33a0000)
	libgstvideo-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so.0 (0x0000fffed32b0000)
	libnvdsbufferpool.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvdsbufferpool.so.1.0.0 (0x0000fffed3290000)
	libnvbufsurftransform.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurftransform.so.1.0.0 (0x0000fffed0780000)
	libnvbufsurface.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbufsurface.so.1.0.0 (0x0000fffed06b0000)
	libnvdsgst_meta.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvdsgst_meta.so (0x0000fffed0690000)
	libnvdsgst_helper.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvdsgst_helper.so (0x0000fffed0670000)
	libc.so.6 => /usr/lib/aarch64-linux-gnu/libc.so.6 (0x0000fffed04c0000)
	/lib/ld-linux-aarch64.so.1 (0x0000fffed38a0000)
	libgmodule-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 (0x0000fffed04a0000)
	libm.so.6 => /usr/lib/aarch64-linux-gnu/libm.so.6 (0x0000fffed0400000)
	libunwind.so.8 => /usr/lib/aarch64-linux-gnu/libunwind.so.8 (0x0000fffed03c0000)
	libdw.so.1 => /usr/lib/aarch64-linux-gnu/libdw.so.1 (0x0000fffed0300000)
	libpcre2-8.so.0 => /usr/lib/aarch64-linux-gnu/libpcre2-8.so.0 (0x0000fffed0260000)
	libffi.so.8 => /usr/lib/aarch64-linux-gnu/libffi.so.8 (0x0000fffed0240000)
	liborc-0.4.so.0 => /usr/lib/aarch64-linux-gnu/liborc-0.4.so.0 (0x0000fffed01a0000)
	libcuda.so.1 => /usr/lib/aarch64-linux-gnu/libcuda.so.1 (0x0000fffece560000)
	libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000fffece330000)
	libnvrm_mem.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_mem.so (0x0000fffece310000)
	libnvrm_surface.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_surface.so (0x0000fffece2f0000)
	libnvrm_chip.so => /usr/lib/aarch64-linux-gnu/tegra/libnvrm_chip.so (0x0000fffece2d0000)
	libEGL.so.1 => /usr/lib/aarch64-linux-gnu/libEGL.so.1 (0x0000fffece2a0000)
	libnvos.so => /usr/lib/aarch64-linux-gnu/tegra/libnvos.so (0x0000fffece280000)
	libnvbuf_fdmap.so.1.0.0 => /usr/lib/aarch64-linux-gnu/tegra/libnvbuf_fdmap.so.1.0.0 (0x0000fffece260000)
	libnvds_meta.so => /opt/nvidia/deepstream/deepstream-7.0/lib/libnvds_meta.so (0x0000fffece240000)
	libgstrtp-1.0.so.0 => /usr/lib/aarch64-linux-gnu/libgstrtp-1.0.so.0 (0x0000fffece200000)
	liblzma.so.5 => /usr/lib/aarch64-linux-gnu/liblzma.so.5 (0x0000fffece1c0000)
	libelf.so.1 => /usr/lib/aarch64-linux-gnu/libelf.so.1 (0x0000fffece190000)
	libz.so.1 => /usr/lib/aarch64-linux-gnu/libz.so.1 (0x0000fffece160000)
	libbz2.so.1.0 => /usr/lib/aarch64-linux-gnu/libbz2.so.1.0 (0x0000fffece130000)
	libdl.so.2 => /usr/lib/aarch64-linux-gnu/libdl.so.2 (0x0000fffece110000)
	librt.so.1 => /usr/lib/aarch64-linux-gnu/librt.so.1 (0x0000fffece0f0000)
	libpthread.so.0 => /usr/lib/aarch64-linux-gnu/libpthread.so.0 (0x0000fffece0d0000)
	libgcc_s.so.1 => /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000fffece0a0000)
	libGLdispatch.so.0 => /usr/lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000fffecdf10000)

Could you add some logs to confirm which plugin can not be created like below?

  tiler = gst_element_factory_make ("nvmultistreamtiler", "nvtiler");
+ if(!tiler) 
+    g_printerr ("Tiler could not be created.\n");

is this one?

0:00:00.059052232   278 0xaaad82048830 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!

Added the following printing:

  if (!pgie) {
    g_printerr ("pgie is NULL.\n");
  } else if (!nvdslogger) {
    g_printerr ("nvdslogger is NULL.\n");
  } else if (!tiler) {
    g_printerr ("tiler is NULL.\n");
  } else if (!nvvidconv) {
    g_printerr ("nvvidconv is NULL.\n");
  } else if (!nvosd) {
    g_printerr ("nvosd is NULL.\n");
  } else if (!sink) {
    g_printerr ("sink is NULL.\n");
  } else {
  }


The result is as follows:

nvvidconv is NULL

The complete print is as follows:

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.000053230   365 0xaaad01168780 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000081180   365 0xaaad01168780 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000091930   365 0xaaad01168780 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000275579   365 0xaaad01168780 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000592239   365 0xaaad01168780 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000744289   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000806609   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000816289   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000848409   365 0xaaad01168780 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.007798208   365 0xaaad01168780 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.006926 seconds
0:00:00.007831418   365 0xaaad01168780 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.009415088   365 0xaaad01168780 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.009429568   365 0xaaad01168780 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.009436888   365 0xaaad01168780 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.76.6
0:00:00.009444088   365 0xaaad01168780 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.009449378   365 0xaaad01168780 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
0:00:00.009482408   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"
0:00:00.012025367   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so" loaded
0:00:00.012175477   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvstreammux"
0:00:00.012212217   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstNvStreamMux@0xaaad0133d5e0> adding pad 'src'
0:00:00.012251577   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "bin"
0:00:00.012931787   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
0:00:00.013004997   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "uridecodebin"
0:00:00.013064817   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<source-bin-00> adding pad 'src'
0:00:00.013087347   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink_0' in element "stream-muxer"
0:00:00.013110747   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<stream-muxer> adding pad 'sink_0'
0:00:00.013120577   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad source-bin-00:src
0:00:00.013135017   365 0xaaad01168780 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link source-bin-00:src and stream-muxer:sink_0
0:00:00.013149077   365 0xaaad01168780 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.013164237   365 0xaaad01168780 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<stream-muxer:src> pad has no peer
0:00:00.013189097   365 0xaaad01168780 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked source-bin-00:src and stream-muxer:sink_0, successful
0:00:00.013196097   365 0xaaad01168780 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:00.013202907   365 0xaaad01168780 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<source-bin-00:src> Received event on flushing pad. Discarding
0:00:00.057982548   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so" loaded
0:00:00.058172418   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvinfer"
0:00:00.058204018   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad01877440> adding pad 'sink'
0:00:00.058219878   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad01877440> adding pad 'src'
0:00:00.058809978   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.058884398   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.058906528   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad0188e350> adding pad 'sink'
0:00:00.058923758   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad0188e350> adding pad 'src'
0:00:00.058951928   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.058968608   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01890b80> adding pad 'sink'
0:00:00.058983688   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01890b80> adding pad 'src'
0:00:00.059099108   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059115148   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01893450> adding pad 'sink'
0:00:00.059129768   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01893450> adding pad 'src'
0:00:00.059139538   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059152918   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01895e30> adding pad 'sink'
0:00:00.059167328   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01895e30> adding pad 'src'
0:00:00.059177298   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059191618   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01898810> adding pad 'sink'
0:00:00.059207118   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad01898810> adding pad 'src'
0:00:00.059430858   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_logger.so" loaded
0:00:00.059498068   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdslogger"
0:00:00.059514098   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad0189cd60> adding pad 'sink'
0:00:00.059527528   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad0189cd60> adding pad 'src'
0:00:00.059976978   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so" loaded
0:00:00.060053728   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvmultistreamtiler"
0:00:00.060071398   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad018a1ad0> adding pad 'sink'
0:00:00.060085298   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad018a1ad0> adding pad 'src'
0:00:00.060097728   365 0xaaad01168780 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!
0:00:00.064689077   365 0xaaad01168780 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so" loaded
0:00:00.064788947   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdsosd"
0:00:00.064809227   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad018bd8f0> adding pad 'sink'
0:00:00.064822577   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad018bd8f0> adding pad 'src'
0:00:00.065021897   365 0xaaad01168780 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "fakesink"
0:00:00.065037757   365 0xaaad01168780 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSink@0xaaad0197d1d0> adding pad 'sink'
nvvidconv is NULL.
One element could not be created. Exiting.

But it’s werid that there are no exceptions when you run the ldd command.
Could you run the gst-inspect-1.0 nvvideoconvert?

You can also try to run the unset DISPLAY first, then run your DeepStream command.

run :

gst-inspect-1.0 nvvideoconvert

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# gst-inspect-1.0 nvvideoconvert
0:00:00.000051322   370 0xaaad607afc10 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000084433   370 0xaaad607afc10 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000095053   370 0xaaad607afc10 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000275798   370 0xaaad607afc10 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000593057   370 0xaaad607afc10 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000734091   370 0xaaad607afc10 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000810873   370 0xaaad607afc10 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000820883   370 0xaaad607afc10 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000853184   370 0xaaad607afc10 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.007355526   370 0xaaad607afc10 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.006475 seconds
0:00:00.007388547   370 0xaaad607afc10 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.008698404   370 0xaaad607afc10 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.008713994   370 0xaaad607afc10 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.008721994   370 0xaaad607afc10 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.76.6
0:00:00.008729724   370 0xaaad607afc10 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.008734785   370 0xaaad607afc10 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
No such element or plugin 'nvvideoconvert'

run :
unset DISPLAY AND ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

root@runone-PC:/opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test3# ./deepstream-test3-app file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264
0:00:00.000063872   373 0xaaad1e998830 INFO                GST_INIT gst.c:592:init_pre: Initializing GStreamer Core Library version 1.20.3
0:00:00.000094763   373 0xaaad1e998830 INFO                GST_INIT gst.c:593:init_pre: Using library installed in /usr/lib/aarch64-linux-gnu
0:00:00.000108013   373 0xaaad1e998830 INFO                GST_INIT gst.c:611:init_pre: Linux runone-PC 4.19.0-arm64-server #5015 SMP Wed Feb 16 17:15:10 CST 2022 aarch64
0:00:00.000299358   373 0xaaad1e998830 INFO                GST_INIT gstmessage.c:129:_priv_gst_message_initialize: init messages
0:00:00.000660007   373 0xaaad1e998830 INFO                GST_INIT gstcontext.c:86:_priv_gst_context_initialize: init contexts
0:00:00.000810901   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:324:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000873633   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:232:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000883443   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:234:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000916204   373 0xaaad1e998830 INFO            GST_REGISTRY gstregistry.c:1827:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.007866082   373 0xaaad1e998830 INFO            GST_REGISTRY gstregistrybinary.c:683:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.006927 seconds
0:00:00.007899613   373 0xaaad1e998830 INFO            GST_REGISTRY gstregistry.c:1693:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.009491144   373 0xaaad1e998830 INFO            GST_REGISTRY gstregistry.c:1785:scan_and_update_registry: Registry cache has not changed
0:00:00.009505225   373 0xaaad1e998830 INFO            GST_REGISTRY gstregistry.c:1862:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.009513225   373 0xaaad1e998830 INFO                GST_INIT gst.c:833:init_post: GLib runtime version: 2.76.6
0:00:00.009520495   373 0xaaad1e998830 INFO                GST_INIT gst.c:835:init_post: GLib headers version: 2.72.1
0:00:00.009526175   373 0xaaad1e998830 INFO                GST_INIT gst.c:837:init_post: initialized GStreamer successfully
0:00:00.009561286   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "pipeline"
0:00:00.011912396   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so" loaded
0:00:00.012053780   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvstreammux"
0:00:00.012089351   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstNvStreamMux@0xaaad1eb6d5f0> adding pad 'src'
0:00:00.012126792   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "bin"
0:00:00.012799709   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
0:00:00.012874021   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "uridecodebin"
0:00:00.012935313   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<source-bin-00> adding pad 'src'
0:00:00.012957493   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink_0' in element "stream-muxer"
0:00:00.012981294   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<stream-muxer> adding pad 'sink_0'
0:00:00.012991964   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:1016:gst_element_get_static_pad: found pad source-bin-00:src
0:00:00.013005965   373 0xaaad1e998830 INFO                GST_PADS gstpad.c:2382:gst_pad_link_prepare: trying to link source-bin-00:src and stream-muxer:sink_0
0:00:00.013020915   373 0xaaad1e998830 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<src:proxypad0> pad has no peer
0:00:00.013036805   373 0xaaad1e998830 INFO                GST_PADS gstpad.c:4357:gst_pad_peer_query:<stream-muxer:src> pad has no peer
0:00:00.013060816   373 0xaaad1e998830 INFO                GST_PADS gstpad.c:2590:gst_pad_link_full: linked source-bin-00:src and stream-muxer:sink_0, successful
0:00:00.013068456   373 0xaaad1e998830 INFO               GST_EVENT gstevent.c:1660:gst_event_new_reconfigure: creating reconfigure event
0:00:00.013075236   373 0xaaad1e998830 INFO               GST_EVENT gstpad.c:5946:gst_pad_send_event_unchecked:<source-bin-00:src> Received event on flushing pad. Discarding
0:00:00.058360321   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so" loaded
0:00:00.058557096   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvinfer"
0:00:00.058588727   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0a7450> adding pad 'sink'
0:00:00.058604557   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0a7450> adding pad 'src'
0:00:00.059181562   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.059253724   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059275665   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0be360> adding pad 'sink'
0:00:00.059292275   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0be360> adding pad 'src'
0:00:00.059319606   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059336256   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c0b90> adding pad 'sink'
0:00:00.059350886   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c0b90> adding pad 'src'
0:00:00.059362897   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059378827   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c3460> adding pad 'sink'
0:00:00.059393698   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c3460> adding pad 'src'
0:00:00.059402728   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059416718   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c5e40> adding pad 'sink'
0:00:00.059430329   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c5e40> adding pad 'src'
0:00:00.059439959   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "queue"
0:00:00.059454389   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c8820> adding pad 'sink'
0:00:00.059468019   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstQueue@0xaaad1f0c8820> adding pad 'src'
0:00:00.059680475   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_logger.so" loaded
0:00:00.059745087   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdslogger"
0:00:00.059759597   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0ccd70> adding pad 'sink'
0:00:00.059772127   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0ccd70> adding pad 'src'
0:00:00.060215409   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so" loaded
0:00:00.060291421   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvmultistreamtiler"
0:00:00.060309021   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0d1ae0> adding pad 'sink'
0:00:00.060322131   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0d1ae0> adding pad 'src'
0:00:00.060335072   373 0xaaad1e998830 WARN     GST_ELEMENT_FACTORY gstelementfactory.c:754:gst_element_factory_make_valist: no such element factory "nvvideoconvert"!
0:00:00.064877299   373 0xaaad1e998830 INFO      GST_PLUGIN_LOADING gstplugin.c:987:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so" loaded
0:00:00.064976421   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "nvdsosd"
0:00:00.064996072   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0ed900> adding pad 'sink'
0:00:00.065009692   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseTransform@0xaaad1f0ed900> adding pad 'src'
0:00:00.065205787   373 0xaaad1e998830 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:489:gst_element_factory_create_with_properties: creating element "fakesink"
0:00:00.065221787   373 0xaaad1e998830 INFO        GST_ELEMENT_PADS gstelement.c:759:gst_element_add_pad:<GstBaseSink@0xaaad1f1ad1e0> adding pad 'sink'
nvvidconv is NULL.
One element could not be created. Exiting.