prefer to use libfdk_aac for better audio quality

pull/2715/head
nyanmisaka 5 years ago
parent 20ac3c36e2
commit db23660660

@ -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";
}

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

Loading…
Cancel
Save