Failed to create element 'src_bin_muxer'

I encountered the following error when running the sample app.

deepstream-app -c source30_720p_dec_infer-resnet_tiled_display_int8.txt 

** ERROR: <create_multi_source_bin:347>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:402>: create_multi_source_bin failed
** ERROR: <create_pipeline:949>: create_pipeline failed
** ERROR: <main:469>: Failed to create pipeline
Quitting

(deepstream-app:24365): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(deepstream-app:24365): GStreamer-CRITICAL **: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed

Someone also encountered the same error here.

https://devtalk.nvidia.com/default/topic/1036680/deepstream-for-tesla/nvidia-deepstream-sdk-2-0-for-tesla-now-available/

Any pointer is appreciated.

It turns out the error is misleading. After running

rm ${HOME}/.cache/gstreamer-1.0/registry.x86_64.bin

to clean the cache, the framework is reset and display more informative errors, e.g. missing of the maching tensorRT version 4.

Also, in the documentation pg. 7, it should be

rm ${HOME}/.cache/gstreamer-1.0/registry.x86_64.bin

not

rm $(HOME)/.cache/gstreamer-1.0/registry.x86_64.bin

please export nvidia related plugin by export GST_PLUGIN_PATH=/path to your ds pack/usr/lib/x86_64-linux-gnu/gstreamer-1.0/
export local library LD_LIBRARY_PATH=/path to your ds pack/usr/local/deepstream:/other lib need to export like cv;tensorrt;/
and then try again.

I encountered same error as below, any hints?

root@c5c0fb0d10b2:/ml/deepstream/DeepStream_Release/samples/configs/deepstream-app# deepstream-app -c source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvtracker.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvmultistream.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvdsexample.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvosd.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvinfer.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvidconv.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvtracker.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvmultistream.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvdsexample.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvosd.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so': libcudart.so.9.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:2544): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvinfer.so': libcudart.so.9.2: cannot open shared object file: No such file or directory
** ERROR: <create_multi_source_bin:347>: Failed to create element 'src_bin_muxer'
** ERROR: <create_multi_source_bin:402>: create_multi_source_bin failed
** ERROR: <create_pipeline:949>: create_pipeline failed
** ERROR: <main:469>: Failed to create pipeline
Quitting

(deepstream-app:2543): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(deepstream-app:2543): GStreamer-CRITICAL **: gst_pad_send_event: assertion 'GST_IS_PAD (pad)' failed
App run failed

please export nvidia related plugin by export GST_PLUGIN_PATH=/path to your ds pack/usr/lib/x86_64-linux-gnu/gstreamer-1.0/,if you
install them into system path,you can ignore this.
export local library LD_LIBRARY_PATH=/path to your ds pack/usr/local/deepstream:/other lib need to export like cv;tensorrt;/
and then try again.

Thank you, after upgraded CUDA 9.0 to CUDA 9.2, the issue was solved.
How can I modify the file source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt to disable video output as the server has no VGA port for display.
Below error occurred when I run the demo again:

** ERROR: <main:490>: Failed to set pipeline to PAUSED
Quitting
App run failed

Type - 1=FakeSink 2=EglSink 3=File from config
this is the sink type, you can use type 1 or type 3.

@amycao, thanks a lot, it works!

Hi,

What does “path to your ds pack” mean? I can find the package directly at /usr/lib/x86_64-linux-gnu/gstreamer-1.0/

These are the path that I exported:

export CUDA_HOME="/usr/local/cuda-9.2"
export LD_LIBRARY_PATH="/usr/local/cuda-9.2/lib64":$LD_LIBRARY_PATH
export PATH="/usr/local/cuda-9.2/bin":PATH export LD_LIBRARY_PATH="/usr/local/lib/:/usr/local/deepstream:{HOME}/opencv-3.4.0/build/lib/":$LD_LIBRARY_PATH
export GST_PLUGIN_PATH="/usr/lib/x86_64-linux-gnu/gstreamer-1.0/"

But I still get src_bin_muxer error

After I add at my ~/.bashrc

export CUDA_HOME="/usr/local/cuda-10.0"
export PATH="/home/suryadi/.local/bin:/usr/local/cuda-10.0/bin:/media/suryadi/DATA/anaconda3/bin:$PATH"
export LD_PATH_LIBRARY="/usr/local/cuda-10.0/lib64:/usr/local/lib:/opt/nvidia/deepstream/deepstream-4.0/lib"
export LD_LIBRARY_PATH="/usr/local/lib:/usr/local/cuda-10.0/lib64/"
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/cuda-10.0/lib64"
export LD_RUN_PATH="/usr/local/lib"
export GST_PLUGIN_PATH="/usr/lib/x86_64-linux-gnu/gstreamer-1.0/"
$ deepstream-app -c deepstream_app_config_yoloV3_tiny.txt ../../../deepstream-4.0/samples/streams/sample_720p.h264 
0:00:00.012240788  6341 0x55945dc8a600 ERROR        NVDS_CFG_PARSER deepstream_app_config_parser.c:152:parse_config_file: Failed to load uri file: No such file or directory
** ERROR: <parse_config_file:304>: parse_config_file failed
** ERROR: <main:623>: Failed to parse config file 'deepstream_app_config_yoloV3_tiny.txt'
Quitting
App run failed

How to solve this problem? Thanks.

I have the same problem with #10. Any help?

Hi,
Please check the README file.

deepstream_sdk_v4.0.1_jetson\sources\objectDetector_Yolo\README

You probably miss the steps:

deepstream_sdk_v4.0.1_jetson/sources/objectDetector_Yolo$ ./prebuild.sh
deepstream_sdk_v4.0.1_jetson/sources/objectDetector_Yolo$ CUDA_VER=10.0 make -C nvdsinfer_custom_impl_Yolo

It should work by simply run

deepstream_sdk_v4.0.1_jetson/sources/objectDetector_Yolo$ deepstream-app -c deepstream_app_config_yoloV3_tiny.txt