fpsdisplaysink doesn't work with fakesink?

Stefan Sauer ensonic at hora-obscura.de
Thu Jul 17 03:12:35 PDT 2014


On 07/16/2014 08:48 PM, Stirling Westrup wrote:
> Hi! We're currently trying to track down some sluggishness in our
> pipelines while handling 4k videos. We wanted to instrument a bunch of
> standard elements like videoscale and videoconvert to see how their
> performance varied as frame sizes increased.
>
> We had planned to use fpsdisplaysink with fakesink, but the
> combination doesn't work.
>
> If we try something like this:
>
> gst-launch-1.0 -v videotestsrc pattern=1 !
> "video/x-raw,format=YV12,width=1440,height=900" ! fpsdisplaysink
> video-sink=fakesink text-overlay=false
>
> Then we never get any output on stdout past "New clock: GstSystemClock"
>
> Is there some way to fix this, or are there better ways to measure the
> raw throughput of various elements under various conditions?
I'd use fakesink sync=false and measure the time the pipeline runs. You
know how many frames your input has and you can take a base measurement
prior adding videoscale and videoconvert.

Stefan

>
> -- 
> Stirling Westrup
> Programmer, Entrepreneur.
> https://www.linkedin.com/e/fpf/77228
> http://www.linkedin.com/in/swestrup
> http://technaut.livejournal.com
> http://sourceforge.net/users/stirlingwestrup
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140717/6f96bc6e/attachment.html>


More information about the gstreamer-devel mailing list