DeepStream 2.0 error in running gstreamer,Can anyone solve this problem? thanks

hi,I installed deepstream 2.0, all in accordance with the official configuration settings.but i have Mistakes in running

test@lb-ubnt:~/qin/DeepStream_Release$ deepstream-app -c samples/configs/deepstream-app/source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:11727): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:11727): Clutter-Gst-CRITICAL **: Unable to initialize Clutter
** ERROR: main:490: Failed to set pipeline to PAUSED
Quitting
App run failed

I try to locate the problem.i run gstreamer examples and i have the same mistaken,but I don’t know how to solve it.
test@lb-ubnt:~/qin/gst-docs/examples/tutorials$ gcc basic-tutorial-2.c -o basic-tutorial-2 pkg-config --cflags --libs gstreamer-1.0
test@lb-ubnt:~/qin/gst-docs/examples/tutorials$ ./basic-tutorial-2
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:11577): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:11577): Clutter-Gst-CRITICAL **: Unable to initialize Clutter

Can anyone solve this problem?

Hi, can you paste your configuration here? and please rm ~/.cache/gstreamer-1.0/ -rf then run the app
again to get more error info

hi i input rm ${HOME}/.cache/gstreamer-1.0/registry.x86_64.bin and see below
root@c5a751dfe3db:/home/DeepStream_Release/samples/configs/deepstream-app# deepstream-app -c source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:21327): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:21327): Clutter-Gst-CRITICAL **: Unable to initialize Clutter

(gst-plugin-scanner:21327): GStreamer-WARNING **: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so’: libnvcuvid.so.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:21327): GStreamer-WARNING **: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so’: libGLESv2.so.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:21327): GStreamer-WARNING **: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so’: libnvcuvid.so.1: cannot open shared object file: No such file or directory

(gst-plugin-scanner:21327): GStreamer-WARNING **: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnveglglessink.so’: libGLESv2.so.2: cannot open shared object file: No such file or directory
** ERROR: <create_render_bin:51>: Failed to create ‘sink_sub_bin_sink1’
** ERROR: <create_render_bin:124>: create_render_bin failed
** ERROR: <create_sink_bin:346>: create_sink_bin failed
** ERROR: <create_processing_instance:685>: create_processing_instance failed
** ERROR: <create_pipeline:949>: create_pipeline failed
** ERROR: main:469: Failed to create pipeline
Quitting
App run failed

In order to solve this problem i send
ln -s /usr/lib/nvidia-396/libnvcuvid.so.1 /usr/lib/libnvcuvid.so.1
ln -s /usr/lib/nvidia-396/libGLESv2.so.2 /usr/lib/libGLESv2.so.2
after that i input rm ${HOME}/.cache/gstreamer-1.0/registry.x86_64.bin too and see below

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:21387): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:21387): Clutter-Gst-CRITICAL **: Unable to initialize Clutter
** ERROR: main:490: Failed to set pipeline to PAUSED
Quitting
App run failed

in Add environment variables I don’t know which is right so
#CUDA
export PATH=/usr/local/cuda-9.2/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64:LD_LIBRARY_PATH export CUDA_INSTALL_DIR=/usr/local/cuda-9.2 export CUDNN_INSTALL_DIR=/usr/local/cuda-9.2 #CUDNN export CUDNN_HOME=/home/cuda export LD_LIBRARY_PATH={CUDNN_HOME}/lib64:LD_LIBRARY_PATH export CPLUS_INCLUDE_PATH={CUDNN_HOME}/include:$CPLUS_INCLUDE_PATH
#TensorRT
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/TensorRT-4.0.1.6/lib
#Gstreamer
export GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0
export C_INCLUDE_PATH=/usr/include/gstreamer-1.0:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=/usr/include/gstreamer-1.0:$CPLUS_INCLUDE_PATH
#opencv
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
#DeepStream

#All
export LD_LIBRARY_PATH=/home/opencv-3.4.0/build/lib/:/home/DeepStream_Release:/usr/local/cuda/lib64:TensorRT-4.0.1.6/lib:/home/TensorRT-4.0.1.6/lib:/usr/lib/x86_64-linux-gnu/gstreamer-1.0/:/home/opencv-3.4.0

my config of source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

Copyright © 2018 NVIDIA Corporation. All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property

and proprietary rights in and to this software, related documentation

and any modifications thereto. Any use, reproduction, disclosure or

distribution of this software and related documentation without an express

license agreement from NVIDIA Corporation is strictly prohibited.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
flow-original-resolution=1
#gie-kitti-output-dir=streamscl

[tiled-display]
enable=0
rows=2
columns=2
width=1280
height=720
gpu-id=0

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=file://home/DeepStream_Release/samples/streams/sample_720p.mp4
num-sources=4
gpu-id=0

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=1
source-id=0
gpu-id=0

[sink1]
enable=0
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4

only SW mpeg4 is supported right now.

codec=3
sync=0
bitrate=2000000
output-file=out.mp4
source-id=0

[osd]
enable=1
gpu-id=0
osd-mode=1
border-width=1
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Arial
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0

[primary-gie]
enable=1
gpu-id=0
net-scale-factor=0.0039215697906911373
model-file=…/…/models/Primary_Detector/resnet10.caffemodel
proto-file=…/…/models/Primary_Detector/resnet10.prototxt
model-cache=…/…/models/Primary_Detector/resnet10.caffemodel_b4_int8.cache
labelfile-path=…/…/models/Primary_Detector/labels.txt
int8-calib-file=…/…/models/Primary_Detector/cal_trt4.bin
net-stride=16
batch-size=4

0=FP32, 1=INT8, 2=FP16 mode

network-mode=1
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
num-classes=4
class-thresholds=0.2;0.2;0.1;0.2
class-eps=0.2;0.2;0.2;0.2
class-group-thresholds=1;1;1;1
roi-top-offset=0;0;0;0
roi-bottom-offset=0;0;0;0
detected-min-w=0;0;0;0
detected-min-h=0;0;0;0
detected-max-w=1280;1280;1280;1280
detected-max-h=720;720;720;720
interval=0
gie-unique-id=1
parse-func=4
output-bbox-name=conv2d_bbox
output-blob-names=conv2d_cov
parser-bbox-norm=35.0;35.0
#config-file=config_infer_resnet.txt

[tracker]
enable=1
tracker-width=640
tracker-height=368
gpu-id=0

[secondary-gie0]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_VehicleTypes/resnet18.caffemodel
proto-file=…/…/models/Secondary_VehicleTypes/resnet18.prototxt
model-cache=…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_VehicleTypes/mean.ppm
labelfile-path=…/…/models/Secondary_VehicleTypes/labels.txt
int8-calib-file=…/…/models/Secondary_VehicleTypes/cal_trt4.bin
gpu-id=0
batch-size=16
num-classes=6
network-mode=1
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
gie-unique-id=4
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[secondary-gie1]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_CarColor/resnet18.caffemodel
proto-file=…/…/models/Secondary_CarColor/resnet18.prototxt
model-cache=…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_CarColor/mean.ppm
labelfile-path=…/…/models/Secondary_CarColor/labels.txt
int8-calib-file=…/…/models/Secondary_VehicleTypes/cal_trt4.bin
batch-size=16
network-mode=1
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
num-classes=12
gpu-id=0
gie-unique-id=5
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[secondary-gie2]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_CarMake/resnet18.caffemodel
proto-file=…/…/models/Secondary_CarMake/resnet18.prototxt
model-cache=…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_CarMake/mean.ppm
labelfile-path=…/…/models/Secondary_CarMake/labels.txt
int8-calib-file=…/…/models/Secondary_CarMake/cal_trt4.bin
batch-size=16
network-mode=1
num-classes=24
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
gpu-id=0
gie-unique-id=6
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[tests]
file-loop=0

if you do not copy nvidia plugin into system path, you need to explicitly point to it,
for your reference,
export GST_PLUGIN_PATH=/home/tse/work/docker/workspace/work/deepstream/DeepStream_Release/usr/lib/x86_64-linux-gnu/gstreamer-1.0
for LD_LIBRARY_PATH, you need to specify library path, not install path, like /path to ds package/usr/local/deepstream

where do you run from, from remote terminal or from remote desktop? you need to run from desktop either from remote or local

Hi amycao,Thanks very much
I run from remote terminal
Ubuntu 16.04 Server have no desktop,Will there be any problem?

you are sinking to egl display, which need nvidia graphic for display, or you can choose sink to file,
#Type - 1=FakeSink 2=EglSink 3=File
choose type 3, enable sink1 and disable sink0.

Hi amycao,chenge this right?

Copyright © 2018 NVIDIA Corporation. All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property

and proprietary rights in and to this software, related documentation

and any modifications thereto. Any use, reproduction, disclosure or

distribution of this software and related documentation without an express

license agreement from NVIDIA Corporation is strictly prohibited.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
flow-original-resolution=1
#gie-kitti-output-dir=streamscl

[tiled-display]
enable=0
rows=2
columns=2
width=1280
height=720
gpu-id=0

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=file://home/test/qin/DeepStream_Release/samples/streams/sample_720p.mp4
num-sources=4
gpu-id=0

[sink0]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File
type=3
sync=1
source-id=0
gpu-id=0

[sink1]
enable=1
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4

only SW mpeg4 is supported right now.

codec=3
sync=0
bitrate=2000000
output-file=out.mp4
source-id=0

and the result
test@lb-ubnt:~/qin/DeepStream_Release/samples/configs/deepstream-app$ deepstream-app -c source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:15335): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:15335): Clutter-Gst-CRITICAL **: Unable to initialize Clutter

** (deepstream-app:15334): CRITICAL **: gst_ffmpeg_cfg_set_property: assertion ‘qdata->size == sizeof (gint64)’ failed

Using Cached GIE model /home/test/qin/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/test/qin/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/test/qin/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/test/qin/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_int8.cache crypto flags(0)
** ERROR: main:490: Failed to set pipeline to PAUSED
Quitting
App run failed

Can you rm -rf ~/.cache/gstreamer-1.0/ and run again paste the log here?

nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
Error from nvcuvidh264dec0: No valid frames decoded before end of stream
Debug info: gstvideodecoder.c(1167): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstNvcuvidH264Dec:nvcuvidh264dec0:
no valid frames found
Quitting

(deepstream-app:24892): GStreamer-CRITICAL **: gst_buffer_pool_set_active: assertion ‘GST_IS_BUFFER_POOL (pool)’ failed

(deepstream-app:24892): GStreamer-CRITICAL **: gst_object_unref: assertion ‘object != NULL’ failed
App run failed

Too many logs and contents were washed away.

my config of source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt like this

https://devtalk.nvidia.com/default/topic/1037176/?comment=5269170

Copyright © 2018 NVIDIA Corporation. All rights reserved.

NVIDIA Corporation and its licensors retain all intellectual property

and proprietary rights in and to this software, related documentation

and any modifications thereto. Any use, reproduction, disclosure or

distribution of this software and related documentation without an express

license agreement from NVIDIA Corporation is strictly prohibited.

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
flow-original-resolution=1
#gie-kitti-output-dir=streamscl

[tiled-display]
enable=1
rows=1
columns=1
width=1280
height=720
gpu-id=0

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
uri=file://…/…/streams/sample_720p.mp4
num-sources=1
gpu-id=0

[sink1]
enable=0
#Type - 1=FakeSink 2=EglSink 3=File
type=2
sync=1
source-id=0
gpu-id=0

[sink0]
enable=1
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4

only SW mpeg4 is supported right now.

codec=3
sync=1
bitrate=2000000
output-file=out.mp4
source-id=0

[osd]
enable=1
gpu-id=0
osd-mode=1
border-width=1
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Arial
show-clock=1
clock-x-offset=5
clock-y-offset=5
clock-text-size=16
clock-color=1;0;0;1

[primary-gie]
enable=1
gpu-id=0
net-scale-factor=0.0039215697906911373
model-file=…/…/models/Primary_Detector/resnet10.caffemodel
proto-file=…/…/models/Primary_Detector/resnet10.prototxt
model-cache=…/…/models/Primary_Detector/resnet10.caffemodel_b4_int8.cache
labelfile-path=…/…/models/Primary_Detector/labels.txt
int8-calib-file=…/…/models/Primary_Detector/cal_trt4.bin
net-stride=16
batch-size=4

0=FP32, 1=INT8, 2=FP16 mode

network-mode=1
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
num-classes=4
class-thresholds=0.2;0.2;0.1;0.2
class-eps=0.2;0.2;0.2;0.2
class-group-thresholds=1;1;1;1
roi-top-offset=0;0;0;0
roi-bottom-offset=0;0;0;0
detected-min-w=0;0;0;0
detected-min-h=0;0;0;0
detected-max-w=1280;1280;1280;1280
detected-max-h=720;720;720;720
interval=0
gie-unique-id=1
parse-func=4
output-bbox-name=conv2d_bbox
output-blob-names=conv2d_cov
parser-bbox-norm=35.0;35.0
#config-file=config_infer_resnet.txt

[tracker]
enable=1
tracker-width=640
tracker-height=368
gpu-id=0

[secondary-gie0]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_VehicleTypes/resnet18.caffemodel
proto-file=…/…/models/Secondary_VehicleTypes/resnet18.prototxt
model-cache=…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_VehicleTypes/mean.ppm
labelfile-path=…/…/models/Secondary_VehicleTypes/labels.txt
int8-calib-file=…/…/models/Secondary_VehicleTypes/cal_trt4.bin
gpu-id=0
batch-size=16
num-classes=6
network-mode=1
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
gie-unique-id=4
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[secondary-gie1]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_CarColor/resnet18.caffemodel
proto-file=…/…/models/Secondary_CarColor/resnet18.prototxt
model-cache=…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_CarColor/mean.ppm
labelfile-path=…/…/models/Secondary_CarColor/labels.txt
int8-calib-file=…/…/models/Secondary_VehicleTypes/cal_trt4.bin
batch-size=16
network-mode=1
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
num-classes=12
gpu-id=0
gie-unique-id=5
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[secondary-gie2]
enable=1
net-scale-factor=1
model-file=…/…/models/Secondary_CarMake/resnet18.caffemodel
proto-file=…/…/models/Secondary_CarMake/resnet18.prototxt
model-cache=…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.cache
mean-file=…/…/models/Secondary_CarMake/mean.ppm
labelfile-path=…/…/models/Secondary_CarMake/labels.txt
int8-calib-file=…/…/models/Secondary_CarMake/cal_trt4.bin
batch-size=16
network-mode=1
num-classes=24
detected-min-w=128
detected-min-h=128
detected-max-w=1280
detected-max-h=720
model-color-format=1
gpu-id=0
gie-unique-id=6
operate-on-gie-id=1
operate-on-class-ids=0;
is-classifier=1
output-blob-names=predictions/Softmax
classifier-async-mode=1
classifier-threshold=0.51

[tests]
file-loop=0

Hi amycao,All results

root@c5a751dfe3db:/home/DeepStream_Release/samples/configs/deepstream-app# deepstream-app -c source4_720p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gst-plugin-scanner:25225): Clutter-CRITICAL **: Unable to initialize Clutter: Could not initialize Gdk

(gst-plugin-scanner:25225): Clutter-Gst-CRITICAL **: Unable to initialize Clutter

** (deepstream-app:25224): CRITICAL **: gst_ffmpeg_cfg_set_property: assertion ‘qdata->size == sizeof (gint64)’ failed

Using Cached GIE model /home/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_CarMake/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_CarColor/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Secondary_VehicleTypes/resnet18.caffemodel_b16_int8.cache crypto flags(0)
Using Cached GIE model /home/DeepStream_Release/samples/configs/deepstream-app/…/…/models/Primary_Detector/resnet10.caffemodel_b4_int8.cache crypto flags(0)

Runtime commands:
h: Print this help
q: Quit

p: Pause
r: Resume

NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.

** INFO: <bus_callback:75>: Pipeline ready

nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400

nvcuvidh264dec0: Decode error result = 400
nvcuvidh264dec0: Decode error result = 400
Error from nvcuvidh264dec0: No valid frames decoded before end of stream
Debug info: gstvideodecoder.c(1167): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstNvcuvidH264Dec:nvcuvidh264dec0:
no valid frames found
Quitting

(deepstream-app:25224): GStreamer-CRITICAL **: gst_buffer_pool_set_active: assertion ‘GST_IS_BUFFER_POOL (pool)’ failed

(deepstream-app:25224): GStreamer-CRITICAL **: gst_object_unref: assertion ‘object != NULL’ failed
App run failed

Hi,
your config is right, can you paste output of
ldd usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so

Hi amycao
what is ldd usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so ?

find dynamic link library for libgstnvvideocodecs.so, run this command under your DS package path,
if you install nvidia plugin to system path /usr/lib/x86_64-linux-gnu/gstreamer-1.0/, run by using
ldd /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstnvvideocodecs.so

Hi amycao,thank a lot for solve my question
I configured two servers.one have been able to run the program successfully.Another one has problems.
I am going to run DeepStream program first.Another problems Repositioning later~