Deepstream application using NvBufferComposite

Hello,

What is the deepstream sample app shown in the video below?

Thank you.

Hi,
Be default we demonstrate multi file sources. Please try

/opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app$ deepstream-app -c source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt

You may refer to document to change source to RTSP sources. Please refer to
DeepStream Reference Application - deepstream-app — DeepStream 6.1.1 Release documentation

A config file for reference:
Getting segmentation fault when running gst-dsexample on multiple source - #7 by DaneLLL

1 Like

Hello,

Are you using NvBufferComposite to combine the images in this sample?

Thank you.

Hi,
In DeepStream SDK, it is named
NVIDIA DeepStream SDK API Reference: _NvBufSurfTransformCompositeParams Struct Reference

We would like to unify the APIs between desktop GPUs and jetson platforms, so define new APIs. The implementation is similar to NvBufferComposite () and use same hardware converter.

1 Like

Hello,

When I run the sample you provided, I get the following result:
Can you give an example of even displaying?

I am looking for a sample that works like the image below.

Thank you.

Hi,
It should output same as the video. Do you check TV output?

1 Like

Hello,

I didn’t understand the question of checking the TV output.
Are you setting the TV output in the setting file?
Running the sample like this will output only text.

I ran it on jetson tx2.

Thank you.

Hi,
It has display output. Not only text. If you connect to a TV through HDMI, you will see the same output as the video.

1 Like

Hello,

Thank you very much.

In this sample, I am loading h.264 as a file.

  1. Can I change the video source to rtsp stream?
  2. If I receive multiple rtsp, can I set the frame rate of the video received with each rtsp differently?
  3. Where can I find the code for the NvBufSurfTransformCompositeParams Struct used in this sample?

Thank you.

You can modify source type to 2 or 4. Please refer to source group in document.
Type=4 should work for most IP cameras/RTSP streams.

No, this case is not supported. Please set identical framerate to all sources.

It is done in nvmultistreamtiler which is not open source. Currently we only have the interface public in header file and there is no demo code for reference. Can you use nvmultistreamtiler? Or you need further handling in your use-cae and have to use the function?

1 Like