mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
prefer to use libfdk_aac for better audio quality
This commit is contained in:
parent
20ac3c36e2
commit
db23660660
2 changed files with 6 additions and 0 deletions
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue