fpsdisplaysink

fpsdisplaysink — Shows the current frame-rate and drop-rate of the videosink as overlay or text on stdout

Synopsis

                    GstFPSDisplaySink;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBin
                     +----GstFPSDisplaySink

Implemented Interfaces

GstFPSDisplaySink implements GstChildProxy.

Properties

  "sync"                     gboolean              : Read / Write
  "text-overlay"             gboolean              : Read / Write
  "video-sink"               GstElement*           : Read / Write

Description

Can display the current and average framerate as a testoverlay or on stdout.

Example launch lines

1
2
3
gst-launch videotestsrc ! fpsdisplaysink
gst-launch videotestsrc ! fpsdisplaysink text-overlay=false
gst-launch filesrc location=video.avi ! decodebin2 name=d ! queue ! fpsdisplaysink d. ! queue ! fakesink sync=true

Details

GstFPSDisplaySink

typedef struct _GstFPSDisplaySink GstFPSDisplaySink;

Property Details

The "sync" property

  "sync"                     gboolean              : Read / Write

Sync on the clock (if the internally used sink doesn't have this property it will be ignored.

Default value: TRUE


The "text-overlay" property

  "text-overlay"             gboolean              : Read / Write

Whether to use text-overlay.

Default value: TRUE


The "video-sink" property

  "video-sink"               GstElement*           : Read / Write

Video sink to use (Must only be called on NULL state).