QAAC: discussion, questions, feature requests, etc., [originally a thread for a feature request] |
QAAC: discussion, questions, feature requests, etc., [originally a thread for a feature request] |
Nov 22 2010, 07:10
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 22-November 10 Member No.: 85899 |
I have been producing my own modified version of REACT for use in ripping my CDs and have nearly finished the task. I wanted to be able to produce iTunes compatible and tagged .m4a files for individual tracks from the react image.cfg script having ripped to a one-big-file album image with cuefile. I managed to do this with the NeroAAc Encoder, acdir and atomic parsley. I then came across QTAACENC and QAAC which looked very promising as they allow use of the Quicktime dlls.
I totally failed to get either encoder working with ACDIR passing the split wave files into the encoder via STDIN in the analogous manner to that I successfully managed with the Nero encoder. No great loss though because I found QAAC alone can process a OBF wave image and associated cuefile into separate .m4a tracks - and it even tags the .m4a filees with the information taken from the cuefile. Fantastic! I am left with a problem though. When processing from a cuefile QAAC outputs the track files in a format tracknumber[space]tracktitle.m4a and this cannot be changed. I like my files to be formatted thus: tracknumber-tracktitle.m4a. I think I am a competent enough batch file programmer to handle the necessary file rename (just! tracknumber-trackartist-tracktitle.m4a in such an instance. I have looked online for a commandline based rename utility that would read the artist field from the embedded tag and alow me to use that field to rename the files QAAC produces. Unfortunately I haven't found one. (I know I could use something like mp3tag to do the job from a GUI later, but I would like to be able to do it as part of the REACT-based rip operation. I have looked at using the cuefile to extract track based wave files, which come out correctly named, and then to encode the track based wave files without using the cuefile. This results in no embedded tags and quite complicated scripting.) I have no idea how difficult it would be to implement the output of m4a files to a specified filename format with QAAC cuefile processing, but if it is possible, please could the author please consider this as an enhancement request? I had a look at the source code but it is way beyond my skills to make myself an amended version! Thank you very much in advance. (By the way I plan to use the NeroAAcTag utility to add cover art and albumArtist and compilation meta-user tags to the QAAC encoded .m4a files to finish the ripping task. I will be using OBF flac with embedded cover art and cuefile for archiving, and m4a for day to day usage). Incidentally, if one uses QAAC cuesheet processing to produce .m4a files and then inspects the embedded tags with the neroAActage.exe -meta-list command on *.m4a I have noticed that the tools field may have a bug. On a three track CD single, using --ignorelength and --tvbr=125, the note of the tvbr setting is repeated one more time in the field for every successive track in the cuesheet. I don't hink this is a problem with the neroAActag.exe utility because the same repeated data is visible with the Audio Shell v1.3.5 utility! This problem is not a showstopper so far as I can see, but I haven't tried to do a sizable encoding task, and I wondered if it might cause a field overflow in such a situation. example from Audio Shell v1..3.5 for the m4a file produced as track "03 Tracktitle" from the cuesheet: Encoder: qaac 0.20, Quicktime 7.6.8 TVBR Quality 125, TVBR Quality 125, TVBR Quality 125, I am using windows XP SP3 (up to date fixes), QAAC 0.20 and Quicktime 7.6.8 The quality setting was merely an experiment. To bring a verbose post to an end. Thank you for producing this utility. I will find a workaround if you can't help. |
|
|
|
![]() |
Oct 23 2011, 05:10
Post
#2
|
|
|
Group: Members Posts: 2 Joined: 23-October 11 Member No.: 94643 |
Why such different results? do the two applications really work that differently, when using more or less the same arguments?
I assumed since they both use quicktime that it would be similar results, just different methods of getting the job done. Some of the tagging is different for the container, and a lot of that I dont even understand, but there is an obvious difference in the average bitrate for the audio stream between the two. Both qtaacenc and qaac use a range of 0-127 for tvbr, so I am a little confused... example: CODE E:\AviSynth\Wavi bd.avs - | qtaacenc --tvbr 90 --highest --samplerate keep --ignorelength - qtaacenc.m4a E:\AviSynth\Wavi bd.avs - | qaac --tvbr 90 --quality 2 --rate keep --ignorelength - -o qaac.m4a cmd window: ![]() qaac encoded m4a mediainfo: CODE General Complete name : E:\AviSynth\qaac.m4a Format : MPEG-4 Format profile : Apple audio with iTunes info Codec ID : M4A File size : 1.17 MiB Duration : 33s 259ms Overall bit rate mode : Variable Overall bit rate : 295 Kbps Encoded date : UTC 2011-10-23 03:57:01 Tagged date : UTC 2011-10-23 03:57:05 Writing application : qaac 0.91, QuickTime 7.7.0, MPEG-4 AAC Encoder 1.7.1, Variable Bit Rate q91, Best Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 33s 259ms Bit rate mode : Variable Bit rate : 288 Kbps Maximum bit rate : 355 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 1.16 MiB (99%) Encoded date : UTC 2011-10-23 03:57:01 Tagged date : UTC 2011-10-23 03:57:05 qtaacenc encoded m4a mediainfo: CODE General
Complete name : E:\AviSynth\qtaacenc.m4a Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 1.62 MiB Duration : 33s 259ms Overall bit rate mode : Variable Overall bit rate : 409 Kbps Encoded date : UTC 2011-10-23 04:56:58 Tagged date : UTC 2011-10-23 04:56:58 Writing application : qtaacenc 20110816, QuickTime 7.7.0, True VBR Quality 90 Encoding Params : (Binary) Audio ID : 1 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 33s 259ms Bit rate mode : Variable Bit rate : 407 Kbps Maximum bit rate : 428 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 1.61 MiB (99%) Language : English Encoded date : UTC 2011-10-23 04:56:58 Tagged date : UTC 2011-10-23 04:56:58 This post has been edited by xekon: Oct 23 2011, 05:20 |
|
|
|
Oct 23 2011, 06:00
Post
#3
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
Hi,
As far as I know, 5.1ch encoding with qtaacenc is not properly working, due to QuickTime side mixer problem. qaac has built in workaround for it. Listen to the result, and confirm the channel layout. However, I also confirmed that qtaacenc doesn't produce the same bitstream as qaac, even on 2ch stereo. I tried on qtaacenc version 20110816 by tmkk; Try --cvbr 256 on qaac, and compare them with "iTunes Plus" encoding by iTunes. Also, try the same with qtaacenc. On qaac, at least --cvbr 256 produces the exactly same bitstream with iTunes Plus. You can use foobar2000 "bit compare" menu or something for it. Also, if you have working Python interpreter (version 2.x), you can use my silly script (mdatcmp.py) to simply compare mdat in mp4 files. https://github.com/nu774/mdatcmp However, I couldn't get the same result with qtaacenc. Maybe I'm missing something... |
|
|
|
Oct 23 2011, 06:20
Post
#4
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
I'm sorry, forget about 2ch difference in the previous post.
It seems there was a problem in my enviromnent / testing. |
|
|
|
Oct 23 2011, 07:06
Post
#5
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
It seems that new iTunes 10.5.0 (which doesn't require QT) produces different result for iTunesPlus
compared to iTunes 10.4.1... When I tested before, qaac -v256 used to produce the same result with iTunes 10.4.1, but not with 10.5.0; I tried to downgrade iTunes to re-confirm it, but unfortunately my iTunes library is already upgraded to 10.5.0, so iTunes refused to start up. Anyway, this is what I have encoded with the both version; https://sites.google.com/site/qaacpage/cabi...rects=0&d=1 Could someone confirm this? |
|
|
|
Oct 26 2011, 02:50
Post
#6
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
Hi, forget about this post.
It seems that iTunes 10.5 installs new CoreAudioToolBox.dll. It's version is 7.9.7.3, and the same as QT 7.7.0; However, it's a bit bigger in size, and seems AAC encoder is updated. I confirmed qaac -v256 produces identical bitstream as iTunesPlus of iTunes 10.5. It seems that new iTunes 10.5.0 (which doesn't require QT) produces different result for iTunesPlus compared to iTunes 10.4.1... When I tested before, qaac -v256 used to produce the same result with iTunes 10.4.1, but not with 10.5.0; I tried to downgrade iTunes to re-confirm it, but unfortunately my iTunes library is already upgraded to 10.5.0, so iTunes refused to start up. Anyway, this is what I have encoded with the both version; https://sites.google.com/site/qaacpage/cabi...rects=0&d=1 Could someone confirm this? |
|
|
|
Nov 5 2011, 22:43
Post
#7
|
|
|
Group: Members Posts: 1 Joined: 5-November 11 Member No.: 94984 |
I confirmed qaac -v256 produces identical bitstream as iTunesPlus of iTunes 10.5. Interesting. I'm not getting identical files with qaac -v256 and iTunes Plus via iTunes 10.5.0.142. CoreAudioToolbox.dll is version 7.9.7.8. Disclaimer: I'm no expert. (I only just registered to post this!) Source material was a standard CD quality WAV ripped by EAC, than manually pushed through iTunes and qaac separately. I assumed I'd see identical output files from each, hence I stumbled across this thread. But perhaps I'm making a newbie mistake, overlooking something obvious, or simply don't know what I'm talking about. Edit: Ignore me. I keyed in on the "bitstream" part and realized that the files can be non-identical while the bitstream is the same. (Though I'm not 100% sure I understand where the file differences actually are.) Downloaded and used the foobar Bit Compare component to confirm the qaac/iTunes bitsreams are, in fact, identical. My bad! Told you I was a newbie... This post has been edited by overfloater: Nov 5 2011, 23:06 |
|
|
|
twinspex QAAC: discussion, questions, feature requests, etc. Nov 22 2010, 07:10
nu774 Hi. I'm author of qaac.
I'm a Japanese, so... Nov 22 2010, 10:40
nu774 Released 0.22 with new --fname-format option.
The ... Nov 22 2010, 17:05
twinspex Thank you for your efforts. I will try out v0.22 a... Nov 22 2010, 20:19
twinspex I just found out I don't have permission to ed... Nov 22 2010, 21:48
Anakunda Hello,
can I choose a better level of compression... Jul 1 2011, 23:29
mixminus1 I don't think anyone can figure out how to cha... Jul 2 2011, 01:58
Anakunda OK thanks. Dealing with QAAC I wanted yet to know ... Jul 2 2011, 06:23
nu774 It should be the same at the AAC bitstream level (... Jul 5 2011, 02:51
dpr Hi,
I'd like to request that support is added... Aug 23 2011, 15:27
nu774 Hi,
Thanks for suggestion.
Technically, qaac uses ... Aug 24 2011, 02:05
dpr Thanks for considering the request Aug 25 2011, 12:07
ShotCaller Does anyone know why QAAC comes with speex for res... Sep 7 2011, 07:15
nu774 QUOTE (ShotCaller @ Sep 7 2011, 15:15) Do... Sep 10 2011, 10:07
subinbar Just a heads up - looks like qaac now reorders mul... Sep 8 2011, 08:22
no404error QUOTE (subinbar @ Sep 8 2011, 10:22) Just... Sep 8 2011, 11:27
subinbar nu774 - is it possible to use qaac in dbPowerAmp?
... Sep 10 2011, 08:18
lvqcl According to my tests, QT resamples with different... Sep 10 2011, 11:00
nu774 QUOTE (lvqcl @ Sep 10 2011, 19:00) Accord... Sep 10 2011, 11:34
ShotCaller Perhaps the quality is better, but I am having a p... Sep 10 2011, 20:55
lvqcl When qaac uses Speex it creates temporary file wit... Sep 10 2011, 21:31
nu774 [qaac] release 0.63
Fixed problem in --downmix op... Sep 11 2011, 04:28
Boulder While testing qaac 0.91 with commandline
CODEeac3... Oct 15 2011, 23:22
lvqcl use -o switch for output filename:
qaac.exe --tvb... Oct 15 2011, 23:36
Boulder Thanks! Oct 15 2011, 23:38
Boulder QUOTE (nu774 @ Oct 26 2011, 04:50) Hi, fo... Oct 26 2011, 08:02

nu774 Hi,
Oh, really? From explorer property view, in m... Oct 26 2011, 10:01
Larson I found a bug with QAAC when converting to tvbr wi... Oct 23 2011, 09:09
nu774 QUOTE (Larson @ Oct 23 2011, 17:09) I fou... Oct 23 2011, 09:44
xekon QUOTE (nu774 @ Oct 22 2011, 21:00) Hi,
As... Oct 24 2011, 00:11
Boulder Seems that my version also has the same md5 sum so... Oct 26 2011, 10:32
lvqcl QUOTE I wonder why explorer says 7.9.7.3 in my env... Oct 26 2011, 15:35
nu774 QUOTE (lvqcl @ Oct 26 2011, 23:35) QUOTE ... Oct 26 2011, 16:34
Larson nu744 could you please tell me how refalac works? ... Oct 31 2011, 09:52
nu774 QUOTE (Larson @ Oct 31 2011, 17:52) nu744... Oct 31 2011, 10:12
Larson still not working for me but thanks for answering... Oct 31 2011, 10:20
nu774 QUOTE (Larson @ Oct 31 2011, 18:20) still... Oct 31 2011, 10:34
Pusherman QUOTE (Larson @ Oct 31 2011, 12:20) still... Oct 31 2011, 13:27
Larson EDIT: it works now, thank you! Oct 31 2011, 13:52
kareha Has anyone managed to get the --artwork option to ... Nov 6 2011, 14:38
lvqcl Copy folder.jpg to the destination folder and see ... Nov 6 2011, 15:05
nu774 Hi,
It will work only if you have folder.jpg in en... Nov 6 2011, 15:07
awx QUOTE (nu774 @ Nov 6 2011, 16:07) Hi,
It ... Dec 4 2011, 16:50
kareha Still can't get it to work, I'm encoding f... Nov 6 2011, 15:24
nu774 QUOTE (kareha @ Nov 6 2011, 23:24) Still ... Nov 6 2011, 15:44
kareha QUOTE (nu774 @ Nov 6 2011, 15:44) Please ... Nov 6 2011, 16:06
ainou Hello all,
Can someone explain me why this comand... Nov 8 2011, 01:01
nu774 QUOTE (ainou @ Nov 8 2011, 09:01) Whateve... Nov 8 2011, 07:07
YumeYao I've encountered some problem:
I'm runnin... Nov 8 2011, 04:01
nu774 CODESo when I'm using foobar2k to convert a mu... Nov 8 2011, 07:24
YumeYao Sorry,
in my last post I was to say all 4 tests by... Nov 9 2011, 06:42
subinbar nu774, would it be possible to use only qaac.exe a... Nov 10 2011, 23:59
nu774 QUOTE (subinbar @ Nov 11 2011, 07:59) nu7... Nov 11 2011, 01:53
subinbar QUOTE (nu774 @ Nov 11 2011, 02:53) QUOTE ... Nov 11 2011, 04:01
nu774 QUOTE (subinbar @ Nov 11 2011, 12:01) awe... Nov 11 2011, 05:44
lvqcl QUOTE (nu774 @ Nov 11 2011, 08:44) Direct... Nov 11 2011, 15:38
nu774 QUOTE (lvqcl @ Nov 11 2011, 23:38) And al... Nov 12 2011, 04:04
Xenion I'm very impressed by the continuity qaac is d... Nov 11 2011, 09:27
DARcode I'm pretty impressed too, just switched to qaa... Nov 11 2011, 14:53
nu774 QUOTE (DARcode @ Nov 11 2011, 22:53) I... Nov 11 2011, 15:08
DARcode QUOTE (nu774 @ Nov 11 2011, 15:08) QUOTE ... Nov 11 2011, 15:33
Larson nu774, first of all thank you for the impressing w... Nov 12 2011, 10:36
nu774 Yes, it is same as kAudioCodecQuailityMax, as for ... Nov 12 2011, 11:39
lvqcl AFAIK it's not possible to pass the name of th... Dec 4 2011, 16:58
LigH ExactAudioCopy 1.0 b2 supports qaac well, the opti... Dec 13 2011, 09:51
nu774 QUOTE (LigH @ Dec 13 2011, 17:51) ExactAu... Dec 13 2011, 14:23
LigH Regarding the philosophy of the EAC 1.0 option set... Dec 13 2011, 14:38
nu774 QUOTE (LigH @ Dec 13 2011, 22:38) I'm... Dec 13 2011, 14:44
Soren I don't what i'm doind wrong, but i can... Dec 19 2011, 07:04
nu774 Please post foobar2000 console message (view->c... Dec 19 2011, 09:15
marc2003 the previous post says that message is from the co... Dec 19 2011, 11:57
nu774 QUOTE (marc2003 @ Dec 19 2011, 19:57) the... Dec 19 2011, 12:40
Soren Thanks for replying guys, but the problem is solve... Dec 19 2011, 15:01
holyrevenger @nu774
On my system (i5-2410m/win7x64/fb2k1.1.10/... Dec 24 2011, 03:15
nu774 QUOTE (holyrevenger @ Dec 24 2011, 11:15)... Dec 24 2011, 05:28
lvqcl I installed QT Lite 4.10 (into vritual machine ).... Dec 24 2011, 10:41
nu774 QUOTE (lvqcl @ Dec 24 2011, 18:41) I inst... Dec 24 2011, 12:24
nu774 I quickly investigated on this further. Seems like... Dec 24 2011, 15:12
Anakunda HI is it possible encode 2.1 audio without losing ... Dec 24 2011, 11:21
nu774 QUOTE (Anakunda @ Dec 24 2011, 19:21) HI ... Dec 24 2011, 12:11
holyrevenger @nu774
Thanks for your advice.
Think of the versi... Dec 25 2011, 09:59
Bostedclog Hello hydrogenaudio Im a newbee on here and this i... Dec 29 2011, 20:51
nu774 QUOTE (Bostedclog @ Dec 30 2011, 04:51) F... Dec 30 2011, 02:24
Bostedclog So the x86 is the 32 bit exe file? God Im dumb. T... Dec 30 2011, 09:07
LigH Are you trying to execute a 64-bit application on ... Dec 29 2011, 21:07
LigH "x86" once had the meaning of "inte... Dec 30 2011, 10:00
Bostedclog QUOTE (LigH @ Dec 30 2011, 09:00) "x... Dec 30 2011, 11:43
Boulder Was the message that showed channel remapping lost... Dec 30 2011, 21:26
nu774 QUOTE (Boulder @ Dec 31 2011, 05:26) Was ... Dec 31 2011, 03:16
nu774 Released 1.18 now. Enabled channel layout printing... Jan 1 2012, 12:05
Boulder QUOTE (nu774 @ Jan 1 2012, 14:05) Release... Jan 1 2012, 12:38
LigH Good to see that qaac is supported quite well; my ... Dec 30 2011, 21:36
Bostedclog Before I decide to encode all of my music to qaac ... Jan 2 2012, 23:01
Kohlrabi QUOTE (Bostedclog @ Jan 2 2012, 23:01) Be... Jan 2 2012, 23:09![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 19:14 |