Finding source frame in python deepstream

I have a project based on the multistream demo that gets rtsp input
I need to access the source frame rate (for each source)
how can I do that?
I don’t want to import a different tool just for this as the link can only be used once ( a different tool would need an extra connection)
• Hardware Platform: GPU
• DeepStream Version 5.0
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type: question

Do you mean the rtsp stream fps in the stream header? Are you using deepstream sample app? If yes, which one? If not, what is your pipeline?

Yes, I want to acquire the RTSP stream’s fps

I’m using a pipeline with 1 detector and 1 tracker
rtsp input and output
this is the pipeline linking for reference

print("Linking elements in the Pipeline \n")
streammux.link(queue1)
queue1.link(pgie)
pgie.link(tracker)
tracker.link(queue2)
queue2.link(tiler)
tiler.link(queue3)
queue3.link(nvvidconv)
nvvidconv.link(queue4)
queue4.link(nvosd)
nvosd.link(nvvidconv_postosd)
nvvidconv_postosd.link(queue5)
queue5.link(caps)
caps.link(encoder)
encoder.link(rtppay)
rtppay.link(sink)

There is no interface to get RTSP stream FPS information in the stream header with the application.

ok , thanks then
could I make a request for that to be added later ?
if so how do I add that request and how do I get notified if it gets added later

It is gstreamer open source. Not deepstream plugin.

1 Like