From c4232b7ca0640ad811f6d29b4e535fccc146b3b5 Mon Sep 17 00:00:00 2001 From: Brett Baker Date: Fri, 1 Nov 2024 09:13:29 -0400 Subject: [PATCH] Added Copy option to Audio --- FFMpegCore/FFMpeg/Enums/Enums.cs | 2 ++ FFMpegCore/FFMpegCore.csproj | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FFMpegCore/FFMpeg/Enums/Enums.cs b/FFMpegCore/FFMpeg/Enums/Enums.cs index 4974b44..0155743 100644 --- a/FFMpegCore/FFMpeg/Enums/Enums.cs +++ b/FFMpegCore/FFMpeg/Enums/Enums.cs @@ -27,6 +27,8 @@ public static class AudioCodec public static Codec Ac3 => FFMpeg.GetCodec("ac3"); public static Codec Eac3 => FFMpeg.GetCodec("eac3"); public static Codec LibMp3Lame => FFMpeg.GetCodec("libmp3lame"); + public static Codec Copy => new Codec("copy", CodecType.Audio); + } public static class VideoType diff --git a/FFMpegCore/FFMpegCore.csproj b/FFMpegCore/FFMpegCore.csproj index ed3b71c..cf17d85 100644 --- a/FFMpegCore/FFMpegCore.csproj +++ b/FFMpegCore/FFMpegCore.csproj @@ -18,7 +18,7 @@ - +