diff --git a/FFMpegCore/FFMPEG/Argument/Atoms/AudioSamplingRateArgument.cs b/FFMpegCore/FFMPEG/Argument/Atoms/AudioSamplingRateArgument.cs
new file mode 100644
index 0000000..ee612b8
--- /dev/null
+++ b/FFMpegCore/FFMPEG/Argument/Atoms/AudioSamplingRateArgument.cs
@@ -0,0 +1,18 @@
+namespace FFMpegCore.FFMPEG.Argument
+{
+ ///
+ /// Audio sampling rate argument. Defaults to 48000 (Hz)
+ ///
+ public class AudioSamplingRateArgument : Argument
+ {
+ public AudioSamplingRateArgument() : base(48000) { }
+
+ public AudioSamplingRateArgument(int samplingRate) : base(samplingRate) { }
+
+ ///
+ public override string GetStringValue()
+ {
+ return $"-ar {Value}";
+ }
+ }
+}
\ No newline at end of file
diff --git a/FFMpegCore/FFMpegCore.csproj b/FFMpegCore/FFMpegCore.csproj
index f79117b..a3fca0d 100644
--- a/FFMpegCore/FFMpegCore.csproj
+++ b/FFMpegCore/FFMpegCore.csproj
@@ -10,9 +10,9 @@
1.0.12
1.1.0.0
1.1.0.0
- Make output file existence check optional
+ Adds AudioSamplingRateArgument
8
- 1.3.2
+ 1.3.3
Vlad Jerca, Malte Rosenbjerg
ffmpeg ffprobe convert video audio mediafile resize analyze muxing
GitHub