Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: QAAC: discussion, questions, feature requests, etc. (Read 680047 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

QAAC: discussion, questions, feature requests, etc.

Reply #550
[qaac] release 2.33 (refalac 1.33)
posted 2 hours ago by nu 774

- Implemented smart padding (same as fdkaac) that minimizes the possibility of gapless playback issue.
You can disable this feature by new option --no-smart-padding. However, --no-smart-padding also disables additional padding at the end of HE-AAC stream that has been implemented as a workaround for CoreAudio encoder bug.
Although I don't recommend using --no-smart-padding, it is mandatory when you want bit-identical bitstream output as iTunes (including it's bugs).
- Fixed fallback sample rate conversion when libsoxr is not present (was not working exactly as intended).
- Improved error messages for the attempt to encode non supported PCM format to ALAC.
- Minor fixes and rewriting.

https://sites.google.com/site/qaacpage/cabinet

QAAC: discussion, questions, feature requests, etc.

Reply #551
refalac64.exe (1.33) crashes when converting multiple files from foobar2000, it open multiple error windows. refalac.exe (1.33 32-bit) works fine.

Error:
Code: [Select]
Problem signature:
  Problem Event Name:    BEX64
  Application Name:    refalac64.exe
  Application Version:    0.0.0.0
  Application Timestamp:    52d7c1a3
  Fault Module Name:    refalac64.exe
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    52d7c1a3
  Exception Offset:    000000000008e62c
  Exception Code:    c0000409
  Exception Data:    0000000000000002
  OS Version:    6.3.9600.2.0.0.256.48
  Locale ID:    1033
  Additional Information 1:    0195
  Additional Information 2:    01957bf7c2d1c23bb30701b39e430e81
  Additional Information 3:    6171
  Additional Information 4:    6171d6e585b1eae8c9cbbac37e14d099

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


edit:
BTW, even a single file from the CLI crashes.

QAAC: discussion, questions, feature requests, etc.

Reply #552
Thx for reporting. Seems like incremental build for refalac64 was broken.
Uploaded re-built binary just now.

QAAC: discussion, questions, feature requests, etc.

Reply #553
Thanks nu774. Also another thing I didn't notice before:

When the conversion is done refalac gives a weird bitrate value: for example with this file it gave me "Overall bitrate: 2.70187e-009kbps"
Code: [Select]
01. Atom Heart Mother.m4a
[100.0%] 23:45.160/23:45.160 (130.7x), ETA 0:00.000
62849556/62849556 samples processed in 0:10.907
Overall bitrate: 2.70187e-009kbps


With refalac64 I get "Overall bitrate: 636.169kbps".
Code: [Select]
01. Atom Heart Mother.m4a
[100.0%] 23:45.160/23:45.160 (151.8x), ETA 0:00.000
62849556/62849556 samples processed in 0:09.390
Overall bitrate: 636.169kbps


I am sure the real bitrate is fine, this is just a test from the command line encoder.

QAAC: discussion, questions, feature requests, etc.

Reply #554
Thanks, it's build seems to be broken in the same way, and probably it doesn't crash by pure luck.
Updated to v3.

QAAC: discussion, questions, feature requests, etc.

Reply #555
Perfect, thank you very much!

QAAC: discussion, questions, feature requests, etc.

Reply #556
Thanks, it's build seems to be broken in the same way, and probably it doesn't crash by pure luck.
Updated to v3.


Hi nu774,

I'm getting the following crash report when trying to convert some FLAC files to AAC. I'm using version QAAC 2.33:

An error occurred while writing to file (The encoder has terminated prematurely with code -1073741515 (0xC0000135); please re-check parameters)

Can you look into this for me.

Alex
lossyWAV -q H | FLAC -5 ~= 480kbps
QAAC 320kbps

QAAC: discussion, questions, feature requests, etc.

Reply #557
akin0780, are you 100% sure you're using v3? First of all I think the problem was just on refalac/refalac64. Everything seems fine here, can you please download qaac right now and try again?

Does an older version of qaac (2.31, 2.32) work fine? I think it's actually a library issue.

QAAC: discussion, questions, feature requests, etc.

Reply #558
akin0780, are you 100% sure you're using v3? Everything seems fine here, can you please download qaac right now and try again?

Does an older version of qaac (2.31, 2.32) work ok? I think it's actually a library issue.


I am 100% sure that I'm using 2.33. I've also tried 2.32: same problem, same error code. Interestingly, 2.31 works perfectly. By the way, foobar2000 serves as my frontend.
lossyWAV -q H | FLAC -5 ~= 480kbps
QAAC 320kbps

QAAC: discussion, questions, feature requests, etc.

Reply #559
I am 100% sure that I'm using 2.33. I've also tried 2.32: same problem, same error code. Interestingly, 2.31 works perfectly. By the way, foobar2000 serves as my frontend.

2.32 or later requires MSVCR120.dll and MSVCP120.dll.
You can extract them together with qaac from qaac_2.33.zip, or download & install from http://www.microsoft.com/en-us/download/de...s.aspx?id=40784.

QAAC: discussion, questions, feature requests, etc.

Reply #560
I am 100% sure that I'm using 2.33. I've also tried 2.32: same problem, same error code. Interestingly, 2.31 works perfectly. By the way, foobar2000 serves as my frontend.

2.32 or later requires MSVCR120.dll and MSVCP120.dll.
You can extract them together with qaac from qaac_2.33.zip, or download & install from http://www.microsoft.com/en-us/download/de...s.aspx?id=40784.


That did the trick! Thanks nu774 and eahm.
lossyWAV -q H | FLAC -5 ~= 480kbps
QAAC 320kbps

 

QAAC: discussion, questions, feature requests, etc.

Reply #561
nu774, makeportable no longer works with the new iTunes 11.1.4.62.

QAAC: discussion, questions, feature requests, etc.

Reply #562
nu774, you need update qaac, because not work properly with new CoreAudioToolbox.dll 7.9.8.4

with new CoreAudioToolbox, qaac add lot of silence into to the end of the song converted.

mayby padding problem with new CoreAudioToolbox????


and makeportable no longer work.

QAAC: discussion, questions, feature requests, etc.

Reply #563
nu774, you need update qaac, because not work properly with new CoreAudioToolbox.dll 7.9.8.4

New one is 7.9.8.5. File and Product version.

Quote
and makeportable no longer work.

Read the post right before yours?

QAAC: discussion, questions, feature requests, etc.

Reply #564
nu774, you need update qaac, because not work properly with new CoreAudioToolbox.dll 7.9.8.4

New one is 7.9.8.5. File and Product version.

Quote
and makeportable no longer work.

Read the post right before yours?

update:
As someone else already stated, the DLLs are inside AppleApplicationSupport.msi now renamed as AppleApplicationSupport_NAME.DLL and the Microsoft runtime folder is still inside AppleMobileDeviceSupport(64).msi



I know that, qaac work fine I made a mistake in the test sorry for that.

QAAC: discussion, questions, feature requests, etc.

Reply #565
makeportable works if you change the string to:

Code: [Select]
7z e -y -oQTfiles -i!*ASL*.dll -i!*CoreAudioToolbox*.dll -i!*CoreFoundation*.dll -i!*icu*.dll -i!*libdispatch*.dll -i!*objc*.dll -i!*pthreadVC2*.dll AppleApplicationSupport.msi

Now nu774 needs to modify qaac to read these new renamed files.

QAAC: discussion, questions, feature requests, etc.

Reply #566
Updated makeportable (should work for both old / new packaging style).
CoreAudioToolbox.dll and others seem to be now linked with Microsoft Visual Studio 2010 C/C++ runtime which is not included in AppleApplicationSupport.msi.

QAAC: discussion, questions, feature requests, etc.

Reply #567
Thanks, where do we get the MS runtime to make it fully portable? Does the old one from qaac work? Also, what should be the new name of the folder "Microsoft.VC80.CRT"?

edit:
nu774, typo in makeportable.cmd line 25: iTunes version number is wrong 1.11.4 instead of 11.1.4.

QAAC: discussion, questions, feature requests, etc.

Reply #568
Updated makeportable (should work for both old / new packaging style).
CoreAudioToolbox.dll and others seem to be now linked with Microsoft Visual Studio 2010 C/C++ runtime which is not included in AppleApplicationSupport.msi.

Thanks, where do we get the MS runtime to make it fully portable? Does the old one from qaac work? Also, what should be the new name of the folder "Microsoft.VC80.CRT"?

It's likely that you already have them in the system, but you can download them from http://support.microsoft.com/kb/2019667 ("Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update" is the latest one you need now).
Files in qaac_2.30.zip should be fine. For local (portable) install, just copy MSVC*.dll under QTportable directory (at the same level as CoreAudioToolbox.dll and others).
Unlike VC80(VS2005), VC10(MSVS2010) C/C++ runtime does not require special directory and manifests.

QAAC: discussion, questions, feature requests, etc.

Reply #569
Perfect done, thanks.

Remember the typo on makeportable

QAAC: discussion, questions, feature requests, etc.

Reply #570
CoreAudioToolbox.dll and others seem to be now linked with Microsoft Visual Studio 2010 C/C++ runtime which is not included in AppleApplicationSupport.msi.

AppleApplicationSupport.msi contains F_CENTRAL_msvcr100_x86.someGUID (=msvcr100.dll)

QAAC: discussion, questions, feature requests, etc.

Reply #571
lvqcl, can we use the 3kB version without any issue? Don't really care anyway, too much work, just run makeportable and done.

edit:
Thanks for the new makeportable nu774.

Nothing crazy but the type is still there: "rem iTunes 1.11.4 and onwards appends "AppleApplicationSupport_" prefix."

QAAC: discussion, questions, feature requests, etc.

Reply #572
AppleApplicationSupport.msi contains F_CENTRAL_msvcr100_x86.someGUID (=msvcr100.dll)

Thanks for pointing it out. Updated makeportable.cmd to extract them.

QAAC: discussion, questions, feature requests, etc.

Reply #573
[qaac] release 2.34 (refalac 1.34)
posted an hour ago by nu 774

- Added experimental option --num-priming to specify arbitrary number of priming samples between 0 and 2112. This option can only be applicable to AAC LC.

- 2112 is the default number of priming samples (delay) of Apple encoder. By specifying smaller value, you get shorter delay. --num-priming=0 is equivalent to --no-delay, and in fact, --no-delay is now re-implemented by --num-priming.

- 1024 or greater should be safe. In many cases, it seems that you can go as low as 576 (=448 + 128, where 448 is the number of borrowed samples from the previous frame for short block case, and 128 is the size of short block) and still be able to achieve perfect gapless playback. However, considering long block case and also the fact that faad (CLI frontend) discards first 1024 samples, setting smaller value than 1024 cannot be said to be always safe.

- When number of priming samples is X where X < 576, decoder should not be able to reconstruct first 576 - X samples at least. Therefore, you should avoid it unless that portion of input is known to be silent.

https://sites.google.com/site/qaacpage/cabinet

nu774, are you going to remove "--no-delay"?

QAAC: discussion, questions, feature requests, etc.

Reply #574
qaac.exe 2.34 x86 doesn't run on Windows XP.  It's flagged to require OS version 6.0 (Vista) or higher.