No Display Output From Sample Apps

• Hardware Platform ( GPU 2080ti)
• DeepStream Version 5.0

When I run the sample apps in sources/apps/sample_apps/ I get no display, It just says Running…

I can get display output window when I use the /samples/configs though.

How should I solve this issue?

1 Like

When I run the sample apps in sources/apps/sample_apps/ I get no display, It just says Running…

–> Can you specify how you run sample?

I can get display output window when I use the /samples/configs though.

I “make install” the sample apps, then I run the app using this command:-
deepstream-test 1-app /home/…/video.mp4

I finally fixed the issue by using uri decode plugin instead of the default source.

test1 sample only accept h264 elementaty stream, you can use test3 sample which accept any type gstreamer support.

2 Likes

Hi, i have the same problem. i tried deepstream-test3 app also. But at last it says only
Running…

GST_DEBUG=3 gives-
ed
0:00:00.942502168 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 23 Invalid, Size: 60468 will be dropped
0:00:00.942687208 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 31 Invalid, Size: 12403 will be dropped
0:00:00.942873121 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 26 Invalid, Size: 29002 will be dropped
0:00:00.943060806 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 21 Slice Depth/3D-AVC Extension, Size: 16226 will be dropped
0:00:00.943252636 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 0 Unknown, Size: 43411 will be dropped
0:00:00.943445116 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 0 Unknown, Size: 50239 will be dropped
0:00:00.943678031 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 4 Slice DPC, Size: 60460 will be dropped
0:00:00.943888852 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1237:gst_h264_parse_handle_frame: broken/invalid nal Type: 4 Slice DPC, Size: 60460 will be dropped
0:00:00.944116457 16690 0x55cf675e2b70 WARN h264parse gsth264parse.c:1197:gst_h264_parse_handle_frame: input stream is corrupt; it contains a NAL unit of length 1

is you input video .h264 format rather than say .mp4?

i tried with both .h264 and .mp4

Ok…Now i restarted the system and got the output.

But still no output from “deepstream-infer-tensor-meta-test”.
Have you tried this app before?

Did you run with builtin stream or your own stream?
Can you play the stream by below command:
gst-launch-1.0 filesrc location=/path to stream/ ! video/x-h264 ! h264parse ! avdec_h264 ! xvimagesink

Yes, Its running.

1 Like

Can you share the stream for a local try?

its .h264 file which was worked… Do you want the file?

Yeah, with the command it worked which used gstreamer plugin, but with test3 sample, it failed, right? that’s why i want to have a local try.

File is stored in samples/stream/sample_720p.h264

command -
gst-launch-1.0 filesrc location=sample_720p.h264 ! video/x-h264 ! h264parse ! avdec_h264 ! xvimagesink

And “test3 app” is working fine… i was telling “deepstream-infer-tensor-meta-test” is having no display output.
Its shows only Running…

sample_720p.h264 (14.1 MB)

ok, i thought you using your own stream, that’s why i asked for the stream, test3 sample and deepstream-infer-tensor-meta-test both use nveglglessink as output, did you have output for test3 app?

Yes. i have output for test3 app

deepstream-infer-tensor-meta-test also should work, did you make any change? you used same stream to run for both the samples, right?

Yes.

And i just tried to test it as default.

Also my core reason to raise this thread because i need to use tensor out data in my deepstream app. I am implementing custom Retinaface model. For that i need tensor out data.

As i have been most of the threads saying we need to enable “output-tensor-meta=1” in config and we will get the tensor out in “pgie_pad_buffer_prob”.

The thing is it was working with DS4 but not with DS5.

Can you suggest me the steps for that?

I recently got reply like i can use deepstream_app.c->gie_primary_processing_done_buf_prob.

But no results are there.

If you want i can elaborate my steps

Implementing compute functionality inside probe is not advisible as it is a blocking call. you can refer to sources/libs/nvdsinfer_customparser/ for infer post processing to implement your parser.