FFMpegCore/FFMpegCore/FFMPEG/Argument/Atoms/AudioCodecArgument.cs
2020-05-01 10:07:40 +02:00

18 lines
467 B
C#

using FFMpegCore.FFMPEG.Enums;
namespace FFMpegCore.FFMPEG.Argument
{
/// <summary>
/// Represents parameter of audio codec and it's quality
/// </summary>
public class AudioCodecArgument : Argument<AudioCodec>
{
public AudioCodecArgument(AudioCodec value) : base(value) { }
/// <inheritdoc/>
public override string GetStringValue()
{
return $"-c:a {Value.ToString().ToLower()}";
}
}
}