aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs25
1 files changed, 15 insertions, 10 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
index fdca28390..5f0779dc7 100644
--- a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
+++ b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
@@ -69,6 +69,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
"aac_at",
"libfdk_aac",
"ac3",
+ "alac",
"dca",
"libmp3lame",
"libopus",
@@ -128,6 +129,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
"overlay_vulkan",
// videotoolbox
"yadif_videotoolbox",
+ "scale_vt",
+ "overlay_videotoolbox",
+ "tonemap_videotoolbox",
// rkrga
"scale_rkrga",
"vpp_rkrga",
@@ -144,17 +148,18 @@ namespace MediaBrowser.MediaEncoding.Encoder
{ 5, new string[] { "overlay_vulkan", "Action to take when encountering EOF from secondary input" } }
};
- // These are the library versions that corresponds to our minimum ffmpeg version 4.x according to the version table below
+ // These are the library versions that corresponds to our minimum ffmpeg version 4.4 according to the version table below
+ // Refers to the versions in https://ffmpeg.org/download.html
private static readonly Dictionary<string, Version> _ffmpegMinimumLibraryVersions = new Dictionary<string, Version>
{
- { "libavutil", new Version(56, 14) },
- { "libavcodec", new Version(58, 18) },
- { "libavformat", new Version(58, 12) },
- { "libavdevice", new Version(58, 3) },
- { "libavfilter", new Version(7, 16) },
- { "libswscale", new Version(5, 1) },
- { "libswresample", new Version(3, 1) },
- { "libpostproc", new Version(55, 1) }
+ { "libavutil", new Version(56, 70) },
+ { "libavcodec", new Version(58, 134) },
+ { "libavformat", new Version(58, 76) },
+ { "libavdevice", new Version(58, 13) },
+ { "libavfilter", new Version(7, 110) },
+ { "libswscale", new Version(5, 9) },
+ { "libswresample", new Version(3, 9) },
+ { "libpostproc", new Version(55, 9) }
};
private readonly ILogger _logger;
@@ -174,7 +179,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
}
// When changing this, also change the minimum library versions in _ffmpegMinimumLibraryVersions
- public static Version MinVersion { get; } = new Version(4, 0);
+ public static Version MinVersion { get; } = new Version(4, 4);
public static Version? MaxVersion { get; } = null;