AW: why timeoverlay doesn't work
Thornton, Keith
keith.thornton at zeiss.com
Mon Jun 26 12:22:39 UTC 2017
Textoverlay works for me on windows. I do set some parameters
g_object_set(G_OBJECT(m_pFrameCountOverlay), "valignment", 3, static_cast<char*>(nullptr));
g_object_set(G_OBJECT(m_pFrameCountOverlay), "xpos", 0.5, static_cast<char*>(nullptr));
g_object_set(G_OBJECT(m_pFrameCountOverlay), "ypos", 0.7, static_cast<char*>(nullptr));
I also use timeoverlay
g_object_set(G_OBJECT(m_pTimeOverlay), "font-desc", "Arial g_object_set(G_OBJECT(m_pTimeOverlay), "xpos", 0.5, static_cast<char*>(nullptr));
g_object_set(G_OBJECT(m_pTimeOverlay), "ypos", 0.3, static_cast<char*>(nullptr));
normal 18", static_cast<char*>(nullptr));
g_object_set(G_OBJECT(m_pTimeOverlay), "halignment", 1, static_cast<char*>(nullptr));
g_object_set(G_OBJECT(m_pTimeOverlay), "valignment", 3, static_cast<char*>(nullptr));
but I havn’t tried clockoverlay
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Yasushi SHOJI
Gesendet: Montag, 26. Juni 2017 13:45
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: Re: why timeoverlay doesn't work
Hi,
On Mon, Jun 26, 2017 at 11:50 AM, 方明 <77949218 at qq.com<mailto:77949218 at qq.com>> wrote:
> I gst-launch a pipeline "...h264parse ! avdec_h264 ! videoconvert ! clockoverlay !dshowvideosink "
>
> but I cannot see a correct displaying of clock on the video .I just see some little span frames on left top.
Not sure about dshowvideosink, but clockoverlay and textoverlay uses cairo to draw test.
Cairo in turn uses pango to lay glyphs on buffers.
Are pango and cairo working on your system?
I'm not sure how to test them on Windows.
regards,
--
yashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170626/7421e56e/attachment-0001.html>
More information about the gstreamer-devel
mailing list