clockoverlay

Properties

Types and Values

Object Hierarchy

Description

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

Example launch lines

1

gst-launch-1.0-v videotestsrc ! clockoverlay ! autovideosink

Display the current wall clock time in the top left corner of the video picture

Another pipeline that displays the current time 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.