Video FPS and **PERF

Hi,
Ip camera is 20FPS, and **PERF is 20FPS.
But mp4 is 30FPS,but **PERF is 45FPS? How this happened?

How to set the configuration file parameters to make the performance FPS(**PERF) equal to the video file FPS?

Hi

This may cause into the sink group’s sync parameter as 0

https://docs.nvidia.com/metropolis/deepstream/5.0DP/dev-guide/DeepStream_Development_Guide/deepstream_app_config.3.2.html#wwpID0ENHA

Regards

Thank you!
But when I set [source0] num-sources=8.
only the first FPS is 30,the others are 40~50? Shouldn’t FPS be all 30?
Log output like this:
**PERF: 30.17(31.02) 42.12(41.00) 42.12(41.00)…

Can you share us your sample configuration file?

Maybe I forgot some parameters.

Hi,my configfile is source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_tx1.txt

like this,

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI 4=RTSP
type=3
uri=file://…/…/streams/sample_1080p_h264.mp4
num-sources=8
#drop-frame-interval=2
gpu-id=0

cudadec-memtype=0

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File
type=5
sync=1
source-id=0
gpu-id=0
qos=0
nvbuf-memory-type=0
overlay-id=1

I’m not sure, but you can try to change the “type=2” instead of 3 in source block

Hope it works