title
Products            Buy            Support Forum            Professional            About            Codec Central
 

FLAC conversion problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • damonbrodie
    • Feb 2012
    • 3

    FLAC conversion problem

    I have a FLAC file that doesn't seem to convert. I had dbPoweramp version 13, just upgraded to version 14 to see if that helped. Same problem.

    I've tried to convert the flac to mp3, AAC, WAV and the result every time is that I get a file that is 76 bytes long. The FLAC plays fine in MediaMonkey. I enabled logging and here is what the results are:

    Code:
    Splitting Command Line:Done
    ->->  [dBCoreConverter::ReaddBCommandFile]
    <-<-  [dBCoreConverter::ReaddBCommandFile]
    ->->  [cldBCodecHandler::FindDecoder]
        Checking Decoder 'C:\Program Files (x86)\Illustrate\dBpoweramp\decoder\FLAC.dll' for extension '.flac'
    Decodes  [clDecoder::Get]
      <<< Match, using decoder
      Using Registry Cached Decoder: C:\Program Files (x86)\Illustrate\dBpoweramp\decoder\FLAC.dll
    <-<-  [cldBCodecHandler::FindDecoder]
    BatchID  [clDecoder::Set]
    ->->  [cldBCodecHandler::LoadEncoder]
      Loading Encoder 'C:\Program Files (x86)\Illustrate\dBpoweramp\encoder\Wave.DLL'
    <-<-  [cldBCodecHandler::LoadEncoder]
    BatchID  [clEncoder::Set]
    ->->  [dBCoreConverter::StripCoreConverterCmds]
    <-<-  [dBCoreConverter::StripCoreConverterCmds]
    SendRawUnCompressed  [clEncoder::Get]
    Communicate  [clDecoder::Get]
    Communicate  [clEncoder::Get]
    NeedHQAudio  [clEncoder::Get]
    ->->  [clDecoder::Open]
      Opening file 'N:\Music\FLAC\INXS - Kick (1987) [FLAC]\01 - Guns In The Sky.flac' for read access: Opened
      Init FLAC: 
      Reading Meta Data: 
       contained 8 tags:
    			TITLE: Guns In The Sky
    			ARTIST: INXS
    			ALBUM: Kick
    			GENRE: Rock
    			COMMENT: EAC Flac 1.1.4 -8
    			Track: 01
    			Year: 1987
    			album artist: INXS
      ->->  [clDecoder::ReadIDTags]
      <-<-  [clDecoder::ReadIDTags]
      ->->  [clDecoder::FillAudioProps]
    	Encoder: FLAC reference libFLAC 1.1.4 20070213
    	Sample Count: 6,216,924
    	ID Tag: Vorbis Comments
    	Contains: CRC, ID Tag [Vorbis Comments]
      <-<-  [clDecoder::FillAudioProps]
      ->->  [clDecoder::FillAudioInfo]
        Uncompressed WFX (sent to db): Format Tag: 1  Channels: 2  Bits per Sample: 16  Samples Per Second: 44100  Bytes Per Second: 176400  Block Align: 4  CB Size: 0
        Audio Length: 140973 mili-seconds  15170326 bytes  1411 kbps
      <-<-  [clDecoder::FillAudioInfo]
      Creating Decode Buffers: Created
    <-<-  [clDecoder::Open]
    SendOverReplayGainTags  [clEncoder::Get]
    ->->  [clEncoder::BeginConversion]
      Converting to 'N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav.tmp.wav' encoder settings ' -compression="PCM"'
      Wave output WaveFormat: Format Tag: 1  Channels: 2  Bits per Sample: 16  Samples Per Second: 44100  Bytes Per Second: 176400  Block Align: 4  CB Size: 0
      ->->  [clRIFFHandler::InitializeNewWAV]
        clRIFFHandler::CalcAllChunks: Ok
        ->-> Adding Chunk 'fmt ' Length: 16  [clRIFFHandler::AddChunk]
          clRIFFHandler::CalcAllChunks: Ok
        <-<-  [clRIFFHandler::AddChunk]
        ->-> Adding Chunk 'data' Length: 0  [clRIFFHandler::AddChunk]
          clRIFFHandler::CalcAllChunks: Ok
        <-<-  [clRIFFHandler::AddChunk]
        ->->  [clRIFFHandler::WriteChunkHeaders]
          clRIFFHandler::CalcAllChunks: Ok
          Writing Chunk Header 'fmt '  Length: 16  ChunkPosition: 12  ChunkDataPos: 20
          Writing Chunk Header 'data'  Length: 0  ChunkPosition: 36  ChunkDataPos: 44
        <-<- Exit as only write to data chunk  [clRIFFHandler::WriteChunkHeaders]
        Writing Chunk Data 'fmt '  Length: 16  ChunkPosition: 12  ChunkDataPos: 20
      <-<-  [clRIFFHandler::InitializeNewWAV]
    <-<-  [clEncoder::BeginConversion]
    Communicate  [clDecoder::Get]
    Communicate  [clEncoder::Get]
    Encoding To: Wave
    Encoder Cmd Line:  -compression="PCM"
    ============= CONVERSION BEGIN =============
    ============= CONVERSION END =============
    Communicate  [clDecoder::Get]
    Communicate  [clEncoder::Get]
    ->->  [dBCoreConverter::CloseDecoder]
    ->->  [clDecoder::Close]
    <-<-  [clDecoder::Close]
    ->->  [clEncoder::EndConversion]
      ->->  [clRIFFHandler::WriteChunkHeaders]
        clRIFFHandler::CalcAllChunks: Ok
        Writing Chunk Header 'data'  Length: 24867696  ChunkPosition: 36  ChunkDataPos: 44
      <-<-  [clRIFFHandler::WriteChunkHeaders]
    <-<-  [clEncoder::EndConversion]
      File Size Check (before overwrite final): 24867740 bytes   Filename: N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav.tmp.wav
      File Size Check (before ID Tags Written): 24867740 bytes   Filename: N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav
      ->->  [dBCoreConverter::IDTagWriter]
        ->->  [cldBCodecHandler::FindDecoder]
            Checking Decoder 'C:\Program Files (x86)\Illustrate\dBpoweramp\decoder\Wave.dll' for extension '.wav'
    Decodes  [clDecoder::Get]
          <<< Match, using decoder
          Using Registry Cached Decoder: C:\Program Files (x86)\Illustrate\dBpoweramp\decoder\Wave.dll
        <-<-  [cldBCodecHandler::FindDecoder]
    IDTags  [clDecoder::Set]
    ->->  [clWaveDecoder::WriteIDTags]
      ->->  [clRIFFBEXTChunk::TagsToBEXT]
        Encoding BEXT chunk  [clRIFFBEXTChunk::TagsToBEXT]
      <-<-  [clRIFFBEXTChunk::TagsToBEXT]
      Opening file 'N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav' for write access: Opened
      ->->  [clRIFFHandler::Initialize]
        clRIFFHandler::CalcAllChunks: Ok
      <-<-  [clRIFFHandler::Initialize]
      ->->  [clRIFFHandler::ScanFile]
        clRIFFHandler::CalcAllChunks: Ok
          RIFF Header 'RIFF'  Length: 24867732  FormType 'WAVE'
          Got Chunk 'fmt '  Length: 16  RiffSizeLeft: 24867720  ChunkPosition: 12
          Got Chunk 'data'  Length: 24867696  RiffSizeLeft: 24867696  ChunkPosition: 36
        clRIFFHandler::CalcAllChunks: Ok
      <-<-  [clRIFFHandler::ScanFile]
      ->->  [clRIFFLISTChunk::TagsToLIST]
      <-<-  [clRIFFLISTChunk::TagsToLIST]
      clRIFFHandler::CalcAllChunks: Ok
      ->->  [clRIFFHandler::WriteChunkHeaders]
        clRIFFHandler::CalcAllChunks: Ok
        Writing Chunk Header 'LIST'  Length: 122  ChunkPosition: 24867740  ChunkDataPos: 24867748
      <-<-  [clRIFFHandler::WriteChunkHeaders]
      clRIFFHandler::CalcAllChunks: Ok
      ->->  [clRIFFHandler::WriteChunkHeaders]
        clRIFFHandler::CalcAllChunks: Ok
        Writing Chunk Header 'id3 '  Length: 2048  ChunkPosition: 24867870  ChunkDataPos: 24867878
      <-<-  [clRIFFHandler::WriteChunkHeaders]
    <-<-  [clWaveDecoder::WriteIDTags]
      <-<-  [dBCoreConverter::IDTagWriter]
    Communicate  [clDecoder::Get]
    Communicate  [clEncoder::Get]
      Conversion completed in 312 mili-seconds x451 realtime encoding
      File Size Check (core converter exit): 24869926 bytes   Filename: N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav
    ->->  [clDecoder::Close]
    <-<-  [clDecoder::Close]
  • Spoon
    Administrator
    • Apr 2002
    • 43898

    #2
    Re: FLAC conversion problem

    24869926 bytes Filename: N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav

    This shows the Wave file was 24MBs when dBpoweramp exited, you have looked at that wave file?
    Spoon
    www.dbpoweramp.com

    Comment

    • damonbrodie
      • Feb 2012
      • 3

      #3
      Re: FLAC conversion problem

      Originally posted by Spoon
      24869926 bytes Filename: N:\Music\Wave\INXS - Kick (1987)\ 01 - Guns In The Sky.wav

      This shows the Wave file was 24MBs when dBpoweramp exited, you have looked at that wave file?
      That's the funny part - the resulting file is < 10Kb. I have further diagnosed this though. If I don't use the batch app, it will convert the file fine and I get the right size file and it plays great. When I do it with the batch convert it truncates the file. So I have a workaround now, however there is still a bug :-)

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 43898

        #4
        Re: FLAC conversion problem

        Your security software might have sandboxed dBpoweramp when using the Batch Converter.
        Spoon
        www.dbpoweramp.com

        Comment

        • damonbrodie
          • Feb 2012
          • 3

          #5
          Re: FLAC conversion problem

          Originally posted by Spoon
          Your security software might have sandboxed dBpoweramp when using the Batch Converter.
          The batch converter worked on ~4000 files. I have found two that cause this bug. Strangely they are both INXS songs, and both track 1 off the disk. Is there logging in the batch converter?

          Comment

          • Spoon
            Administrator
            • Apr 2002
            • 43898

            #6
            Re: FLAC conversion problem

            What happens if you only convert those two files with batch converter?
            Spoon
            www.dbpoweramp.com

            Comment

            Working...

            ]]>