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 685140 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

QAAC: discussion, questions, feature requests, etc.

Reply #500
ChronoSphere my compliments, I can't even ABX @~96kbps with Vorbis, AAC and Opus. I guess it also depends how hard you try. I realized long time ago if I have to try for more than 10 mins it means the codec is good enough.
Thank you, though I didn't think my hearing to be that good. Incidentally, I tested opus and vorbis for this track, too in the past, and I stopped trying at 192kbps average for both of them. 160kbps was already near my limit, actually, as you can see below. Which is why I'm so surprised about AAC behaving so badly in comparison. Each test takes me about 3-4 minutes I guess.

Code: [Select]
foo_abx 1.3.4 report
foobar2000 v1.2.9
2013/12/08 17:54:25

File A: R:\03. ゆうまお - 蒼空にくちづけたら.flac
File B: R:\03 蒼空にくちづけたら_160.opus

17:54:25 : Test started.
17:55:27 : 01/01  50.0%
17:55:54 : 01/02  75.0%
17:56:20 : 01/03  87.5%
17:56:47 : 02/04  68.8%
17:57:04 : 03/05  50.0%
17:57:52 : 04/06  34.4%
17:58:40 : 04/07  50.0%
17:59:08 : 05/08  36.3%
17:59:25 : 06/09  25.4%
17:59:40 : 07/10  17.2%
18:00:24 : Test finished.

 ----------
Total: 7/10 (17.2%)

Well, from earlier posts, I easily managed to ABX V 127 QAAC

Quote
Code: [Select]
foo_abx 1.3.4 report
foobar2000 v1.1.18
2012/12/25 12:36:05

File A: C:\Users\Olav\Desktop\3929430_Lessons_In_Love_feat__Neon_Trees_Headhunterz_Remix.wav
File B: C:\Users\Olav\Desktop\QAAC TVBR 127\3929430_Lessons_In_Love_feat__Neon_Trees_Headhunterz_Remix.m4a

12:36:05 : Test started.
12:37:08 : 01/01  50.0%
12:38:06 : 02/02  25.0%
12:38:57 : 03/03  12.5%
12:39:42 : 04/04  6.3%
12:42:34 : 05/05  3.1%
12:43:14 : Test finished.

 ----------
Total: 5/5 (3.1%)

Setup was: foo_abx 1.3.4 -> Belkin USB cable -> HRT Music Streamer II -> Steelseries 5HV2.
QAAC v 2.09

So, not surprised you guys managed to abx at lower bitrate. My sample was a completely different genre though. Hardstyle. Could upload a sample if folks are interested

QAAC: discussion, questions, feature requests, etc.

Reply #501
Though I'd say nero's aac encoder did an even poorer job. Or maybe this song is just a problem sample.

Did you try with other AAC encoders like Winamp FhG and FDK ?

QAAC: discussion, questions, feature requests, etc.

Reply #502
No, I have not. Considering qaac is seen as the "best" among aac encoders, I just assumed it would be the same with the other ones.

BTW, eahm, with qaac I get a runtime of 11:44:08 on my clip+, which gives me the following runtimes:
Code: [Select]
mpc -192:        16:13:47
Flac -8:         16:09:49
vorbis q5:        12:17:56
mp3 v0:            11:48:20
qaac -v256:        11:44:08
Wv -hh -b384Mx:    11:17:12
opus 160:        10:38:05


The settings for lossless formats is what I would choose for archival, for lossy, my transparency settings (except for qaac). Someone said my runtimes are shorter than usual, that is probably because I have crossfeed activated.

QAAC: discussion, questions, feature requests, etc.

Reply #503
Thanks for testing, -v256 is kinda a lot, I use -V63 but I'm sure it won't change much. MPC is insane!

Now, just to waste you another day, you should test ALAC and TAK as well

QAAC: discussion, questions, feature requests, etc.

Reply #504
Well considering AAC is still not transparent on that song for me, I'd even have to go higher (as I did with mp3 )
Rockbox can't play TAK, unless that changed recently, btw. Why ALAC? I don't really know of an advantage except if you're already using the apple ecosystem and want to stay native.

QAAC: discussion, questions, feature requests, etc.

Reply #505
btw. Why ALAC? I don't really know of an advantage except if you're already using the apple ecosystem and want to stay native.

Codec-wise, I don't see any advantage in ALAC either.
MP4/M4A container might be attractive for some (iTunes style tag being natively supported by Mac and Microsoft Windows, ability to multiplex video tracks, text tracks for subtitle / karaoke / chapters or something). Who knows?

 

QAAC: discussion, questions, feature requests, etc.

Reply #506
I'm not sure what you're actually considering to do, but in case you want to change codec, and in case that Rockbox plays your new choice is of major concern: Musepack is a good candidate for your new choice IMO. Or lossyWAV | FLAC in case you can allow for higher bitrates.
lame3995o -Q1.7 --lowpass 17

QAAC: discussion, questions, feature requests, etc.

Reply #507
[qaac] release 2.28 (refalac 1.28)
posted 5 hours ago by nu 774
Add new option: --caf. As the name implies, --caf tells qaac to output to CAF container. (HE-)AAC, ALAC, PCM (-D) are supported. Pipe streaming is supported in case of PCM, that can be used to pass audio as well as tags to fdkaac through pipeline.
(Hopefully) better handling of metadata. Non-standard tags such as performer or ISRC are now copied from input (However, some tags such as replaygain related metadata, ripping log, and cuesheet are blacklisted and not copied).
Support ALAC in CAF input from libsndfile. This will only be used by refalac + very recent libsndfile. qaac has already been supporting input of ALAC in CAF through CoreAudio API.
Fix: take care of zero byte text file input, which resulted in MLang text encoding detection failure.

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

QAAC: discussion, questions, feature requests, etc.

Reply #508
Thanks for the update nu774.

QAAC: discussion, questions, feature requests, etc.

Reply #509
I'm not sure what you're actually considering to do, but in case you want to change codec, and in case that Rockbox plays your new choice is of major concern: Musepack is a good candidate for your new choice IMO. Or lossyWAV | FLAC in case you can allow for higher bitrates.
I posted my runtimes with different codecs in the opus thread and eahm asked me to test qaac. I posted the result here to not clog the opus with off-topic.

It was just an "FYI" post, I'm personally using FLAC for convenience reasons of only having to copy the files over and not having to re-scan with replay gain etc. Battery-wise, MPC is only slightly better than FLAC, but currently, I'd go for it if I had space restrictions.

QAAC: discussion, questions, feature requests, etc.

Reply #510
Could anyone here help me to solve this problem. I used to use this command line option for previous versions of qaac (2.23 & 2.25) and it worked well but recently when i update to new version 2.27 or 2.28 , it doesn't work. The error message like this is displayed :

Quote
Conversion failed: The encoder has terminated prematurely with code 2 (0x00000002); please re-check parameters


and here is my command line option :

Quote
-s --cbr 256 --ignorelength --rate keep -q 2 - -o %d


Quote
-s --tvbr 100 --ignorelength --rate keep -q 2 - -o %d


and here is my conversion window :


QAAC: discussion, questions, feature requests, etc.

Reply #511
I've been having the same issues until I ran it from the command line and saw it complaining about not being able to find CoreAudioTools.dll (or similar). Are you sure you have iTunes installed/made portable and in the same folder as qaac?

QAAC: discussion, questions, feature requests, etc.

Reply #512
I've been having the same issues until I ran it from the command line and saw it complaining about not being able to find CoreAudioTools.dll (or similar). Are you sure you have iTunes installed/made portable and in the same folder as qaac?


  Oops , i have removed iTunes for 2 weeks. I thought that CoreAudioTool doesn't require Itunes to be installed. It seems everything is ok if I re-install iTunes. Thanks .

QAAC: discussion, questions, feature requests, etc.

Reply #513
Oops , i have removed iTunes for 2 weeks. I thought that CoreAudioTool doesn't require Itunes to be installed. It seems everything is ok if I re-install iTunes. Thanks .

Strictly speaking you don't need iTunes, but it should be the most simple way if you don't mind installing it.

QAAC: discussion, questions, feature requests, etc.

Reply #514
I've been having the same issues until I ran it from the command line and saw it complaining about not being able to find CoreAudioTools.dll (or similar). Are you sure you have iTunes installed/made portable and in the same folder as qaac?


  Oops , i have removed iTunes for 2 weeks. I thought that CoreAudioTool doesn't require Itunes to be installed. It seems everything is ok if I re-install iTunes. Thanks .

It's ok even without iTunes. You missed something when you setup the portable version.

edit:
Don't copy the folder QTFiles where qaac.exe is but all the files inside QTFiles http://www.hydrogenaudio.org/forums/index....st&p=844462

QAAC: discussion, questions, feature requests, etc.

Reply #515
I've been having the same issues until I ran it from the command line and saw it complaining about not being able to find CoreAudioTools.dll (or similar). Are you sure you have iTunes installed/made portable and in the same folder as qaac?


  Oops , i have removed iTunes for 2 weeks. I thought that CoreAudioTool doesn't require Itunes to be installed. It seems everything is ok if I re-install iTunes. Thanks .

It's ok even without iTunes. You missed something when you setup the portable version.

edit:
Don't copy the folder QTFiles where qaac.exe is but all the files inside QTFiles http://www.hydrogenaudio.org/forums/index....st&p=844462


I cannot explain why but after i try to re-install iTunes everything is ok , qaac is working again. 

QAAC: discussion, questions, feature requests, etc.

Reply #516
I just used Winrar to extract the Apple Application Support .msi from the iTunes installer. It's a separate installer and you don't need to fully install iTunes at all.

QAAC: discussion, questions, feature requests, etc.

Reply #517
You don't need to install AppleApplicationSupport.msi, either. You can extract the contents of it with msiexec:

Code: [Select]
msiexec /a foo.msi /qn TARGETDIR=C:\bar


This would extract the contents of foo.msi to the directory C:\bar without showing you any GUI elements. Wait ten seconds for the extraction to complete, then enter the directory, select the DLL files that qaac needs, copy them to the QTfiles folder, then delete everything else you extracted from AppleApplicationSupport.msi.

QAAC: discussion, questions, feature requests, etc.

Reply #518
I just used Winrar to extract the Apple Application Support .msi from the iTunes installer. It's a separate installer and you don't need to fully install iTunes at all.

You can't install it, the only way is if you use something like CopyTrans Drivers Installer. Or install iTunes then uninstall everything but that one. Did you even try before suggesting? The portable way (using makeportable) is actually easier anyway.

You don't need to install AppleApplicationSupport.msi, either. You can extract the contents of it with msiexec:

Code: [Select]
msiexec /a foo.msi /qn TARGETDIR=C:\bar


This would extract the contents of foo.msi to the directory C:\bar without showing you any GUI elements. Wait ten seconds for the extraction to complete, then enter the directory, select the DLL files that qaac needs, copy them to the QTfiles folder, then delete everything else you extracted from AppleApplicationSupport.msi.

Download makeportable.zip from here https://sites.google.com/site/qaacpage/cabinet

QAAC: discussion, questions, feature requests, etc.

Reply #519
That script seems to run a few unnecessary commands. You need only to extract the relevant DLLs and put them in one of the locations qaac looks for them.


QAAC: discussion, questions, feature requests, etc.

Reply #521
.

QAAC: discussion, questions, feature requests, etc.

Reply #522
That script seems to run a few unnecessary commands. You need only to extract the relevant DLLs and put them in one of the locations qaac looks for them.
What do you think it does?
Code: [Select]
@echo off
setlocal

if not "%~1" == "" (
set installer=%~1
) else if exist iTunes64Setup.exe (
set installer=iTunes64Setup.exe
) else if exist iTunesSetup.exe (
set installer=iTunesSetup.exe
) else if exist QuickTimeInstaller.exe (
set installer=QuickTimeInstaller.exe
) else (
echo installer executable not found
goto end
)

7z e -y %installer% AppleApplicationSupport.msi
if not %errorlevel% == 0 (
echo cannot extract AppleApplicationSupport.msi from installer
goto end
)

mkdir QTfiles\Microsoft.VC80.CRT

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
if not %errorlevel% == 0 (
echo error on extracting AppleApplicationSupport.msi
goto end
)

7z e -y -oQTfiles\Microsoft.VC80.CRT -i!msvcp80.dll.* -i!msvcr80.dll.* -i!manifest.* AppleApplicationSupport.msi
if not %errorlevel% == 0 (
echo error on extracting AppleApplicationSupport.msi
goto end
)

del AppleApplicationSupport.msi

pushd QTfiles\Microsoft.VC80.CRT

rem strip assembly version number from filenames of msvc runtime dlls
for %%f in (msvcr80.dll.*) do move /Y %%f msvcr80.dll
for %%f in (msvcp80.dll.*) do move /Y %%f msvcp80.dll

rem find needless one out of the two manifests and remove it
for /F "delims=:" %%t in ('findstr win32-policy manifest.*') do del %%t

rem rename manifest
for %%f in (manifest.*) do move /Y %%f Microsoft.VC80.CRT.manifest

popd
:end
endlocal

QAAC: discussion, questions, feature requests, etc.

Reply #523
Since it would appear that I am in the wrong, perhaps somebody could enlighten me as to what the purpose is of extracting the msvcr80.dll and msvcp80.dll files? It it just in case the user doesn't have VC++ 2008 runtimes installed already?