title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Error report converting .aif to .m4a - 'Error Chunk is out of file.'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Spencer
    • Oct 2012
    • 6

    Error report converting .aif to .m4a - 'Error Chunk is out of file.'

    I have just updated to 14.3 and now, when converting a set of tracks from AIFF to Apple Lossless I get an error report for about half of the tracks as follows:

    Error converting to Apple Lossless, 'C:\Data\Temp\Music\AccurateRip Library\Chris Knight\Little Victories\02 - Missing You.aif' to 'E:\Music Resources\New Apple Lossless\Chris Knight\Little Victories\02 - Missing You.m4a'
    Error Chunk is out of file. [clAIFFHandler::ScanFile]

    The source and target folders are ones I have regularly used without problem in the past.

    Any advice ?

    Thanks
  • Spoon
    Administrator
    • Apr 2002
    • 43888

    #2
    Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

    Enable debug mode for music converter, it will show details of one of your aif files during conversion. It is possible the new AIF codec is able to highlight errors in your aif file, which an early version did not.
    Spoon
    www.dbpoweramp.com

    Comment

    • Richard Spencer
      • Oct 2012
      • 6

      #3
      Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

      Spoon

      Thanks - but why would there be an error in the AIF file ?

      I have run music converter on the same file again with debug mode on. Output is attached below. AIF file was created by dbpoweramp 14.3 and is 40.2MB and plays. The m4a file is 40kB and does not. The preceding track (no error report) is 41.5MB as an AIF and 28.2MB as a m4a and both play. I ripped this CD on my desktop back in London UK (amongst a group of about 30 CDs) but I am now in Perth, Western Australia with my laptop. I do not have all the CDs with me but I do have this one. Both desktop and laptop have previously ripped and convered many CDs successfully using dbpoweramp 14.2. Will it be possible to convert the files producing errors ?

      Thanks for your advice

      Richard


      Splitting Command Line:Done
      ->-> [dBCoreConverter::ReaddBCommandFile]
      <-<- [dBCoreConverter::ReaddBCommandFile]
      Decodes [clDecoder::Get]
      BatchID [clDecoder::Set]
      ->-> [cldBCodecHandler::LoadEncoder]
      Loading Encoder 'C:\Program Files (x86)\Illustrate\dBpoweramp\encoder\Apple Lossless.DLL'
      <-<- [cldBCodecHandler::LoadEncoder]
      BatchID [clEncoder::Set]
      ->-> [dBCoreConverter::StripCoreConverterCmds]
      <-<- [dBCoreConverter::StripCoreConverterCmds]
      SendRawUnCompressed [clEncoder::Get]
      IsLive [clDSP::Get]
      SendOverReplayGainTags [clDSP::Get]
      BatchID [clDSP::Set]
      Communicate [clDecoder::Get]
      Communicate [clEncoder::Get]
      NeedHQAudio [clEncoder::Get]
      ->-> [clDecoder::Open]
      Opening file 'C:\Data\Temp\Music\AccurateRip Library\Chris Knight\Little Victories\02 - Missing You.aif' for read access: Opened
      Reading Audio Information
      ->-> [clWaveDecoder::Initialize]
      <-<- [clWaveDecoder::Initialize]
      ->-> [clAIFFHandler::Initialize]
      clAIFFHandler::CalcAllChunks: Ok
      <-<- [clAIFFHandler::Initialize]
      ->-> [clAIFFHandler::ScanFile]
      clAIFFHandler::CalcAllChunks: Ok
      AIFF Header 'FORM' Length: 42175068 FormType 'AIFF' [clAIFFHandler::ScanFile]
      *** Information: Warning 'RiffSizeLeft != FileSizeLeft' must be extra data on end of file. [clAIFFHandler::ScanFile]
      Got Chunk 'COMM' Length: 18 RiffSizeLeft: 42175056 ChunkPosition: 12
      Got Chunk 'SSND' Length: 42147848 RiffSizeLeft: 42175030 ChunkPosition: 38
      Got Chunk 'ID3 ' Length: 27174 RiffSizeLeft: 27174 ChunkPosition: 42147894
      *** Error: Error Chunk is out of file. [clAIFFHandler::ScanFile]
      Clamped chunk to: 27174
      clAIFFHandler::CalcAllChunks: Ok
      <-<- [clAIFFHandler::ScanFile]
      Read Audio Information
      ->-> [clWaveDecoder::ReadIDTags]
      ->-> [clWaveDecoder::PullOutCOMMnSSND]
      Finding 'COMM' chunk.
      Finding 'SSND' chunk.
      Assigning 'COMM' chunk to WFX
      <-<- [clWaveDecoder::PullOutCOMMnSSND]
      ->-> [clWaveDecoder::InternalReadTags]
      <-<- [clWaveDecoder::InternalReadTags]
      23 ID Tags:
      AccurateRipDiscID: 011-00124e0b-009e8808-8d0a850b-2
      AccurateRipResult: AccurateRip: Not in database Secure: Yes [13BFD73E]
      Album: Little Victories
      Album Artist: Chris Knight
      Artist: Chris Knight
      Catalog *: Drifters 0013
      Composer: Chris Knight
      Disc: 1/1
      Encoded by: dBpoweramp Release 14.3
      Encoder:
      Genre: Rock
      Label: Drifter's Church Productions
      replaygain_album_gain: -10.67 dB
      replaygain_album_peak: 0.977264
      replaygain_track_gain: -10.29 dB
      replaygain_track_peak: 0.977264
      Source: CD (Lossless)
      Style: Contemporary Country
      Alt-Country
      Americana
      Alternative
      Indie Rock
      Title: Missing You
      Track: 2/11
      UPC: 822976000927
      Year: 2012-09-11
      _albumart_1_Front Album Cover: DATA Length: 26359 ......JFIF.....`.`..
      <-<- [clWaveDecoder::ReadIDTags]
      ->-> [clWaveDecoder::FillAudioProps]
      Audio Quality: CD (Lossless)
      Encoder Settings: NONE (no compression)
      Channel Mapping: Left, Right
      Sample Count: 10,536,960
      Riff Chunks: 'COMM' 18 bytes, 'SSND' 40.2 MB, 'ID3 ' 27 KB
      ID Tag: iTunes ID3
      Contains: ID Tag [iTunes ID3]
      Gapless: Yes
      Wave Header: AIFF
      <-<- [clWaveDecoder::FillAudioProps]
      Writing Audio Information
      ->-> [clWaveDecoder::FillAudioInfo]
      <-<- [clWaveDecoder::FillAudioInfo]
      Written Audio Information
      Preparing to Decode
      ->-> [clWaveDecoder::PrepareToDecodeAudio]
      WFX (on file): Format Tag: 1 Channels: 2 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 176400 Block Align: 4 CB Size: 0
      Setting Position in File
      <-<- [clWaveDecoder::PrepareToDecodeAudio]
      Prepared Decoding
      <-<- [clDecoder::Open]
      SendOverReplayGainTags [clEncoder::Get]
      ->-> [clDSP::BeginConversion]
      <-<- [clDSP::BeginConversion]
      ->-> [clEncoder::BeginConversion]
      Converting to 'E:\Music Resources\New Apple Lossless\Chris Knight\Little Victories\02 - Missing You.m4a.tmp.m4a' encoder settings ' -v'
      <-<- [clEncoder::BeginConversion]
      Communicate [clDecoder::Get]
      Communicate [clEncoder::Get]
      Encoding To: Apple Lossless
      Encoder Cmd Line: -v
      DSP Effects:
      ReplayGain: -albummode="0"

      ============= CONVERSION BEGIN =============
      ============= CONVERSION END =============
      Communicate [clDecoder::Get]
      Communicate [clEncoder::Get]
      ->-> [dBCoreConverter::CloseDecoder]
      ->-> [clDecoder::Close]
      ->-> [clWaveDecoder::Close]
      <-<- [clWaveDecoder::Close]
      <-<- [clDecoder::Close]
      ->-> [clDSP::EndConversion]
      <-<- [clDSP::EndConversion]
      ->-> [clEncoder::EndConversion]
      <-<- [clEncoder::EndConversion]
      File Size Check (before overwrite final): 7881 bytes Filename: E:\Music Resources\New Apple Lossless\Chris Knight\Little Victories\02 - Missing You.m4a.tmp.m4a
      Communicate [clDecoder::Get]
      Communicate [clEncoder::Get]
      ->-> [clDSP::AfterConversion]
      <-<- [clDSP::AfterConversion]

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43888

        #4
        Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

        What is the exact size of this AIFF file in bytes?
        Spoon
        www.dbpoweramp.com

        Comment

        • Richard Spencer
          • Oct 2012
          • 6

          #5
          Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

          Spoon

          It is 42,175,075 bytes (Size on disk: 42,176,512 bytes). I could 'YouSendIt' the file to you if that might help.

          Regards

          Richard

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 43888

            #6
            Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

            Yes please, there seems to be something on the end of the file which should not be there.
            Spoon
            www.dbpoweramp.com

            Comment

            • Richard Spencer
              • Oct 2012
              • 6

              #7
              Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

              To what address ?

              Comment

              • Spoon
                Administrator
                • Apr 2002
                • 43888

                #8
                Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                Spoon
                www.dbpoweramp.com

                Comment

                • Richard Spencer
                  • Oct 2012
                  • 6

                  #9
                  Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                  Spoon

                  You should receive an email from YouSendIt with a download link to the file.

                  Thanks

                  Richard

                  Comment

                  • Spoon
                    Administrator
                    • Apr 2002
                    • 43888

                    #10
                    Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                    Thanks
                    Spoon
                    www.dbpoweramp.com

                    Comment

                    • Spoon
                      Administrator
                      • Apr 2002
                      • 43888

                      #11
                      Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                      Next R14.4 beta will fix this
                      Spoon
                      www.dbpoweramp.com

                      Comment

                      • Richard Spencer
                        • Oct 2012
                        • 6

                        #12
                        Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                        Spoon

                        That is good - when is it expected to be released ?

                        Thanks, Richard

                        Comment

                        • boddys
                          • Nov 2012
                          • 1

                          #13
                          Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                          Hi, I was getting exactly the same error, search got me straight to this thread without much time wasted, any news on R14.4?
                          Stephen

                          Comment

                          • Spoon
                            Administrator
                            • Apr 2002
                            • 43888

                            #14
                            Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                            It is in the beta section of this forum.
                            Spoon
                            www.dbpoweramp.com

                            Comment

                            • ISSMT3
                              • Dec 2012
                              • 1

                              #15
                              Re: Error report converting .aif to .m4a - 'Error Chunk is out of file.'

                              I have run music converter on the same file again with debug mode on.

                              Comment

                              Working...

                              ]]>