RoughDraft

Extension/DrawSubtitle.RoughDraft.Extension.ps1

Synopsis

Draw subtitles on top of input video


Description

Draw subtitles on top of input video using the libass library



Examples

EXAMPLE 1

Convert-Media

Parameters

SubtitleFile

Set the filename of the subtitle file to read. It must be specified.

Type: [String]

Required: true

Position: 1

PipelineInput:false


OriginalVideoSize

Specify the size of the original video, the video for which the ASS file was composed.

Type: [String]

Required: false

Position: 2

PipelineInput:false


SubtitleFontDirectory

Set a directory path containing fonts that can be used by the filter. These fonts will be used in addition to whatever the font provider uses.

Type: [String]

Required: false

Position: 3

PipelineInput:false


SubtitleAlpha

Process alpha channel, by default alpha channel is untouched.

Type: [String]

Required: false

Position: 4

PipelineInput:false


SubtitleCharacterEncoding

Set subtitles input character encoding. subtitles filter only. Only useful if not UTF-8.

Type: [String]

Required: false

Position: 5

PipelineInput:false


SubtitleStreamIndex

Set subtitles stream index. subtitles filter only.

Type: [Int32]

Required: false

Position: 6

PipelineInput:false


SubtitleStyle

Override default style or script info parameters of the subtitles. It accepts a string containing ASS style format KEY=VALUE couples separated by “,”.

Type: [String]

Required: false

Position: 7

PipelineInput:false


Syntax

Extension/DrawSubtitle.RoughDraft.Extension.ps1 [-SubtitleFile] <String> [[-OriginalVideoSize] <String>] [[-SubtitleFontDirectory] <String>] [[-SubtitleAlpha] <String>] [[-SubtitleCharacterEncoding] <String>] [[-SubtitleStreamIndex] <Int32>] [[-SubtitleStyle] <String>] [<CommonParameters>]