Getting variable FPS from NvDsSingleSrcInput and NvDsStreamMux

Greetings,

I have the following triton pipeline in Graph Composer and for testing I am using multiple videos with different FPS (10, 30, 60, 100, 300 FPS) however, no matter how many FPS my source has, the output from the Mux and the Pipeline is 60 FPS.

I trided setting the frame-duration in the NvDsStreamMux properties to 10000 (for 10FPS), but the output from the Mux is still at 60FPS. Setting this parameter to zero (as mentioned in the documentation) still resulted in 60FPS output. Is there a way to achieve this, or do I have to implement my own variable FPS Gstreamer plug-in?

application:
  name: deepstream-triton
---
dependencies:
- extension: NvDsTritonExt
  uuid: 68de050b-138f-4f60-af99-e74125ab929e
  version: 1.3.0
- extension: NvDsBaseExt
  uuid: 56d7e3ec-62c6-4652-bcc8-4f1c3b00df03
  version: 1.4.0
- extension: NvDsVisualizationExt
  uuid: 25903cd4-fc5c-4139-987b-47bb27e8b424
  version: 1.3.0
- extension: NvDsOutputSinkExt
  uuid: 3fc9ad87-03e7-47a8-bbfc-8501c3f7ff2f
  version: 1.3.0
- extension: NvDsSourceExt
  uuid: a632d022-3425-4848-9074-e6483ef74366
  version: 1.3.0
- extension: NvDsInferenceUtilsExt
  uuid: 27856a43-5ad4-4d8e-be36-0ec2cf9bbb58
  version: 1.3.0
- extension: NvDsMuxDemuxExt
  uuid: 89b8398c-5820-4051-835c-a91f2d49766b
  version: 1.3.0
---
components:
- name: triton
  parameters:
    batch-size: 1
    config-file-path: /workspace/deepstream_pipeline/config_peoplenet.txt
    video-in: video_input
    video-out: video_output
  type: nvidia::deepstream::NvDsTriton
- name: video_input
  type: nvidia::deepstream::NvDsStaticInput
- name: video_output
  type: nvidia::deepstream::NvDsStaticOutput
name: triton
ui_property:
  position:
    x: 397.283203125
    y: 4.383137226104736
  state: 0
---
components:
- name: onscreen_display
  parameters:
    video-in: video_input
    video-out: video_output
  type: nvidia::deepstream::NvDsOSD
- name: video_input
  type: nvidia::deepstream::NvDsStaticInput
- name: video_output
  type: nvidia::deepstream::NvDsStaticOutput
name: onscreen_display
ui_property:
  position:
    x: 882.8119506835938
    y: 0.8094463348388672
  state: 0
---
components:
- name: video_renderer
  parameters:
    sync: false
    video-in: video_input
  type: nvidia::deepstream::NvDsVideoRenderer
- name: video_input
  type: nvidia::deepstream::NvDsStaticInput
name: video_renderer
ui_property:
  position:
    x: 1117.2362060546875
    y: 19.724403381347656
  state: 0
---
components:
- name: nv_ds_connection351..8550
  parameters:
    source: onscreen_display/video_output
    target: video_renderer/video_input
  type: nvidia::deepstream::NvDsConnection
name: node..f358
---
components:
- name: tiler
  parameters:
    gpu-id: 0
    height: 480
    video-in: video_input
    video-out: video_output
    width: 640
  type: nvidia::deepstream::NvDsTiler
- name: video_input
  type: nvidia::deepstream::NvDsStaticInput
- name: video_output
  type: nvidia::deepstream::NvDsStaticOutput
name: tiler
ui_property:
  position:
    x: 658.4949951171875
    y: 11.472434997558594
  state: 0
---
components:
- name: nv_ds_connection355..6f28
  parameters:
    source: triton/video_output
    target: tiler/video_input
  type: nvidia::deepstream::NvDsConnection
name: node..7390
---
components:
- name: nv_ds_connection356..6c88
  parameters:
    source: tiler/video_output
    target: onscreen_display/video_input
  type: nvidia::deepstream::NvDsConnection
name: node..fcf8
---
components:
- name: scheduler
  type: nvidia::deepstream::NvDsScheduler
name: scheduler
ui_property:
  position:
    x: -227.67636108398438
    y: 345.4671325683594
  state: 0
---
components:
- name: Single Source Input19
  parameters:
    audio-out-%u: Dynamic Data Output21
    uri: file:///workspace/video_300.avi
    video-out-%u: Dynamic Data Output20
  type: nvidia::deepstream::NvDsSingleSrcInput
- name: Dynamic Data Output20
  type: nvidia::deepstream::NvDsDynamicOutput
- name: Dynamic Data Output21
  type: nvidia::deepstream::NvDsDynamicOutput
name: Single Source Input
ui_property:
  position:
    x: -236.85076904296875
    y: -35.502723693847656
---
components:
- name: FPS Measurement7
  parameters:
    probe-connector: Probe Connector8
  type: nvidia::deepstream::NvDsFpsMeasurement
- name: Probe Connector8
  type: nvidia::deepstream::NvDsProbeConnector
name: FPS Measurement
ui_property:
  position:
    x: 401.14532470703125
    y: 204.3289794921875
---
components:
- name: Stream Muxer26
  parameters:
    batch-size: 1
    frame-duration: 10000
    height: 480
    video-in-%u: On Request Data Input27
    video-out: Static Data Output28
    width: 640
  type: nvidia::deepstream::NvDsStreamMux
- name: On Request Data Input27
  type: nvidia::deepstream::NvDsOnRequestInput
- name: Static Data Output28
  type: nvidia::deepstream::NvDsStaticOutput
name: Stream Muxer
ui_property:
  position:
    x: 91.24654388427734
    y: 19.91436004638672
---
components:
- name: Deepstream Data Connection29
  parameters:
    source: Stream Muxer/Static Data Output28
    target: triton/video_input
  type: nvidia::deepstream::NvDsConnection
name: node10
---
components:
- name: Deepstream Data Connection30
  parameters:
    source: Single Source Input/Dynamic Data Output20
    target: Stream Muxer/On Request Data Input27
  type: nvidia::deepstream::NvDsConnection
name: node11
---
components:
- name: Probe Monitor34
  parameters:
    io: Stream Muxer/Static Data Output28
    probe-connector: FPS Measurement/Probe Connector8
  type: nvidia::deepstream::NvDsProbe
name: node12

There is no such property or parameter. NvDsMuxDemuxExt — DeepStream 6.3 Release documentation

What do you want to achieve? To change the FPS of the streams or the FPS of the batched stream?

There is no such property or parameter. NvDsMuxDemuxExt — DeepStream 6.3 Release documentation

I can find it in Graph Composer under Optional properties.

What do you want to achieve? To change the FPS of the streams or the FPS of the batched stream?

I want to change the FPS of the input to my network, so I assume the batched stream would make more sense in this case.

Please check the parameter here: Gst-nvstreammux — DeepStream 6.3 Release documentation

I sadly couldn’t find anything helpful there. However, I switched to the Gst-nvstreammux New which provides a max and min fps control that seemed to work for me.

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