How can I run a video using the deepstream sample app at the same framerate as the input video?

I am interested in measuring power usage, how can I run at the input rate instead of the max processing rate? Currently it processes a 10 FPS video at about 18 FPS

Here is my config:

[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5

[source0]
enable=1
type=3  # 3 for video, 4 for rtsp
uri=file://video.mp4
# uri=rtsp://192.168.1.8:8554//vis.0
num-sources=1
gpu-id=0
cudadec-memtype=0

[sink0]
enable=1
type=1
sync=0
gpu-id=0
nvbuf-memory-type=0

[streammux]
gpu-id=0
live-source=0
batch-size=1
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0
frame-duration=100

[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary.txt

[secondary-gie0]
enable=1
gpu-id=0
gie-unique-id=2
operate-on-gie-id=1
nvbuf-memory-type=0
config-file=config_infer_secondary.txt

[tests]
file-loop=0

• Hardware Platform (Jetson / GPU)
Jetson
• DeepStream Version
6.2
• JetPack Version (valid for Jetson only)
5.1.1
• TensorRT Version
8.5.2
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Question
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

please set sync=1 in [sink0]. it means playing synchronously.

Thank you, that did the trick

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