Force the use of FDK-AAC and significantly boost AAC sound quality

This commit is contained in:
Albert Santoni 2015-01-06 12:58:11 -05:00
parent a0f5e33855
commit fc912923ce
2 changed files with 24 additions and 22 deletions

View file

@ -150,20 +150,22 @@ def output_to(output_type, type, bitrate, host, port, pass, mount_point, url, de
end
%endif
%ifencoder %aac
if type == "aac" then
%include "aac.liq"
end
%endif
# FDK-AAC is the only good AAC encoder. libvoaac is deprecated and aacplus is subpar.
# The difference in compression quality is clearly audible. -- Albert
# %ifencoder %aac
# if type == "aac" then
# %include "aac.liq"
# end
# %endif
%ifencoder %aacplus
if type == "aacplus" then
%include "aacplus.liq"
end
%endif
# %ifencoder %aacplus
# if type == "aacplus" then
# %include "aacplus.liq"
# end
# %endif
%ifencoder %fdkaac
if type == "fdkaac" then
if type == "aac" then
%include "fdkaac.liq"
end
%endif