mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +00:00
18 lines
456 B
C#
18 lines
456 B
C#
using FFMpegCore.Enums;
|
|
|
|
namespace FFMpegCore.Arguments
|
|
{
|
|
/// <summary>
|
|
/// Represents parameter of audio codec and it's quality
|
|
/// </summary>
|
|
public class AudioCodecArgument : IArgument
|
|
{
|
|
public readonly AudioCodec AudioCodec;
|
|
public AudioCodecArgument(AudioCodec audioCodec)
|
|
{
|
|
AudioCodec = audioCodec;
|
|
}
|
|
|
|
public string Text => $"-c:a {AudioCodec.ToString().ToLower()}";
|
|
}
|
|
}
|