RoughDraft

Extension/Subtitler.RoughDraft.Extension.ps1

Synopsis

Creates subtitles.


Description

Creates VTT and SRT subtitles.


Examples

EXAMPLE 1

New-Media -SubtitleContent "a", "b" -SubtitleStartTime "00:00:01","00:01:01" -SubtitleEndTime "00:01:00", "00:02:00" -OutputPath .\test.srt

Parameters

SubtitleContent

An array of subtitles. Each element represents a single subtitle

Type: [String[]]

Required: true

Position: 1

PipelineInput:false


SubtitleStartTime

An array of subtitle start times. Each element represents the starting time of each subtitle.

Type: [TimeSpan[]]

Required: true

Position: 2

PipelineInput:false


SubtitleEndTime

An array of subtitle end times. Each element represents the end time of each subtitle.

Type: [TimeSpan[]]

Required: true

Position: 3

PipelineInput:false


SubtitleLocale

The subtitle locale. Only valid when the -OutputPath is a VTT If not provided, this will be automatically detected.

Type: [String]

Required: false

Position: 4

PipelineInput:false


Syntax

Extension/Subtitler.RoughDraft.Extension.ps1 [-SubtitleContent] <String[]> [-SubtitleStartTime] <TimeSpan[]> [-SubtitleEndTime] <TimeSpan[]> [[-SubtitleLocale] <String>] [<CommonParameters>]