Skip to content

Subtitles

Source code in docs_src/capo_transcribe/types/subtitles.py
class Subtitles(TypedDict, closed=True):
    formats: NotRequired["capo_transcribe.types.subtitle_formats.SubtitleFormats"]
    """<p>Specify the output format for your subtitle file; if you select both WebVTT (<code>vtt</code>) and SubRip (<code>srt</code>) formats, two output files are generated.</p>"""
    output_start_index: NotRequired[
        "capo_transcribe.types.subtitle_output_start_index.SubtitleOutputStartIndex"
    ]
    """<p>Specify the starting value that is assigned to the first subtitle segment.</p> <p>The default start index for Amazon Transcribe is <code>0</code>, which differs from the more widely used standard of <code>1</code>. If you're uncertain which value to use, we recommend choosing <code>1</code>, as this may improve compatibility with other services.</p>"""

formats instance-attribute

formats: NotRequired[SubtitleFormats]

Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.

output_start_index instance-attribute

output_start_index: NotRequired[SubtitleOutputStartIndex]

Specify the starting value that is assigned to the first subtitle segment.

The default start index for Amazon Transcribe is 0, which differs from the more widely used standard of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.