1 out of 2 tracks converted with major problems.Source: "C:\bigfile1.flac" Track converted successfully.Source: "C:\bigfile2.flac" An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "C:\Image.flac" Additional information: Encoder stream format: 48000Hz / 2ch / 24bps Command line: "C:\Foobar2000\flac.exe" -s --ignore-chunk-sizes -8 - -o "Image.flac" Working folder: C:\ Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters
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.
I just merged the same files using WavPack and this resulted in a nice 2.25GB file that plays fine.
It's interesting that foobar2000 shows incorrect bitrate of very big wavpack files (> 4 GB?). Winamp and wvunpack -c show the same incorrect bitrate, too.
Can confirm here with a 5.3 GB file and the latest WavPack, bitrate is way off (too low).
I could dublicate SoleBastard's issue immediately with 24 bit source files and went digging into FLAC's WAV reader. It was designed to only handle 4 GB source files. Attached version no longer has that limit.