[gst-devel] textoverlay and dynamic text - to subtitle or not and if so how?

Andoni Morales ylatuya at gmail.com
Wed Nov 10 00:27:38 CET 2010


2010/11/9 HaroldJRoth <dlafferty at gmail.com>:
>
>
> Andoni Morales wrote:
>>
>> 2010/11/9 HaroldJRoth <dlafferty at gmail.com>:
>>>
>>> Can textoverlay be used to apply dynamically generated text to a frame?
>>>
>>
>> ...
>>
>> You could also use the 'textrender' element, which support plain text
>> and pango markup.
>>
>> andoni
>>
>>
>
> Two issues:  'textrender' doesn't mux text to another video stream.  Second,
> 'textrender' doesn't allow me to sync my text to frame TIMESTAMP data.  I
> think textrender on its own is more appropriate for generating text only
> frames from a textparse element.
Textrender, which outputs an image with an alpha channel, is usually
used in combination with videomixer, which mixes your video stream
with the text image and sync them, so it's exactly what you are
looking for. IIRC playbin2 uses it to render the subtitles.

Andoni
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/textoverlay-and-dynamic-text-to-subtitle-or-not-and-if-so-how-tp3034383p3034749.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es




More information about the gstreamer-devel mailing list