Deepstream multi stream handling

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) : Intel(R) Xeon(R) CPU @ 2.00GHz , Debian GNU/Linux 10 (buster) (GNU/Linux 4.19.0-21-cloud-amd64 x86_64\n)
• DeepStream Version : 6.1 (deepstream-6.1-triton)
• JetPack Version (valid for Jetson only) : NA
• TensorRT Version : 8.2.5
• NVIDIA GPU Driver Version (valid for GPU only) : 510.47.03
• Issue Type( questions, new requirements, bugs)

I cloned this repo “GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications” inside deepstream-6.1-triton docker image. In this I used deepstream-imagedata-multistream this app.
Command - python3 file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 frames

Output -
Frames will be saved in frames
Creating Pipeline

Creating streamux

Creating source_bin 0

Creating source bin
Creating Pgie

Creating nvvidconv1

Creating filter1

Creating tiler

Creating nvvidconv

Creating nvosd

Creating EGLSink

Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4
Starting pipeline

**PERF: {‘stream0’: 0.0}

**PERF: {‘stream0’: 0.0}

**PERF: {‘stream0’: 0.0}

**PERF: {‘stream0’: 0.0}

After running this command a frames folder is created with subdirectory stream0 but that directory is empty. It is unable to save any frame to the stream0 directory. I want to save all the frames in the stream folder.

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

  1. git clone
  2. docker run --gpus all -it --rm --net=host --privileged -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.1
  3. please refer to deepstream_python_apps/bindings at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub and steps below if you use DS6,0GA docker -

1. Prerequisites

apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev cmake g++ build-essential
libglib2.0-dev libglib2.0-dev-bin python-gi-dev libtool m4 autoconf automake

2. Gst-python

cd /opt/nvidia/deepstream/deepstream/sources/apps/
git clone GitHub - NVIDIA-AI-IOT/deepstream_python_apps: DeepStream SDK Python bindings and sample applications
cd deepstream_python_apps/
git submodule update --init
apt-get install --reinstall ca-certificates
cd 3rdparty/gst-python/
make && make install

3. install pyds

cd deepstream_python_apps/bindings/
mkdir build
cd build
cmake …
pip3 install ./pyds-1.1.0-py3-none-linux_x86_64.whl
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

  1. cd /opt/nvidia/deepstream/deepstream-6.1/deepstream_python_apps/apps/deepstream-imagedata-multistream
  2. python3 file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 frames

Did you use original sample?

yes i used the original sample @Amycao

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.

Please change egl sink to fakesink and try again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.