-
-
Notifications
You must be signed in to change notification settings - Fork 3
DrawSubtitle Extension
James Brundage edited this page Apr 24, 2022
·
6 revisions
Draw subtitles on top of input video
Draw subtitles on top of input video using the libass library
- https://ffmpeg.org/ffmpeg-filters.html#subtitles-1
- [https://ffmpeg.org/ffmpeg-filters.html#subtitles-1](https://ffmpeg.org/ffmpeg-filters.html#ass
Convert-MediaSet the filename of the subtitle file to read. It must be specified.
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
true | 1 | false |
Specify the size of the original video, the video for which the ASS file was composed.
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 2 | false |
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 | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 3 | false |
Process alpha channel, by default alpha channel is untouched.
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 4 | false |
Set subtitles input character encoding. subtitles filter only. Only useful if not UTF-8.
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 5 | false |
Set subtitles stream index. subtitles filter only.
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[Int32] |
false | 6 | false |
Override default style or script info parameters of the subtitles. It accepts a string containing ASS style format KEY=VALUE couples separated by ",".
| Type | Requried | Postion | PipelineInput |
|---|---|---|---|
[String] |
false | 7 | false |
Extension/DrawSubtitle.RoughDraft.Extension.ps1 [-SubtitleFile] <String> [[-OriginalVideoSize] <String>] [[-SubtitleFontDirectory] <String>] [[-SubtitleAlpha] <String>] [[-SubtitleCharacterEncoding] <String>] [[-SubtitleStreamIndex] <Int32>] [[-SubtitleStyle] <String>] [<CommonParameters>]