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)


mux-method

“mux-method” Transcriber-bin-mux-method *

The method for muxing multiple transcription streams

Flags : Read / Write / Construct

Default value : cea608 (0)


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 language codes to caption channels, e.g. translation-languages="languages, transcript={CC1, 708_1}, fr={708_2, CC3}" will map the French translation to CC1/service 1 and the original transcript to CC3/service 2

Flags : Read / Write


Named constants

Transcriber-bin-caption-source

Members

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

Transcriber-bin-mux-method

Members

cea608 (0) – Cea608
cea708 (1) – Cea708

The results of the search are