* wip * fix songs again * don't use lists of video and audio input files * test concat command output * move concat pipeline * start to use ffmpeg state * add ffmpeg state and audio state * audio state is required * attach input options directly to input files * move filters to input files * add watermark support
15 lines
407 B
C#
15 lines
407 B
C#
namespace ErsatzTV.FFmpeg.Option.Metadata;
|
|
|
|
public class MetadataAudioLanguageOutputOption : OutputOption
|
|
{
|
|
private readonly string _audioLanguage;
|
|
|
|
public MetadataAudioLanguageOutputOption(string audioLanguage)
|
|
{
|
|
_audioLanguage = audioLanguage;
|
|
}
|
|
|
|
public override IList<string> OutputOptions => new List<string>
|
|
{ "-metadata:s:a:0", $"language={_audioLanguage}" };
|
|
}
|