Implement hardware filters for videotoolbox, use Apple AAC encoder when available (#7807)

This commit is contained in:
gnattu
2023-02-09 06:42:17 +08:00
committed by GitHub
parent 0b1475af30
commit ef4ae9a2dd
2 changed files with 91 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
"libvpx",
"libvpx-vp9",
"aac",
"aac_at",
"libfdk_aac",
"ac3",
"libmp3lame",
@@ -106,7 +107,10 @@ namespace MediaBrowser.MediaEncoding.Encoder
// vulkan
"libplacebo",
"scale_vulkan",
"overlay_vulkan"
"overlay_vulkan",
"hwupload_vaapi",
// videotoolbox
"yadif_videotoolbox"
};
private static readonly IReadOnlyDictionary<int, string[]> _filterOptionsDict = new Dictionary<int, string[]>