* use mkv container for hls direct * add setting for mp4/mkv container with hls direct * cleanup * update changelog
12 lines
387 B
C#
12 lines
387 B
C#
namespace ErsatzTV.FFmpeg.Option.Metadata;
|
|
|
|
public class MetadataSubtitleTitleOutputOption : OutputOption
|
|
{
|
|
private readonly string _subtitleTitle;
|
|
|
|
public MetadataSubtitleTitleOutputOption(string subtitleTitle) => _subtitleTitle = subtitleTitle;
|
|
|
|
public override IList<string> OutputOptions => new List<string>
|
|
{ "-metadata:s:s:0", $"title={_subtitleTitle}" };
|
|
}
|