[Bug 788968] New: textoverlay fails to render very long text with halignment=absolute and wrap-mode=none

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Oct 13 23:08:32 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=788968

            Bug ID: 788968
           Summary: textoverlay fails to render very long text with
                    halignment=absolute and wrap-mode=none
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: davidventura27 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I'm trying to scroll some text horizontally like in the news. This text must
not wrap.

So I tried something like this:

gst-launch-1.0 videotestsrc ! video/x-raw,width=300,height=300 ! textoverlay
text="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
wrap-mode=none halignment=absolute x-absolute=0.5 ! autovideosink

which fails with

(gst-launch-1.0:27547): Pango-WARNING **: pango-layout.c:3209: broken
PangoLayout

by "fails" I mean that the text does not render at all.

If I remove "halignment=absolute" or "wrap-mode=none" this works.
Tested by me on debian with gst 1.10.4-1 and by thiagoss on master with the
same result.

I'd gladly accept a workaround, if you have any, for now.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list