prefer to use libfdk_aac for better audio quality

This commit is contained in:
nyanmisaka 2020-03-30 15:53:49 +08:00
parent 20ac3c36e2
commit db23660660
2 changed files with 6 additions and 0 deletions

View File

@ -424,6 +424,11 @@ namespace MediaBrowser.Controller.MediaEncoding
if (string.Equals(codec, "aac", StringComparison.OrdinalIgnoreCase))
{
// Prefer to use libfdk_aac for better audio quality while using the custom build FFmpeg
if (_mediaEncoder.SupportsEncoder("libfdk_aac"))
{
return "libfdk_aac";
}
return "aac -strict experimental";
}

View File

@ -42,6 +42,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
"libvpx",
"libvpx-vp9",
"aac",
"libfdk_aac",
"libmp3lame",
"libopus",
"libvorbis",