why timeoverlay doesn't work

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

why timeoverlay doesn't work

方明

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
Reply | Threaded
Open this post in threaded view
|

Re: why timeoverlay doesn't work

Yasushi SHOJI-2
Hi,

On Mon, Jun 26, 2017 at 11:50 AM, 方明 <[hidden email]> 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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

AW: why timeoverlay doesn't work

Thornton, Keith

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
Gesendet: Montag, 26. Juni 2017 13:45
An: Discussion of the development of and with GStreamer <[hidden email]>
Betreff: Re: why timeoverlay doesn't work

 

Hi,

 

On Mon, Jun 26, 2017 at 11:50 AM, 方明 <[hidden email]> 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

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel