mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
377 B
11 lines
377 B
namespace ErsatzTV.FFmpeg.OutputOption.Metadata; |
|
|
|
public class MetadataSubtitleTitleOutputOption : OutputOption |
|
{ |
|
private readonly string _subtitleTitle; |
|
|
|
public MetadataSubtitleTitleOutputOption(string subtitleTitle) => _subtitleTitle = subtitleTitle; |
|
|
|
public override string[] OutputOptions => new[] |
|
{ "-metadata:s:s:0", $"title={_subtitleTitle}" }; |
|
}
|
|
|