fpsdisplaysink

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

Synopsis

struct              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

Synopsis

Element Information

plugin

debugutilsbad

author

Zeeshan Ali <zeeshan.ali@nokia.com>, Stefan Kost <stefan.kost@nokia.com>

class

Sink/Video

Element Pads

name

sink

direction

sink

presence

always

details

ANY

Details

struct GstFPSDisplaySink

struct 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).