mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
textoverlay: improve the example
Mentioned that this is not ment to be used with subtitles and suggest alternatives.
This commit is contained in:
parent
c91928f7a2
commit
2db389f775
1 changed files with 5 additions and 2 deletions
|
@ -65,12 +65,15 @@
|
|||
* Uh? What are you talking about?
|
||||
* I don't understand (18-62s)
|
||||
* ]|
|
||||
* one can also feed live text into the element
|
||||
* One can also feed arbitrary live text into the element:
|
||||
* |[
|
||||
* gst-launch fdsrc fd=0 ! text/plain ! txt. videotestsrc ! \
|
||||
* textoverlay name=txt shaded-background=yes font-desc="Serif 40" wait-text=false ! \
|
||||
* xvimagesink
|
||||
* ]| This shows new text as entered on the terminal (stdin).
|
||||
* ]| This shows new text as entered on the terminal (stdin). This is not suited
|
||||
* for subtitles as the test overlay is not timed. Subtitles should use
|
||||
* timestamped formats. For the above use case one can also read the text from
|
||||
* the application as set the #GstTextOverlay:text property.
|
||||
* </para>
|
||||
* </refsect2>
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue