Date and Time overlay including miliseconds

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jan 21 21:14:31 UTC 2020


Le mardi 21 janvier 2020 à 19:44 +0200, Constantine Elster a écrit :
> Hi devs,
> 
> Thank you very much for your previous support in this mailing list.
> 
> In this thread I'm looking for a way to overlay time including milliseconds. I
> can use "timeoverlay ! clockoverlay time-format="%Y/%m/%d %H:%M:%S"
> valignment=bottom", but this does not give me milliseconds.

This elemement is implemented around localtime() which returns a struct tm,
which has a maximum precision of one second. To support millisecond, it would
need to be ported to clock_gettime() and to use another formatter.

> 
> Any hints would be appreciated!
> 
> Thank you very much
>  -- Constantine.
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list