mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-06 01:59:09 -06:00
FF-1676: Fixed aac_he issue
This commit is contained in:
@@ -135,7 +135,14 @@ namespace FileFlows.AudioNodes
|
||||
if (Codec == "aac" && HighEfficiency)
|
||||
{
|
||||
extension = "m4a";
|
||||
ffArgs.AddRange(new[] { "-profile:a", "aac_he_v2" });
|
||||
if(Channels is > 0 and <= 2)
|
||||
ffArgs.AddRange(new[] { "-profile:a", "aac_he_v2" });
|
||||
else if(Channels > 0)
|
||||
ffArgs.AddRange(new[] { "-profile:a", "aac_he" });
|
||||
else if(GetSourceChannels(args) <= 2)
|
||||
ffArgs.AddRange(new[] { "-profile:a", "aac_he_v2" });
|
||||
else
|
||||
ffArgs.AddRange(new[] { "-profile:a", "aac_he" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user