How can monitoring(console print) uri fps(origin rtsp) in config file of source

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.0
• NVIDIA GPU Driver Version (valid for GPU only) 460.32.03
• Issue Type( questions, new requirements, bugs)
• 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)

how can see the fps of the original uri rtsp video like the fps of the console log at the start of the deep stream?

current log

**PERF: FPS 0 (Avg)
**PERF: 15.75 (15.61)
**PERF: 15.06 (15.21)
**PERF: 14.93 (15.12)
**PERF: 15.08 (15.09)
**PERF: 14.97 (15.07)
**PERF: 15.05 (15.06)


**PERF: FPS 0 (Avg)
**PERF: 15.75 (15.61)

origin : 15
|**PERF: 15.06 (15.21)||
origin : 15
|**PERF: 14.93 (15.12)||
origin : 15
|**PERF: 15.08 (15.09)||
origin : 15
|**PERF: 14.97 (15.07)||
origin : 15
|**PERF: 15.05 (15.06)||
origin : 15

The FPS we print out is calculated by the application but not in the stream.

There is no way to print original stream FPS in client side.

thank you for your answer^^!!






modify the source in the files and build it. Then, is it possible in the terminal log(original fps)??

If you know how to get timestamp in GstBuffer, you can calculate the FPS with source element.

Thank you for your answer ^o^!

스크린샷, 2021-04-15 15-51-50

if so…
For example, can I use GstBuffer * buf in this deepstream_app_main.c ??
Or is there another example??

thank you!

No. This callback is after nvstreammux. It is not a proper place to get the original source buffer. You may try to add probe function in create_multi_source_bin() in some proper place(e.g. right in sub_bins[i] src pad)