I have installed DeepStream 2.0 following the guide “NVIDIA_DeepStream_SDK_on_Tesla_V2.0_User_Guide”. However, when I was trying to run the sample app, the following error occurs:
GST_DEBUG=3 ./deepstream-test1-app …/…/…/samples/streams/sample_7
20p.h264
h264parse — OK
decoder — FAIL
One element could not be created. Exiting.
using deeper debug level, it shows the following:
0:00:00.016838240 3080 0xc33600 INFO GST_ELEMENT_FACTORY gstelementfactory.c:457:gst_element_factory_make: no such element factory “nvdec_h264”!
decoder — FAIL
Do you follow the README to install nvidia related plugin to /usr/lib/x86_64-linux-gnu/gstreamer-1.0?
or you need to export GST_PLUGIN_PATH to /path to package dir/DeepStream_Release/usr/lib/x86_64-linux-gnu/gstreamer-1.0 and export LD_LIBRARY_PATH to point to /path to package dir/DeepStream_Release/usr/local/deepstream/
I have add “export LD_LIBRARY_PATH=/root/opencv-3.4.3/build/lib/:/usr/local/deepstream:/usr/local/cuda/lib64:TensorRT-4.0.1.6/lib:TensorRT-4.0.1.6/lib:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/:/root/opencv-3.4.3”. But I run the sample code, and then faild.
Do you export nvidia related plugin by export GST_PLUGIN_PATH=/path to your ds pack/usr/lib/x86_64-linux-gnu/gstreamer-1.0? and you also need to export local library by export LD_LIBRARY_PATH=/path to your ds pack/usr/local/deepstream:/other libray like opencv library; tensorrt library/, then and try again.
Do you put nvidia related plugin to system path /usr/lib/x86_64-linux-gnu/gstreamer-1.0? if yes you do not need to export, or you need export to point to your local nvidia plugin path.
here is my nvidia plugin path: ~/work/deepstream/DeepStream_Release/usr/lib/x86_64-linux-gnu/gstreamer-1.0, for your reference.