After getting fhgaacenc to work, I am converting my library to lossy m4a. Some of the files do not convert correctly, giving "Error writing audio data to StdIn pipe (dEncoder::EncoderBlock)" error.
I have attached one of the wav files in question.
This is the debug.log:
The file converts without problems using fhgaacenc directly from the command line.
What could be the problem with this file (except that it is mono).
I have attached one of the wav files in question.
This is the debug.log:
Code:
Splitting Command Line:Done ->-> [dBCoreConverter::ReaddBCommandFile] <-<- [dBCoreConverter::ReaddBCommandFile] Decodes [clDecoder::Get] BatchID [clDecoder::Set] ->-> [cldBCodecHandler::LoadEncoder] Loading Encoder 'C:\Program Files\dBpoweramp\encoder\fhgaacenc (Winamp).DLL' <-<- [cldBCodecHandler::LoadEncoder] BatchID [clEncoder::Set] ->-> [dBCoreConverter::StripCoreConverterCmds] <-<- [dBCoreConverter::StripCoreConverterCmds] SendRawUnCompressed [clEncoder::Get] Communicate [clDecoder::Get] Communicate [clEncoder::Get] NeedHQAudio [clEncoder::Get] Decode As [clDecoder::Set] ->-> [clDecoder::Open] Opening file 'D:\RF My Music\My Music Archive\2a CD 44.1\Chopin, Frédéric\Jonas, Maryla\18-Mazurka No 9.wav' for read access: Opened Reading Audio Information ->-> [clWaveDecoder::Initialize] <-<- [clWaveDecoder::Initialize] ->-> [clRIFFHandler::Initialize] clRIFFHandler::CalcAllChunks: Ok <-<- [clRIFFHandler::Initialize] ->-> [clRIFFHandler::ScanFile] clRIFFHandler::CalcAllChunks: Ok RIFF Header 'RIFF' Length: 3029268 FormType 'WAVE' Got Chunk 'fmt ' Length: 16 RiffSizeLeft: 3029256 ChunkPosition: 12 Got Chunk 'data' Length: 2974946 RiffSizeLeft: 3029232 ChunkPosition: 36 Got Chunk 'LIST' Length: 118 RiffSizeLeft: 54278 ChunkPosition: 2974990 Got Chunk 'id3 ' Length: 54152 RiffSizeLeft: 54152 ChunkPosition: 2975116 clRIFFHandler::CalcAllChunks: Ok <-<- [clRIFFHandler::ScanFile] Read Audio Information ->-> [clWaveDecoder::ReadIDTags] ->-> [clWaveDecoder::PullOutFMTnDATA] Finding 'fmt ' chunk. Finding 'data' chunk. Assigning 'fmt ' chunk to WFX <-<- [clWaveDecoder::PullOutFMTnDATA] ->-> [clRIFFLISTChunk::InitFrom] Found Correct INFO ID, decoding LIST chunk: <-<- [clRIFFLISTChunk::InitFrom] 10 ID Tags: Album: Jonas, Maryla Album Artist: Chopin, Frédéric Artist: Chopin, Frédéric Genre: Classical Title: Mazurka No 9 Track: 18 Year: 1946 _albumart_1_Front Album Cover: DATA Length: 53962 ......JFIF.....`.`.. _riff_1: DATA Length: 4 fmt _riff_2: DATA Length: 4 data <-<- [clWaveDecoder::ReadIDTags] ->-> [clWaveDecoder::FillAudioProps] Audio Quality: CD (Lossless) Encoder Settings: PCM Wave Header: Wave Format PCM Channel Mapping: Center Sample Count: 1,487,473 Riff Chunks: 'fmt ' 16 bytes, 'data' 2.84 MB, 'LIST' 118 bytes, 'id3 ' 53 KB ID Tag: LIST & ID3 Contains: Album Art, ID Tag[LIST & ID3] Gapless: Yes <-<- [clWaveDecoder::FillAudioProps] Writing Audio Information ->-> [clWaveDecoder::FillAudioInfo] Audio Length: 33729 mili-seconds 2974946 bytes 705 kbps <-<- [clWaveDecoder::FillAudioInfo] Written Audio Information Preparing to Decode ->-> [clWaveDecoder::PrepareToDecodeAudio] Calling ACMDecoder.CreateNewConverter Compressed WFX (on file): Format Tag: 1 Channels: 1 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 88200 Block Align: 2 CB Size: 0 Uncompressed WFX (sent to db): Format Tag: 1 Channels: 1 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 88200 Block Align: 2 CB Size: 0 Setting Position in File <-<- [clWaveDecoder::PrepareToDecodeAudio] Prepared Decoding <-<- [clDecoder::Open] SendOverReplayGainTags [clEncoder::Get] ->-> [clEncoder::BeginConversion] Converting to 'D:\RF My Music\My Music Archive\2a CD 44.1\Chopin, Frédéric\Jonas, Maryla\18-Mazurka No 9.m4a.tmp.m4a' encoder settings ' -cli_encoder="C:\Program Files\dBpoweramp\encoder\fhgaacenc (Winamp)\fhgaacenc.exe" -cli_cmd="--cbr 128 --profile he - {qt}[outfile]{qt}" -selection="1,9,2,0"' Using Encoder 'C:\Program Files\dBpoweramp\encoder\fhgaacenc (Winamp)\fhgaacenc.exe' Command Line '--cbr 128 --profile he - "D:\RF My Music\My Music Archive\2a CD 44.1\Chopin, Frédéric\Jonas, Maryla\18-Mazurka No 9.m4a.tmp.m4a"' Input Wave Format:Format Tag: 1 Channels: 1 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 88200 Block Align: 2 CB Size: 0 Output Wave Format:Format Tag: 1 Channels: 1 Bits per Sample: 16 Samples Per Second: 44100 Bytes Per Second: 88200 Block Align: 2 CB Size: 0 Passing Wave Header: Yes Using StdInput Pipe: Yes dBpoweramp Writing Tags: Yes <-<- [clEncoder::BeginConversion] Communicate [clDecoder::Get] Communicate [clEncoder::Get] Encoding To: fhgaacenc (Winamp) Encoder Cmd Line: -cli_encoder="C:\Program Files\dBpoweramp\encoder\fhgaacenc (Winamp)\fhgaacenc.exe" -cli_cmd="--cbr 128 --profile he - {qt}[outfile]{qt}" -selection="1,9,2,0" ============= CONVERSION BEGIN ============= *** Error: Error writing audio data to StdIn Pipe [clEncoder::EncodeBlock] ============= CONVERSION END ============= Communicate [clDecoder::Get] Communicate [clEncoder::Get] ->-> [dBCoreConverter::CloseDecoder] ->-> [clDecoder::Close] ->-> [clWaveDecoder::Close] <-<- [clWaveDecoder::Close] <-<- [clDecoder::Close] ->-> [clEncoder::EndConversion] <-<- [clEncoder::EndConversion] File Size Check (before overwrite final): 0 bytes Filename: D:\RF My Music\My Music Archive\2a CD 44.1\Chopin, Frédéric\Jonas, Maryla\18-Mazurka No 9.m4a.tmp.m4a Communicate [clDecoder::Get] Communicate [clEncoder::Get] Conversion completed in 15 mili-seconds x2248 realtime encoding File Size Check (core converter exit): 231056 bytes Filename: D:\RF My Music\My Music Archive\2a CD 44.1\Chopin, Frédéric\Jonas, Maryla\18-Mazurka No 9.m4a
What could be the problem with this file (except that it is mono).
Comment