mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
parent
2809e0c47b
commit
c1393697a3
2 changed files with 20 additions and 2 deletions
|
@ -0,0 +1,18 @@
|
||||||
|
namespace FFMpegCore.FFMPEG.Argument
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Audio sampling rate argument. Defaults to 48000 (Hz)
|
||||||
|
/// </summary>
|
||||||
|
public class AudioSamplingRateArgument : Argument<int>
|
||||||
|
{
|
||||||
|
public AudioSamplingRateArgument() : base(48000) { }
|
||||||
|
|
||||||
|
public AudioSamplingRateArgument(int samplingRate) : base(samplingRate) { }
|
||||||
|
|
||||||
|
/// <inheritdoc/>
|
||||||
|
public override string GetStringValue()
|
||||||
|
{
|
||||||
|
return $"-ar {Value}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -10,9 +10,9 @@
|
||||||
<Version>1.0.12</Version>
|
<Version>1.0.12</Version>
|
||||||
<AssemblyVersion>1.1.0.0</AssemblyVersion>
|
<AssemblyVersion>1.1.0.0</AssemblyVersion>
|
||||||
<FileVersion>1.1.0.0</FileVersion>
|
<FileVersion>1.1.0.0</FileVersion>
|
||||||
<PackageReleaseNotes>Make output file existence check optional</PackageReleaseNotes>
|
<PackageReleaseNotes>Adds AudioSamplingRateArgument </PackageReleaseNotes>
|
||||||
<LangVersion>8</LangVersion>
|
<LangVersion>8</LangVersion>
|
||||||
<PackageVersion>1.3.2</PackageVersion>
|
<PackageVersion>1.3.3</PackageVersion>
|
||||||
<Authors>Vlad Jerca, Malte Rosenbjerg</Authors>
|
<Authors>Vlad Jerca, Malte Rosenbjerg</Authors>
|
||||||
<PackageTags>ffmpeg ffprobe convert video audio mediafile resize analyze muxing</PackageTags>
|
<PackageTags>ffmpeg ffprobe convert video audio mediafile resize analyze muxing</PackageTags>
|
||||||
<RepositoryType>GitHub</RepositoryType>
|
<RepositoryType>GitHub</RepositoryType>
|
||||||
|
|
Loading…
Reference in a new issue