Deepstream-app take turns playing different source

Hi,
I use Deepstream 6.0 and Deepstream-app with source4-1080p_dec_infer-resnet_tracker+sgie_tiled_display_int8.txt

is there any way of taking turns playing source files?

for example,

[tiled-display]
enable=0
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=2
uri=file:///opt/nvidia/deepstream/deepstream/deepsteam-6.0/samples/streams/sample_%d.mp4
num-sources=1
[tests]
file-loop=1

then playing sample_0.mp4 → sample_1.mp4 → sample_0.mp4 (loop)
is it possible to do this?

I have tried to reading deepstream-app source code but cannot find the way to chang the file list when loop.

thanks.

You mean play video1 then video2 then video3, and so on serially?

Hi amycao,
Yes, and when video3 was playing end, loop back to playing video1.

Deepstream did not support this.
It’s input batch processing, please refer to nvstreammux plugin, for how it works. submit input to TensorRT, cuda for AI inference. in which job processed in parallel.

Hi amycao,
thanks for your reply

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