An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "M:\Musik\TEMP\CDImage.flac"Additional information:Encoder stream format: 192000Hz / 2ch / 24bpsCommand line: "M:\Musik\foobar2000\encoders\flac.exe" -s --ignore-chunk-sizes -6 - -o "CDImage.flac"Working folder: M:\Musik\TEMP\
c:\Users\Michel\Desktop>m:\Musik\foobar2000\encoders\flac.exe image.wav -s --ignore-chunk-sizes -0 -o image.flacINFO: Make sure you know what you're doing when using --ignore-chunk-sizes. Improper use can cause flac to encode non-audio data as audio.image.wav: WARNING: legacy WAVE file has format type 1 but bits-per-sample=24
image.wav: ERROR during encoding state = FLAC__STREAM_ENCODER_CLIENT_ERRORAn error occurred while writing; the most common cause is that the disk is full.
Are you sure that it is a WAV file? The WAV structure only accommodates files up to 4,294,967,294 bytes long. Sounds like the file is RIFF64 or BWF.
I'm reluctant to add win-specific calls to libFLAC just because MS is intentionally sabotaging portability. every other build of flac works with large files.
libFLAC uses the C stdlib for file i/o. even on my XP box with VS 2005, microsoft's stdlib implementation is still limited to 2 GB (i.e. no 64-bit off_t).I'm reluctant to add win-specific calls to libFLAC just because MS is intentionally sabotaging portability. every other build of flac works with large files.
Does MinGW has this limitation? If no, maybe libFLAC compiled with MinGW is the solution to this problem.