hi all 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. textoverlay is the same so. When alternatively I use "textoverlay text=xxxxxx", I can see 6 little span frames. Any help ? _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel =?gb18030?B?UVHNvMasMjAxNzA2MjYxMDQwMzkucG5n?= (112K) Download Attachment |
Hi, > 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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:[hidden email]]
Im Auftrag von Yasushi SHOJI Hi, On Mon, Jun 26, 2017 at 11:50 AM,
方明 <[hidden email]> wrote: 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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |