[gst-devel] what is the difference between timeoverlay and clockoverlay?

Tim Müller t.i.m at zen.co.uk
Thu Jun 15 14:56:06 CEST 2006


On Thu, 2006-06-15 at 12:35 +0000, woo john wrote:

>   can anybody here tell me the difference between timeoverlay and 
> clockoverlay element?

You could just try

  gst-launch-0.10 videotestsrc ! timeoverlay ! ffmpegcolorspace !
ximagesink
  gst-launch-0.10 videotestsrc ! clockoverlay ! ffmpegcolorspace !
ximagesink

and see if you can spot the difference yourself. The documentation at

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-clockoverlay.html
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-timeoverlay.html

(linked from http://gstreamer.freedesktop.org/documentation/) might also
be useful.

  Cheers
   -Tim

PS: the difference is that clockoverlay overlays the wall clock time,
while timeoverlay overlays the time as found as timestamps on buffers
passing through.






More information about the gstreamer-devel mailing list