Hello everyone.
Is it possible to show the number of FPS on the OpenGL window when streaming on rtp?
The command I run on the host PC is the following:
gst-launch-1.0 -v udpsrc port=5005 caps = “application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96” ! rtph264depay ! decodebin ! videoconvert ! autovideosink
Thanks!
Hi,
You can run with fpsdisplaysink like:
... ! videoconvert ! fpsdisplaysink text-overlay=0 video-sink=autovideosink -v
Thanks for the reply.
I have already tried to use the command with “fpsdisplaysink” but I get the following error:
WARNING: erroneous pipeline: no element “fpsdisplaysink”
How I can solve?
Thanks.
DaneLLL
October 28, 2021, 11:30am
5
Hi,
It is in plugins-bad package.
fpsdisplaysink: GStreamer Bad Plugins 1.0 Plugins Reference Manual
By default it is installed. A bit strange it disappears. You may try to re-install it through apt install .
I managed to install the missing plugin, but now the error is this:
WARNING: erroneous pipeline: could not link autovideosink0 to fpsdisplaysink0
By removing autovideosink
and adding fpsdisplaysink
I can see the following information in the window: rendered, dropped, current and average.
Unfortunately I still can’t see any information on the current fps.
Hi,
/GstPipeline:pipeline0/GstFPSDisplaySink:fpsdisplaysink0: last-message = rendere
d: 127, dropped: 0, current: 30.00, average: 30.45
Do you see this print? it shows current fps and average fps.
What fps does the current
and average
information refer to?
From what I understand there are 3 types of fps: input, output and network.
Thanks.
DaneLLL
November 2, 2021, 8:27am
11
Hi,
current
shows fps of current 500ms. average
shows fps from beginning.
system
Closed
November 24, 2021, 5:38am
13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.