Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multi-stream source test adapter #372

Closed
bwsw opened this issue Aug 24, 2023 · 1 comment · Fixed by #388
Closed

Implement multi-stream source test adapter #372

bwsw opened this issue Aug 24, 2023 · 1 comment · Fixed by #388
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bwsw
Copy link
Contributor

bwsw commented Aug 24, 2023

The adapter must create multiple video streams and send them with different source ids like source-%d. We can specify the parallelism and number of frames. The adapter is used for performance tests. At the end of the operation, it sends a shutdown if configured (#371).

@bwsw bwsw added this to the 0.3.0 milestone Aug 24, 2023
@bwsw bwsw added the enhancement New feature or request label Aug 24, 2023
@bwsw bwsw modified the milestones: 0.3.0, 0.2.5 Aug 28, 2023
@bwsw bwsw moved this to Todo in Savant: 0.2.5 Aug 28, 2023
@tomskikh tomskikh self-assigned this Aug 28, 2023
@tomskikh tomskikh moved this from Todo to In Progress in Savant: 0.2.5 Aug 29, 2023
tomskikh added a commit that referenced this issue Aug 29, 2023
tomskikh added a commit that referenced this issue Aug 30, 2023
@tomskikh tomskikh linked a pull request Aug 30, 2023 that will close this issue
tomskikh added a commit that referenced this issue Aug 30, 2023
tomskikh added a commit that referenced this issue Aug 30, 2023
@bwsw bwsw moved this from In Progress to Review in Savant: 0.2.5 Aug 30, 2023
@denisvmedyantsev
Copy link
Contributor

denisvmedyantsev commented Aug 31, 2023

yolov8_seg demo, rtx3070

  • run_perf (uridecodebin, bs=1): Processed 1550 frames, 31.69 FPS.
  • run_perf (uridecodebin, bs=4): Processed 1550 frames, 31.92 FPS.
  • run_perf_multistream (num_streams=1, bs=1): Processed 1550 frames, 29.72 FPS.
  • run_perf_multistream (num_streams=1, bs=4): Processed 1550 frames, 31.36 FPS.
  • run_perf_multistream (num_streams=2, bs=4): Processed 3100 frames, 51.50 FPS.
  • run_perf_multistream (num_streams=4, bs=4): Processed 6200 frames, 86.20 FPS.

tomskikh added a commit that referenced this issue Sep 1, 2023
tomskikh added a commit that referenced this issue Sep 1, 2023
* #372 don't pass source-id to zeromq_sink element

* #372 allow to send frames in multiple sources at once

* #372 allow to send shutdown message at the end

* #372 implement multi-stream source

* #372 add SOURCE_ID_PATTERN param for multi-stream source adapter

* #372 add docs for multi-stream source adapter

* #372 add multi-stream benchmark for opencv_cuda_bg_remover_mog2

* #372 measure performance

* #372 fix savant_rs_serializer
@github-project-automation github-project-automation bot moved this from Review to Done in Savant: 0.2.5 Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants