awstranslate

awstranslate is an element that can be used to translate text from one language to another.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──awstranslate

Factory details

Authors: – Mathieu Duponchelle

Classification: – Text/Filter

Rank – none

Plugin – aws

Package – gst-plugin-aws

Pad Templates

sink

text/x-raw:
         format: utf8

Presence – always

Direction – sink

Object type – GstPad


src

text/x-raw:
         format: utf8

Presence – always

Direction – src

Object type – GstPad


Signals

request-credentials

GstStructure *
request_credentials_callback (GstElement * param_0,
                              gpointer udata)
def request_credentials_callback (param_0, udata):
    #python callback for the 'request-credentials' signal
function request_credentials_callback(param_0: GstElement * param_0, udata: gpointer udata): {
    // javascript callback for the 'request-credentials' signal
}

Parameters:

param_0 –
No description available
udata –
No description available
Returns (GstStructure *) –
No description available

Flags: Run Last


Properties

access-key

“access-key” gchararray

AWS Access Key

Flags : Read / Write

Default value : NULL


accumulator-lateness

“accumulator-lateness” guint

By how much to shift input timestamps forward

Flags : Read / Write

Default value : 0


brevity-on

“brevity-on” gboolean

Whether brevity should be turned on

Flags : Read / Write

Default value : false


input-language-code

“input-language-code” gchararray

The Language of the input stream

Flags : Read / Write

Default value : en-US


latency

“latency” guint

Amount of milliseconds to allow AWS translate

Flags : Read / Write

Default value : 2000


output-language-code

“output-language-code” gchararray

The Language of the output stream

Flags : Read / Write

Default value : fr-FR


secret-access-key

“secret-access-key” gchararray

AWS Secret Access Key

Flags : Read / Write

Default value : NULL


session-token

“session-token” gchararray

AWS temporary Session Token from STS

Flags : Read / Write

Default value : NULL


tokenization-method

“tokenization-method” GstAwsTranscriberTranslationTokenizationMethod *

The tokenization method to apply

Flags : Read / Write

Default value : span-based (1)


Named constants

GstAwsTranscriberTranslationTokenizationMethod

Members

none (0) – None: don't tokenize translations
span-based (1) – Span based: insert spans in the transript text and use the resulting spans in the translations to reproduce speech pacing.

The results of the search are