* 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
14 lines
337 B
C#
14 lines
337 B
C#
namespace ErsatzTV.FFmpeg.Option;
|
|
|
|
public class AudioSampleRateOutputOption : OutputOption
|
|
{
|
|
private readonly int _sampleRate;
|
|
|
|
public AudioSampleRateOutputOption(int sampleRate)
|
|
{
|
|
_sampleRate = sampleRate;
|
|
}
|
|
|
|
public override IList<string> OutputOptions => new List<string> { "-ar", $"{_sampleRate}k" };
|
|
}
|