[Bug 745107] glimagesink: implement GstVideoOverlayCompositionMeta

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 18 06:00:09 PDT 2015


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

--- Comment #18 from Lubosz Sarnecki <lubosz at gmail.com> ---
Created attachment 305563
  --> https://bugzilla.gnome.org/attachment.cgi?id=305563&action=edit
Add class for managing GstVideoOverlayCompositionOverlay buffers

    Add a class to store and manage the OpenGL texture,
    vertex buffer and GstVideoOverlayRectangle.
    Transforms overlay coordinate space to vertex buffer space with aspect
ratios in mind.
    Provides methods for caps manipulation and overlay caching.

    = Example Pipelines =

    Simple pipeline

    gst-launch-1.0 videotestsrc ! \
      textoverlay text="Hello World" font-desc="sans bold 30" ! \
      glimagesink

    Display 3 static overlays at different positions

    gst-launch-1.0 videotestsrc ! \
      textoverlay text="text1" valignment="top" font-desc="sans bold 30" ! \
      textoverlay text="text2" halignment="right" font-desc="sans bold 30" ! \
      textoverlay text="text3" halignment="left" font-desc="sans bold 30" ! \
      glimagesink

    Display subtitle file over testsrc

    gst-launch-1.0 videotestsrc ! \
      textoverlay name=foo filesrc location=foo.srt ! subparse ! queue ! foo.
foo. ! \
      glimagesink

-- 
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