title
Products            Buy            Support Forum            Professional            About            Codec Central
 

QAAC CLI Encoder errors.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JII

    • Mar 2015
    • 18

    #31
    Re: QAAC CLI Encoder errors.

    After reading https://github.com/nu774/qaac/wiki/E...-configuration I think your tvbr values choises are more logical. Sample Rate is a useful option though. Here is my new encoder.txt version (with some cosmetic/explenations improvements in my opinion) :

    Code:
    [codec]
    .m4a
    qaac.exe
    
    [msgifnoencoder]
    Before using this encoder a seperate component must first be installed from https://sites.google.com/site/qaacpage/ .
    
    [radio&slider]
    4
    24
    292
    1
    10
    0
    Quality (tVBR)
    
    8
    True Variable Bite Rate: Quality 0 (~40kbps)
    -V 0 
    True Variable Bite Rate: Quality 9 (~47kbps)
    -V 9 
    True Variable Bite Rate: Quality 18 (~55kbps)
    -V 18 
    True Variable Bite Rate: Quality 27 (~65kbps)
    -V 27 
    True Variable Bite Rate: Quality 36 (~75kbps)
    -V 36 
    True Variable Bite Rate: Quality 45 (~90kbps)
    -V 45 
    True Variable Bite Rate: Quality 54 (~105kbps)
    -V 54 
    True Variable Bite Rate: Quality 63 (~125kbps)
    -V 63 
    True Variable Bite Rate: Quality 73 (~145kbps)
    -V 73 
    True Variable Bite Rate: Quality 82 (~165kbps)
    -V 82 
    True Variable Bite Rate: Quality 91 (~195kbps)
    -V 91 
    True Variable Bite Rate: Quality 100 (~230kbps)
    -V 100 
    True Variable Bite Rate: Quality 109 (~265kbps)
    -V 109 
    True Variable Bite Rate: Quality 118 (~300kbps)
    -V 118 
    True Variable Bite Rate: Quality 127 (~335kbps)
    -V 127
    [/sliderend]
    80
    0
    Bit Rate (ABR)
    
    9
    Average Bit Rate: 16 Kbps
    -a 16 
    Average Bit Rate: 24 Kbps
    -a 24 
    Average Bit Rate: 32 Kbps
    -a 32 
    Average Bit Rate: 48 Kbps
    -a 48 
    Average Bit Rate: 56 Kbps
    -a 56 
    Average Bit Rate: 64 Kbps
    -a 64 
    Average Bit Rate: 80 Kbps
    -a 80 
    Average Bit Rate: 96 Kbps
    -a 96 
    Average Bit Rate: 128 Kbps
    -a 128  
    Average Bit Rate: 144 Kbps
    -a 144  
    Average Bit Rate: 160 Kbps
    -a 160  
    Average Bit Rate: 192 Kbps
    -a 192  
    Average Bit Rate: 224 Kbps
    -a 224  
    Average Bit Rate: 256 Kbps
    -a 256 
    Average Bit Rate: 320 Kbps
    -a 320 
    Average Bit Rate: Highest Possible
    -a 0
    [/sliderend]
    154
    0
    Bit Rate (cVBR)
    
    9
    Constrained Variable Bit Rate: 16 Kbps
    -v 16 
    Constrained Variable Bit Rate: 24 Kbps
    -v 24 
    Constrained Variable Bit Rate: 32 Kbps
    -v 32 
    Constrained Variable Bit Rate: 48 Kbps
    -v 48 
    Constrained Variable Bit Rate: 56 Kbps
    -v 56 
    Constrained Variable Bit Rate: 64 Kbps
    -v 64 
    Constrained Variable Bit Rate: 80 Kbps
    -v 80 
    Constrained Variable Bit Rate: 96 Kbps
    -v 96 
    Constrained Variable Bit Rate: 128 Kbps
    -v 128 
    Constrained Variable Bit Rate: 144 Kbps
    -v 144 
    Constrained Variable Bit Rate: 160 Kbps
    -v 160 
    Constrained Variable Bit Rate: 192 Kbps
    -v 192 
    Constrained Variable Bit Rate: 224 Kbps
    -v 224 
    Constrained Variable Bit Rate: 256 Kbps
    -v 256 
    Constrained Variable Bit Rate: 320 Kbps
    -v 320 
    Constrained Variable Bit Rate: Highest Possible
    -v 0 
    [/sliderend]
    220
    0
    Bit Rate (CBR)
    
    9
    Constant Bit Rate: 16 Kbps
    -c 16 
    Constant Bit Rate: 24 Kbps
    -c 24 
    Constant Bit Rate: 32 Kbps
    -c 32 
    Constant Bit Rate: 48 Kbps
    -c 48 
    Constant Bit Rate: 56 Kbps
    -c 56 
    Constant Bit Rate: 64 Kbps
    -c 64 
    Constant Bit Rate: 80 Kbps
    -c 80 
    Constant Bit Rate: 96 Kbps
    -c 96 
    Constant Bit Rate: 128 Kbps
    -c 128 
    Constant Bit Rate: 144 Kbps
    -c 144 
    Constant Bit Rate: 160 Kbps
    -c 160 
    Constant Bit Rate: 192 Kbps
    -c 192 
    Constant Bit Rate: 224 Kbps
    -c 224 
    Constant Bit Rate: 256 Kbps
    -c 256 
    Constant Bit Rate: 320 Kbps
    -c 320 
    Constant Bit Rate: Highest Possible
    -c 0 
    [/sliderend]
    
    
    [label]
    10
    44
    low quality (smaller file)
    808080
    
    
    [label]
    216
    44
    high quality (larger file)
    808080
    
    
    [combo]
    60
    66
    110
    1
    LC AAC
     
    HE AAC (< 84 kbps) (not tVBR)
    --he 
    
    
    [combo]
    180
    66
    110
    1
    Keep sampling rate
    
    Auto (lower on low bitrate)
    -r auto 
    44.1kHz sampling rate
    -r 44100 
    48.0kHz sampling rate
    -r 48000 
    
     
    [clistring]
    -o "[outfile]" --no-optimize -q2 -
    
    
    [minfreq]
    8000
    
    
    [maxfreq]
    96000
    
    
    [maxchannels]
    6
    Of course still no working in 64 bits...

    Comment

    • AndersHu

      • Apr 2008
      • 28

      #32
      Re: QAAC CLI Encoder errors.

      Can you try to open a command prompt and run
      "C:\Program Files\dBpoweramp\encoder\CLI Encoder\qaac64.exe" --check

      Comment

      • JII

        • Mar 2015
        • 18

        #33
        Re: QAAC CLI Encoder errors.

        ERROR: CoreAudioToolbox.dll: Le module spécifié est introuvable.

        Thank you it let me understand the problem and find the solution. There is two versions of CoreAudioToolbox.dll; 32 and 64bits. CoreAudioToolbox.dll 64 can be installed by installing AppleApplicationSupport64.msi which is harder to find than AppleApplicationSupport.msi. Last version is included in iTunes 12.1 (but not in Itunes 12.1.1 neither in Quicktime 7.7.6...thank you Apple...). qaac64.exe 64 need 64bits version of CoreAudioToolbox.dll and qaac.exe 32bits version of CoreAudioToolbox.dll.

        Works perfect with my encoder.txt above (just change qaac by qaac64).

        Thank's again !

        Comment

        • JII

          • Mar 2015
          • 18

          #34
          Re: QAAC CLI Encoder errors.

          After using it a little, I don't see reason to deactivate default m4a optimization (Am I wrong ?). Moreover the encoder support up to 8 channels and I didn't found frequency limitation. Here is my new (last ?) encoder.txt version, if it can interest someone...(no need to "-q2" too which is the default encoder behaviour)
          Code:
          [codec]
          .lossy.wav
          lossyWAV.exe
          
          [msgifnoencoder]
          Before using this encoder a seperate component must first be installed from http://www.hydrogenaud.io/forums/index.php?showtopic=107081&st=0 . Separate component http://www.fftw.org/install/windows.html can be installed to increase processing speed.
          
          [slider]
          4
          24
          292
          4
          Extraportable (lowest quality output, not fully transparent)
          -q X
          Portable (good quality output for DAP use, may not be transparent)
          -q P
          Economic (intermediate quality output, likely to be transparent)
          -q C
          Standard (default quality output, considered to be transparent)
          -q S
          High (high quality output, suitable for transcoding)
          -q H
          Extreme (higher quality output, suitable for transcoding)
          -q E
          Insane (highest quality output, suitable for transcoding)
          -q I
          
          [label]
          10
          44
          low quality (smaller file)
          808080
          
          [label]
          216
          44
          high quality (larger file)
          808080
          
          [combo]
          60
          66
          110
          1
          No correction file for lossless encoding 
           
          Write correction file for lossless encoding (lwcdf.wav)
          -C
           
          
          [clistring]
          -c -
          
          [highestqualitydecode]
          By the way, (Spoon are you here ? ), I think it were nice to have a place where we can found "official" version of encoder.txt for encoder not provided in codec central. It could simply be a link from codec central with last encoder.txt provided by "community".
          Last edited by JII; April 11, 2015, 08:12 PM.

          Comment

          • JII

            • Mar 2015
            • 18

            #35
            Re: QAAC CLI Encoder errors.

            Oops...I paste a wrong code...(other codec and non functional)

            Her is the good one :
            Code:
            [codec]
            .m4a
            qaac64.exe
            
            [msgifnoencoder]
            Before using this encoder a seperate component must first be installed from https://sites.google.com/site/qaacpage/ .
            
            [radio&slider]
            4
            24
            292
            1
            10
            0
            Quality (tVBR)
            
            8
            True Variable Bite Rate: Quality 0 (~40kbps)
            --tvbr 0 
            True Variable Bite Rate: Quality 9 (~47kbps)
            --tvbr 9 
            True Variable Bite Rate: Quality 18 (~55kbps)
            --tvbr 18 
            True Variable Bite Rate: Quality 27 (~65kbps)
            --tvbr 27 
            True Variable Bite Rate: Quality 36 (~75kbps)
            --tvbr 36 
            True Variable Bite Rate: Quality 45 (~90kbps)
            --tvbr 45 
            True Variable Bite Rate: Quality 54 (~105kbps)
            --tvbr 54 
            True Variable Bite Rate: Quality 63 (~125kbps)
            --tvbr 63 
            True Variable Bite Rate: Quality 73 (~145kbps)
            --tvbr 73 
            True Variable Bite Rate: Quality 82 (~165kbps)
            --tvbr 82 
            True Variable Bite Rate: Quality 91 (~195kbps)
            --tvbr 91 
            True Variable Bite Rate: Quality 100 (~230kbps)
            --tvbr 100 
            True Variable Bite Rate: Quality 109 (~265kbps)
            --tvbr 109 
            True Variable Bite Rate: Quality 118 (~300kbps)
            --tvbr 118 
            True Variable Bite Rate: Quality 127 (~335kbps)
            --tvbr 127
            [/sliderend]
            80
            0
            Bit Rate (ABR)
            
            9
            Average Bit Rate: 16 Kbps
            --abr 16 
            Average Bit Rate: 24 Kbps
            --abr 24 
            Average Bit Rate: 32 Kbps
            --abr 32 
            Average Bit Rate: 48 Kbps
            --abr 48 
            Average Bit Rate: 56 Kbps
            --abr 56 
            Average Bit Rate: 64 Kbps
            --abr 64 
            Average Bit Rate: 80 Kbps
            --abr 80 
            Average Bit Rate: 96 Kbps
            --abr 96 
            Average Bit Rate: 128 Kbps
            --abr 128  
            Average Bit Rate: 144 Kbps
            --abr 144  
            Average Bit Rate: 160 Kbps
            --abr 160  
            Average Bit Rate: 192 Kbps
            --abr 192  
            Average Bit Rate: 224 Kbps
            --abr 224  
            Average Bit Rate: 256 Kbps
            --abr 256 
            Average Bit Rate: 320 Kbps
            --abr 320 
            Average Bit Rate: Highest Possible
            --abr 0
            [/sliderend]
            154
            0
            Bit Rate (cVBR)
            
            9
            Constrained Variable Bit Rate: 16 Kbps
            --cvbr 16 
            Constrained Variable Bit Rate: 24 Kbps
            --cvbr 24 
            Constrained Variable Bit Rate: 32 Kbps
            --cvbr 32 
            Constrained Variable Bit Rate: 48 Kbps
            --cvbr 48 
            Constrained Variable Bit Rate: 56 Kbps
            --cvbr 56 
            Constrained Variable Bit Rate: 64 Kbps
            --cvbr 64 
            Constrained Variable Bit Rate: 80 Kbps
            --cvbr 80 
            Constrained Variable Bit Rate: 96 Kbps
            --cvbr 96 
            Constrained Variable Bit Rate: 128 Kbps
            --cvbr 128 
            Constrained Variable Bit Rate: 144 Kbps
            --cvbr 144 
            Constrained Variable Bit Rate: 160 Kbps
            --cvbr 160 
            Constrained Variable Bit Rate: 192 Kbps
            --cvbr 192 
            Constrained Variable Bit Rate: 224 Kbps
            --cvbr 224 
            Constrained Variable Bit Rate: 256 Kbps
            --cvbr 256 
            Constrained Variable Bit Rate: 320 Kbps
            --cvbr 320 
            Constrained Variable Bit Rate: Highest Possible
            --cvbr 0 
            [/sliderend]
            220
            0
            Bit Rate (CBR)
            
            9
            Constant Bit Rate: 16 Kbps
            --cbr 16 
            Constant Bit Rate: 24 Kbps
            --cbr 24 
            Constant Bit Rate: 32 Kbps
            --cbr 32 
            Constant Bit Rate: 48 Kbps
            --cbr 48 
            Constant Bit Rate: 56 Kbps
            --cbr 56 
            Constant Bit Rate: 64 Kbps
            --cbr 64 
            Constant Bit Rate: 80 Kbps
            --cbr 80 
            Constant Bit Rate: 96 Kbps
            --cbr 96 
            Constant Bit Rate: 128 Kbps
            --cbr 128 
            Constant Bit Rate: 144 Kbps
            --cbr 144 
            Constant Bit Rate: 160 Kbps
            --cbr 160 
            Constant Bit Rate: 192 Kbps
            --cbr 192 
            Constant Bit Rate: 224 Kbps
            --cbr 224 
            Constant Bit Rate: 256 Kbps
            --cbr 256 
            Constant Bit Rate: 320 Kbps
            --cbr 320 
            Constant Bit Rate: Highest Possible
            --cbr 0 
            [/sliderend]
            
            [label]
            10
            44
            low quality (smaller file)
            808080
            
            [label]
            216
            44
            high quality (larger file)
            808080
            
            [combo]
            60
            66
            110
            1
            LC AAC
             
            HE AAC (< 84 kbps) (not tVBR)
            --he 
            
            [combo]
            180
            66
            110
            1
            Keep sampling rate
            
            Auto (lower on low bitrate)
            --rate auto 
            44.1kHz sampling rate
            --rate 44100 
            48.0kHz sampling rate
            --rate 48000 
            
            [clistring]
            - -o "[outfile]"
            
            [highestqualitydecode]
            
            
            [maxchannels]
            8
            All apologies...
            Last edited by JII; April 14, 2015, 09:44 PM.

            Comment

            • gialandra

              • Jun 2015
              • 6

              #36
              Re: QAAC CLI Encoder errors.

              I have tried the script in batch conversion with 8 CD and 6 live (every live 3 hour), at the end I obtain errors on 3 live files:

              Error converting to CLI Encoder, 'Y:\BACKUP\Music\FLAC\... .flac' to 'C:\Users\Marco\Desktop\TEMP\... .m4a'
              Error writing audio data to StdIn Pipe [clEncoder::EncodeBlock]

              Why?

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 44509

                #37
                Re: QAAC CLI Encoder errors.

                Perhaps they are a bit rate or sample rate not supported by QAAC
                Spoon
                www.dbpoweramp.com

                Comment

                • RamGuy

                  • Jul 2015
                  • 6

                  #38
                  Re: QAAC CLI Encoder errors.

                  I do love your scripts as I'm not very good with this kind of stuff myself... But I do miss one thing though, why not include --alac? The script includes every other option besides Apple Lossless (ALAC) so why not add that one as well? I managed to add it myself doing some hobby modding of the script above but I have no real clue on how to make the actual button fit so I currently have a Apple Lossless option at about the same position as the CBR one.

                  Another I would love to see is the possibility to choose between outputting into M4A or M4B. Currently it will only output into M4A which make sense but it would be stellar to be able to override it with M4B for ripping of audiobooks so one don't have to do that manually afterwards. Any why not include a preset that is identical to Apples own "iTunes Plus" which should be cVBR v256 -q2, I'm not entirely sure if that would be identical to choosing CVBR 256 kbps.
                  Last edited by RamGuy; July 05, 2015, 01:18 PM.

                  Comment

                  • RamGuy

                    • Jul 2015
                    • 6

                    #39
                    Re: QAAC CLI Encoder errors.

                    Nevermind.. I can't get it to work at all. I just tried to test rip CD01 of a audiobook using multi-encoder -- CLI Encoder in order to get 1x QAAC Apple Lossless, 1x QAAC tVBR, 1x QAAC cVBR, 1x QAAC ABR and 1x Apple Lossless (the default one within dBPowerAMP) and the only one actually working the the built in one. All the QAAC ones just resolved in 0 bytes files.

                    Comment

                    • RamGuy

                      • Jul 2015
                      • 6

                      #40
                      Re: QAAC CLI Encoder errors.

                      I have tried to dig a little bit deeper and I'm also getting the same "CLI Encoder: Error writing audio data to StdIn Pipe [dEncoder::EncodeBlock]" error. I have tried using both qaac.exe and qaac64.exe, but it doesn't make any difference. I have also tried using Folder and Dynamic folder within dBPowerAMP without any luck. I've got both iTunes (12.2.0.145) and QuickTime (7.7.7 (1680.95.51) installed.

                      QAAC itself is working, I've verified using CMD.exe to manually convert a WAV(E) track to AAC using ALAC, CVBR, TVBR and ABR without any issues. It seems like there is some kind of issues in regards to the -o "[outfile]" but I don't really know why and how to deal with it.

                      Comment

                      • RamGuy

                        • Jul 2015
                        • 6

                        #41
                        Re: QAAC CLI Encoder errors.

                        Seems to be a dBPowerAMP 15.3 bug, reverted to 15.1 and it's working.

                        Comment

                        • Spoon
                          Administrator
                          • Apr 2002
                          • 44509

                          #42
                          Re: QAAC CLI Encoder errors.

                          Enable debugging for both R15.3 and R15.1 (in dBpoweramp Configuration >> Music Converter tab), then convert and compare the log files.
                          Spoon
                          www.dbpoweramp.com

                          Comment

                          • funkyblue
                            dBpoweramp Enthusiast

                            • Oct 2007
                            • 62

                            #43
                            Re: QAAC CLI Encoder errors.

                            Any chance of a qaac plugin? Sometimes it would be nice to just click and install and be able to use the iTunes encoder with db. I am have errors and trying to remember how I made it work before. It should not be this difficult.

                            Comment

                            • tidalwaves999

                              • Aug 2015
                              • 2

                              #44
                              Re: QAAC CLI Encoder errors.

                              Originally posted by JII
                              Oops...I paste a wrong code...(other codec and non functional)

                              All apologies...
                              Thanks everyone :D

                              Comment

                              • gialandra

                                • Jun 2015
                                • 6

                                #45
                                Re: QAAC CLI Encoder errors.

                                Today I try this script again. I copy the script above inside encoder.txt and I put the QAAC64.exe file (and other 3 files) in the same encoder.txt folder but the conversion dosn't work: Error writing audio data to StdIn Pipe [clEncoder::EncodeBlock]

                                What I do wrong?

                                Comment

                                Working...

                                ]]>