Use autovideosink instead of hardcoded sinks. Use an additional colorspace converter between videotestsrc and timeoverlay.