mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
16 lines
323 B
C#
16 lines
323 B
C#
namespace FFMpegCore.Arguments;
|
|
|
|
/// <summary>
|
|
/// Represents video bitrate parameter
|
|
/// </summary>
|
|
public class VideoBitrateArgument : IArgument
|
|
{
|
|
public readonly int Bitrate;
|
|
|
|
public VideoBitrateArgument(int bitrate)
|
|
{
|
|
Bitrate = bitrate;
|
|
}
|
|
|
|
public string Text => $"-b:v {Bitrate}k";
|
|
}
|