We are testing Person Zone tracking pipeline with Deep stream on jetson AGX Xavier with jetpack 5.1, CUDA 11.4 which is mounted on Aver media carrier board AG411.
Installed deep stream 6.2.0 on jetson AGX Xavier with 28GB memory size and 62GB RAM.
Verified the Deep Stream installation by running the default sample applications 1 and 2, but it’s not work, and I received the following error: One element could not be created. Exiting.
Please add some log in the samples you have already run to find out which element caused problem.
You can modify the source code like below.
source code
if (!source || !h264parser || !decoder || !pgie
|| !nvvidconv || !nvosd || !sink) {
g_printerr ("One element could not be created. Exiting.\n");
return -1;
}
Modified code:
if (!source) {
g_printerr ("Source could not be created. Exiting.\n");
return -1;
}
if (!h264parser) {
g_printerr ("H264parser could not be created. Exiting.\n");
return -1;
}
...
if (!pipeline || !streammux){ g_printerr (“One element could not be created . Exiting.\n”); return -1; }
Its giving the same error : One element could not be created .
I checked for the blacklisted plugins, it showing below 14 blacklisted files:
Blacklisted files:
libcustom2d_preprocess.so
libnvdsgst_tracker.so
libnvdsgst_ofvisual.so
libnvdsgst_inferserver.so
libnvdsgst_dsexample.so
libnvdsgst_multistream.so
libnvdsgst_udp.so
libnvdsgst_dewarper.so
libgstnvvideoconvert.so
libnvdsgst_preprocess.so
libnvdsgst_infer.so
libnvdsgst_multistreamtiler.so
libnvdsgst_deepstream_bins.so
libnvdsgst_segvisual.so
Total count: 14 blacklisted files
Tried this command : sudo rm -rf ~/.cache/gstreamer-1.0/ to delete the blacklisted files, but its not deleting.
I have tried to reinstall the deep stream but still facing same issue.
Could you check if there is /usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so in your env? If there is, you can run the command below to check if there are any missing libraries.