transcriberbin

Transcribes audio and adds it as closed captions

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──transcriberbin

Implemented interfaces

Factory details

Authors: – Mathieu Duponchelle

Classification:Audio / Video / Text

Rank – none

Plugin – rsclosedcaption

Package – gst-plugin-closedcaption

Pad Templates

sink_audio

audio/x-raw:

Presencealways

Directionsink

Object typeGstPad


sink_video

video/x-raw(ANY):

Presencealways

Directionsink

Object typeGstPad


src_audio

audio/x-raw:

Presencealways

Directionsrc

Object typeGstPad


src_video

video/x-raw(ANY):

Presencealways

Directionsrc

Object typeGstPad


Properties

accumulate-time

“accumulate-time” guint

Cut-off time for textwrap accumulation, in milliseconds (0=do not accumulate). Set this to a non-default value if you plan to switch to pop-on mode

Flags : Read / Write

Default value : 0


caption-source

“caption-source” Transcriber-bin-caption-source *

Caption source to use. If "Transcription" or "Inband" is selected, the caption meta of the other source will be dropped by transcriberbin

Flags : Read / Write

Default value : both (0)


cc-caps

“cc-caps” GstCaps *

The expected format of the closed captions

Flags : Read / Write

Default value :

closedcaption/x-cea-608, format=(string)raw

language-code

“language-code” gchararray

The language of the input stream

Flags : Read / Write

Default value : en-US


latency

“latency” guint

Amount of milliseconds to allow the transcriber

Flags : Read / Write

Default value : 4000


mode

“mode” GstTtToCea608Mode *

Which closed caption mode to operate in

Flags : Read / Write

Default value : roll-up2 (2)


passthrough

“passthrough” gboolean

Whether transcription should occur

Flags : Read / Write

Default value : false


transcriber

“transcriber” GstElement *

The transcriber element to use

Flags : Read / Write


translate-latency

“translate-latency” guint

Amount of extra milliseconds to allow for translating

Flags : Read / Write

Default value : 500


translation-languages

“translation-languages” GstStructure *

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

Flags : Read / Write


Named constants

Transcriber-bin-caption-source

Members

both (0) – Both
transcription (1) – Transcription
inband (2) – Inband

The results of the search are