diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2023-03-25 02:14:46 +0300 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2023-03-29 02:58:37 +0300 |
commit | 8cb328b6f2be5f0c5904c645d46306a18230952f (patch) | |
tree | f0caa69658523a004a7e7c19e4ccd0166d63a5eb /docs | |
parent | 002a70a2a447f5d5d1ced9764a0dd6e8ba2ee8f0 (diff) |
transcriberbin: add support for translations
With this, if the transcriber element in use supports "translation_src_"
request source pads, the user can now specify what languages to
translate to and how to map them to 608 channels (only CC1 and CC3 are
supported).
For instance, translation-languages="languages, CC3=transcript, CC1=fr"
will cause the original transcript to be muxed into the CC3 channel, and
the French translation to be muxed into the CC1 channel.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1149>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plugins/gst_plugins_cache.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 9ad986452..e8d07f95d 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -4976,6 +4976,31 @@ "readable": true, "type": "GstElement", "writable": true + }, + "translate-latency": { + "blurb": "Amount of extra milliseconds to allow for translating", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "500", + "max": "-1", + "min": "0", + "mutable": "ready", + "readable": true, + "type": "guint", + "writable": true + }, + "translation-languages": { + "blurb": "A map of CEA 608 channels to language codes, eg translation-languages=\"languages, CC1=fr, CC3=transcript\" will map the French translation to CC1 and the original transcript to CC3", + "conditionally-available": false, + "construct": false, + "construct-only": true, + "controllable": false, + "mutable": "null", + "readable": true, + "type": "GstStructure", + "writable": true } }, "rank": "none" |