lordmulder / LameXP

Audio Encoder Front-End
http://lordmulder.github.io/LameXP
Other
186 stars 18 forks source link

AAC output option is greyed out #64

Closed ghost closed 6 years ago

ghost commented 6 years ago

The AAC output option is greyed out in LameXP. I downloaded the QAAC add-in from the LameXP sourceforge page, and tried with previous QAAC versions as well, as with the stable and beta release of LameXP. This is the console output for LameXP:

LameXP - Audio Encoder Front-End v4.16 Beta-9 (Build #2102)
Copyright (c) 2004-2018 LoRd_MuldeR <mulder2@gmx.de>. Some rights reserved.
Built on 2018-03-16 at 20:49:41 with MSVC 2017.6 for Win-x86.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License <http://www.gnu.org/>.
Note that this program is distributed with ABSOLUTELY NO WARRANTY.

This application is powerd by MUtils library v1.08 (2018-03-16, 20:49:08).

Command-Line Arguments:
--console

   CPU vendor id  :  GenuineIntel (Intel=1)
CPU brand string  :        Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
   CPU signature  :  Family=6, Model=58, Stepping=9
CPU architecture  :  x64 (64-Bit)
CPU capabilities  :  CMOV=1, MMX=1, SSE=1, SSE2=1, SSE3=1, SSSE3=1
CPU capabilities  :  SSE4.1=1, SSE4.2=1, AVX=1, AVX2=0, FMA3=0, LZCNT=0
 Number of CPU's  :  8

Using Qt v4.8.7 [2017-08-20], Static, Windows msvc release full-config
Compiled with Qt v4.8.7, Windows msvc release full-config

Running on Windows 10 or Windows Server 2016 (NT v10.0.16299).

Failed to resolve function: ntdll::wine_get_version
Library Path:
C:/Program Files (x86)/MuldeR/LameXP

SetConsoleIcon() has failed! [Error: 0x00004001]
Process token elevation type: Limited -> not elevated.

Note: This demo (pre-release) version of LameXP will expire at 2018-04-15.

Selected CPU is: CPU_TYPE_X64_AVX
Extracting file: aften.x64.exe -> aften.exe
Extracting file: dcaenc.exe -> dcaenc.exe
Extracting file: avs2wav.exe -> avs2wav.exe
Extracting file: faad.avx.exe -> faad.exe
Extracting file: flac.x64-avx.exe -> flac.exe
Extracting file: gpgv.exe -> gpgv.exe
Extracting file: lame.x64-avx.exe -> lame.exe
Extracting file: keyring.gpg -> keyring.gpg
Extracting file: mac.x64-avx.exe -> mac.exe
Extracting file: mpcdec.exe -> mpcdec.exe
Extracting file: mediainfo.x64.exe -> mediainfo.exe
Extracting file: mpg123.avx.exe -> mpg123.exe
Extracting file: oggenc2.x64.exe -> oggenc2.exe
Extracting file: tag.exe -> tag.exe
Extracting file: mcat.exe -> mcat.exe
Extracting file: opusdec.avx.exe -> opusdec.exe
Extracting file: opusenc.avx.exe -> opusenc.exe
Extracting file: refalac.x64.exe -> refalac.exe
Extracting file: shorten.exe -> shorten.exe
Extracting file: sox.avx.exe -> sox.exe
Extracting file: speexdec.exe -> speexdec.exe
Extracting file: tta.exe -> tta.exe
Extracting file: oggdec.exe -> oggdec.exe
Extracting file: valdec.exe -> valdec.exe
Extracting file: wget.exe -> wget.exe
Extracting file: wma2wav.exe -> wma2wav.exe
Extracting file: wupdate.exe -> wupdate.exe
Extracting file: wvunpack.x64-avx.exe -> wvunpack.exe
All extracted.

Extracting the tools took 0.130 seconds (OK).

Registering translation: LameXP_DE.qm = Deutsch (42) [0]
Registering translation: LameXP_EN.qm = English (31) [0]
Registering translation: LameXP_ES.qm = Español (111) [0]
Registering translation: LameXP_FR.qm = Française (37) [0]
Registering translation: LameXP_HU.qm = Magyar (50) [0]
Registering translation: LameXP_IT.qm = Italiano (58) [0]
Registering translation: LameXP_KR.qm = 한국어 (66) [0]
Registering translation: LameXP_PL.qm = Polski (90) [0]
Registering translation: LameXP_RU.qm = Русский (96) [0]
Registering translation: LameXP_SV.qm = Svenska (114) [0]
Registering translation: LameXP_TW.qm = 繁体中文 (25) [208]
Registering translation: LameXP_UK.qm = Українська (129) [0]
Registering translation: LameXP_ZH.qm = 简体中文 (25) [44]
All registered.

NeroAAC encoder binaries not found -> Encoding support will be disabled!

FdkAacEnc encoder binaries not found -> Encoding support will be disabled!

FhgAacEnc encoder binaries not found -> Encoding support will be disabled!

QAACx64 encoder binaries not found -> Encoding support will be disabled!

Found QAAC encoder binary:
C:/Program Files (x86)/MuldeR/LameXP/qaac.exe

QAAC version could not be determined -> Encoding support will be disabled!
[Locale]
Language: English (31)
Country is: UnitedKingdom (224)
Script is: Default (0)
lordmulder commented 6 years ago

Hello,

it appears that something is wrong with your QAAC: QAAC version could not be determined -> Encoding support will be disabled!

Please be sure you use LameXP.qaac-addin.2017-12-15.zip and that you follow the INSTALL INSTRUCTIONS in the included README file exactly. Especially be sure that "Apple Application Support" is installed!

1. Download and install the latest iTunes for Windows. Alternatively you can download
   and install the latest QuickTime for Windows. If you want to avoid installing
   QuickTime or iTunes, it is sufficient to install *only* the "Apple Application
   Support" package. Note that, if the 64-Bit version is used, the 64-Bit version of
   the "Apple Application Support" package must be installed!

2. Copy "qaac.exe" and its companion DLL's from this package into the same directory
   where your LameXP executable is located. All the DLL's ("libsoxr.dll" plus
   "libsoxconvolver.dll") must be extracted into the same directory as "qaac.exe".

   Important notes:
      a) If the "x64" (64-Bit) version is used, the binaries are called "qaac64.exe",
         "libsoxr64.dll" and "libsoxconvolver64.dll".
      b) The "CPU-optimized" versions (e.g. the SSE2, AVX or AVX2 version) only work
         correctly on a suitable processor!
      c) Please *rename* the "CPU-optimized" binary files to just "qaac[64].exe",
         "libsoxconvolver[64].dll" and "libsoxr[64].dll".

   When installed correctly, your LameXP directory should look like this:
      BasePath\
      ├─ LameXP.exe
      ├─ qaac[64].exe
      ├─ libsoxconvolver[64].dll
      ├─ libsoxr[64].dll
      └─ etc…

3. Now restart LameXP, if it's already running. Run LameXP with parameter "--console"
   to check whether QAAC is detected correctly! You can also run the "qaac[64].exe"
   program with parameter "--check" in order to see if all DLLs are loaded correctly.

Also, please try running qaac.exe --check from the LameXP install directory. The expected output is:

image

Regards, MuldeR

ghost commented 6 years ago

Oh, I have just recently uninstalled iTunes, so off with it went the "Apple Application Support" package. The problem goes away when I install the package.

Maybe you should consider putting a warning, or a reminder in the command line diags?

Thanks.

lordmulder commented 6 years ago

If "Apple Application Support" is not installed, you get:

image

It would not be easy to add a QAAC-specific warning for this special case to LameXP, because the same code used to detect the QAAC version is also used for other "external" tools - only with different Regex.

Regards, MuldeR