Fixed encoding of *non*-Stereo sources with NeroAAC, when "HE-AAC *v2* (SBR+PS)" is selected: NeroAAC fails when using "-hev2" option *and* passing a source that is *not* Stereo, we revert to "-he" in that case.
This commit is contained in:
parent
64272450c6
commit
f05bc6acfa
@ -87,6 +87,7 @@
|
||||
<li>Upgraded build environment to Microsoft Visual Studio 2015 with Update-2</li>
|
||||
<li>Fixed the location of temporary intermediate files for SoX-based audio effects</li>
|
||||
<li>Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file</li>
|
||||
<li>Fixed encoding of <em>non</em>-Stereo sources with NeroAAC, when "HE-AAC <em>v2</em> (SBR+PS)" is selected</li>
|
||||
<li>Enabled the "built-in" resampler for QAAC encoder</li>
|
||||
<li>The "Algorithm Quality" slider now also affects the QAAC encoder</li>
|
||||
<li>Added "AVX" (Advanced Vector Extensions) to CPU feature detection code</li>
|
||||
|
@ -7,6 +7,7 @@
|
||||
* Upgraded build environment to Microsoft Visual Studio 2015 with Update-2
|
||||
* Fixed the location of temporary intermediate files for SoX-based audio effects
|
||||
* Fixed embedding of meta tags with OggEnc2 when reading directly from OGG/FLAC input file
|
||||
* Fixed encoding of *non*-Stereo sources with NeroAAC, when "HE-AAC *v2* (SBR+PS)" is selected
|
||||
* Enabled the "built-in" resampler for QAAC encoder
|
||||
* The "Algorithm Quality" slider now also affects the QAAC encoder
|
||||
* Added "AVX" (Advanced Vector Extensions) to CPU feature detection code
|
||||
|
@ -180,7 +180,15 @@ bool AACEncoder::encode(const QString &sourceFile, const AudioFileModel_MetaInfo
|
||||
args << L1S("-he"); //Forces use of HE AAC profile
|
||||
break;
|
||||
case 3:
|
||||
args << L1S("-hev2"); //Forces use of HEv2 AAC profile
|
||||
if ((channels == 0) || (channels == 2))
|
||||
{
|
||||
args << L1S("-hev2"); //Forces use of HEv2 AAC profile
|
||||
}
|
||||
else
|
||||
{
|
||||
emit messageLogged("WARNING: Cannot use HE-AAC v2 (SBR+PS) with Non-Stereo input --> reverting to HE-AAC (SBR)");
|
||||
args << L1S("-he"); //Forces use of HE AAC profile
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user