## timeoverlay

timeoverlay — Overlays buffer time stamps on a video stream

## Synopsis

                        GstTimeOverlay;

## Object Hierarchy

      GObject
       +----GstObject
             +----GstElement
                   +----GstTextOverlay
                         +----GstTimeOverlay

## Description

This element overlays the buffer time stamps of a video stream on top of itself. You can position the text and configure the font details using the properties of the GstTextOverlay class. By default, the time stamp is displayed in the top left corner of the picture, with some padding to the left and to the top.

    1

    gst-launch -v videotestsrc ! timeoverlay ! xvimagesink

Display the time stamps in the top left corner of the video picture.

    1

    gst-launch -v videotestsrc ! timeoverlay halign=right valign=bottom text="Stream time:" shaded-background=true ! xvimagesink

Another pipeline that displays the time stamps with some leading text in the bottom right corner of the video picture, with the background of the text being shaded in order to make it more legible on top of a bright video background.

## Details

### GstTimeOverlay

    typedef struct _GstTimeOverlay GstTimeOverlay;

Opaque timeoverlay data structure.

## See Also

GstTextOverlay, GstClockOverlay