1
votes

I had a video stream sever which is capable of capturing the video frames through camera using rtp.I had my android mobile as the client end and able to stream the output through the following pipeline:

udpsrc port=5004 ! application/x-rtp, clock-rate=90000, encoding-name=(string)H264, payload=96 ! queue ! rtph264depay ! h264parse ! decodebin ! autovideosink

However if i replace autovideosink with fpsdisplysink to check the framerate,it throws error.

Error: Unable to build pipeline:no element "fpsdisplaysink".

Is there anyother way to display the frame rate?

Here i'll be using gstreamer-1.0 version for streaming.

1
Do you have gstreamer plugins bad installed?mpr
@mpr Thanks for the reply.No i don't have this plugin installed.I came to know that fpsdisplaysink is listed under the gstdebugutilsbad plugin.So i have done cerbero build for this recipe and added the libgstdebugutilsbad.a which i got from build result.Still no improvement.Any suggestions???vgokul129
fpsdisplaysink is the only way I know to get framerate without wrapping the pipeline in an application. I'm not familiar with the Android build system for GStreamer, but if you have plugins-good installed you can't be too far off.mpr
Which version of GStreamer are you using? I added this plugin more than a year ago to the build and e.g. 1.2.0 includes it already. The relevant commit is this here: cgit.freedesktop.org/gstreamer/cerbero/commit/… You can get the latest binaries from here: gstreamer.freedesktop.org/data/pkg/android/1.4.5 Don't use anything from gstreamer.com, it's not related to the GStreamer project and the binaries they provide are based on the >2 year old 0.10 release series (which is no longer maintained)Sebastian Dröge
Thanks mpr to share some ideas on fpsdisplaysink.vgokul129

1 Answers

2
votes

fpsdisplaysink element is working fine now,as i mis-spelled the PLUGIN name in Android makefile.Instead of GSTREAMER_PLUGINS_EFFECTS we added the name as GSTREAMER_PLUGINS_EFFECT.