gst-plugins-rs/text/ahead
François Laignel 7ba0073052 use Pad builders for optional name definition
Also, apply auto-naming in the following cases

* When building from a non wildcard-named template, the name of the template is
  automatically assigned to the Pad. User can override with a specific name by
  calling `name()` on the `PadBuilder`.
* When building with a target and no name was provided via the above, the
  GhostPad is named after the target.

See https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/448
Auto-naming discussion: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1255#note_1891181

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1197>
2023-05-12 12:55:31 +02:00
..
src use Pad builders for optional name definition 2023-05-12 12:55:31 +02:00
build.rs add textahead plugin 2022-01-12 08:47:23 +01:00
Cargo.toml Update minimum supported Rust version to 1.66 2023-02-20 11:09:01 +02:00
LICENSE-MPL-2.0 git: replace LICENSE file symlinks with copies 2023-04-04 14:26:37 +01:00
README.md add textahead plugin 2022-01-12 08:47:23 +01:00

gst-plugins-textahead

This is GStreamer plugin displays upcoming text buffers ahead with the current one. This is mainly useful for Karaoke applications where singers need to know beforehand the next lines of the song.

gst-launch-1.0 videotestsrc pattern=black ! video/x-raw,width=1920,height=1080 ! textoverlay name=txt ! autovideosink filesrc location=subtitles.srt ! subparse ! textahead n-ahead=2 ! txt.