Google Speech Attach Transcription Workflow Operation

ID: google-speech-attach-transcription

Description

Google Speech Attach Transcription converts the json format file received from the Google Speech-to-Text service into the desired caption format and adds it to the media package.

Parameter Table

configuration keys required description default value example
transcription-job-id yes This is filled out by the transcription service when starting the workflow. EMPTY Should always be "${transcriptionJobId}"
line-size no The line size (number of characters) of the transcripts to display at a time. EMPTY 100
target-flavor yes The flavor of the caption/transcription file generated. EMPTY captions/source
target-tag no The tag to apply to the caption/transcription file generated.* EMPTY archive,generator-type:auto
target-caption-format no The caption format to be generated. If not entered, the raw resulting file will be attached to the media package. EMPTY vtt
target-element-type no Define where to append the subtitles file. Accepted values: 'track', 'attachment'. track track

*For conventionally used tags see the general page on Subtitles.

Example

  # Attach caption/transcript
  - id: google-speech-attach-transcription
    description: Attach captions/transcription
    configurations:
      # This is filled out by the transcription service when starting this workflow
      - transcription-job-id: ${transcriptionJobId}
      - line-size: 100
      - target-flavor: captions/source
      - target-tag: archive,generator-type:auto
      - target-caption-format: vtt

  # Publish to engage player
  - id: publish-engage
    description: Distribute and publish to engage server
    configurations:
      - download-source-flavors: dublincore/*,security/*,captions/*
      - strategy: merge
      - check-availability: false