Overlay timestamp on video

Q: How can I overlay a timestamp on my video stream?


You can overlay a timestamp and other GStreamer strings on your video stream by navigating to /var/lib/formant/.basrhc and adding the following environment variable: FORMANT_VIDEO_GST_STRING=" ! clockoverlay"

This will affect all video pipelines, provided it is not a passthrough-ip camera stream.

The kinds of GStreamer strings that are valid will start with ! (a space followed by an exclamation point).

The input GStreamer string must take in video/x-raw and output video/x-raw.

For more information about GStreamer, see GStreamer.