Scrolling text that does not fit without wrapping

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

Scrolling text that does not fit without wrapping

David Ventura
Hi
I want to scroll some text on top of a video file, this works OK using textoverlay with position=absolute and modifying the deltax attribute to make it scroll.
If I use a really long text, it fits the width of the video and wraps to a new line, and also scrolls OK.

My problem is that setting wrap-mode=none with really long text (that obviously doesn't fit in one line, hence the scrolling) pango throws a fit and does not render text

I get spammed to death with:
(python3:11404): Pango-WARNING **: pango-layout.c:3209: broken PangoLayout


but the pipeline essentially is

filesrc ! decodebin name=decoder ! textoverlay ! autovideosink decoder. ! autoaudiosink

David

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

Re: Scrolling text that does not fit without wrapping

Vinod Kesti
Check if auto-resize mode is helpful for u..



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel