Deepstream Sample Apps Test 3

We were trying to run Deepstream Sample app Test 3. We succeed to run it and show out on a tiled display using multiple sources. But we want to save the outputs to separate video file sink instead of tiler for each separate input video. We removed the tiler but we do not know what to do next. We could not find any suitable example for this kind of situations.

Hardware Specs:

  1. GPU (1070 Max Q)
  2. Jetson Nano
  3. Jetson Xavier NX

Software Specs:

  1. Deepstream 5.0
  2. Jetpack 4.5 [Jetson Only]

nvstreamdemux is to separate the streams out of the batch. Please refer to Gst-nvstreamdemux — DeepStream 5.1 Release documentation

And there is also sample code inside deepstream-app sample source code. /opt/nvidia/deepstream/deepstream/sources/apps/apps-common/

We tried to find the sample code as per your previous reply but we could not find any references to nvstreamdemux. We only found one line containing nvstreamdemux. Can you give us the line number and source code file name?

The sink group in config file is specifies the properties and modifies the behavior of the sink components for rendering, encoding, and file saving.

Please refer to create_pipeline() function in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-app/deepstream_app.c

Please read the whole code before you go to the details.

And in Gst-nvstreamdemux — DeepStream 5.1 Release documentation (nvidia.com), there is already sample pipelines in the document, you can modify the code according to the sample pipeline.

Please make sure you are familiar with gstreamer knowledge and coding skills before you start with deepstream source code.