<div dir="ltr">Hi Brendan,<div><br></div><div> Thanks for the reply. I definitely think it is the xpad and ypad properties of the textoverlay object that control the line spacing. But I haven't come across any examples of how to get a handle on the textoverlay object and change its properties. </div>
<div><br></div><div>Here is the link to the textoverlay docs: <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-textoverlay.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-textoverlay.html</a> </div>
<div>do let me know if that is right and it will be great if you can point me to an example. </div><div><br></div><div>Sky.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 9:17 PM, Brendan Long <span dir="ltr"><<a href="mailto:self@brendanlong.com" target="_blank">self@brendanlong.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="im">
<div>On 11/04/2013 03:24 AM, Sky Qt wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I need to reduce the lines spacing in the subtitle
display. I have tried to look into the gstreamer api but could
not locate any such api. Apparently VLC provides such control.
Can anyone help find the api or point me to any resource that
will help me?<br>
</div>
</blockquote></div>
gst-inspect-1.0 subtitleoverlay shows:<br>
<br>
<blockquote type="cite"> font-desc : Pango font
description of font to be used for subtitle rendering<br>
flags: readable, writable<br>
String. Default: null<br>
</blockquote>
A search for "pango font description" gives <a href="https://developer.gnome.org/pango/stable/pango-Fonts.html" target="_blank">this
documentation</a>, but unfortunately that only seems to control
the font family, size, and type.<br>
<br>
A search for "pango line spacing" gives <a href="https://developer.gnome.org/pango/stable/pango-Layout-Objects.html#PangoLayout-struct" target="_blank">the
documentation for Pango Layouts</a>, which seems to be what you
want. We could presumably add this to GStreamer, but it would be a
bit more complicated since there's no *_from_string function.<br>
<br>
Note: I think the actual element of interest is "textrender" or
'textoverlay" in gst-plugins-base/ext/pango.<br>
</div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>