Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Error When Encoding (Read 994 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Error When Encoding

So if I encode
flac level 8 output bit depth auto - Dither Never - No issue.


However if I change the output depth to 32-bit

1 out of 1 files converted with major problems.

Source: "E:\inputfile.wav"
  An error occurred while writing to file (The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters) : "E:\outputfile.flac"
  Additional information:
  Encoder stream format: 44100Hz / 2ch / 32bps fixed-point
  Command line: flac.exe -s --ignore-chunk-sizes -8 - -o "CD1850102 - Jo Stafford - You Belong To Me.flac"
  Working folder: E:\
  Conversion failed: The encoder has terminated prematurely with code 1 (0x00000001); please re-check parameters

I updated the installed version of flac to the latest version and still get the issue.

Re: Error When Encoding

Reply #1
You are not using new-enough FLAC. You need at least FLAC 1.4.0 to support 32-bit input.

I see you are using foobar2000. You say you updated the installed FLAC version. What exactly did you install?
If you installed the Free Encoder Pack and haven't done any customizations to your Converter's encoder preset or foobar2000 settings, these encoders should be used.
But if you have configured a specific encoder with full path in your preset, that path will of course be respected. And if you have configured "Additional command-line encoder paths" in Advanced Preferences, any encoder in these paths will be preferred over the Free Encoder Pack installed ones.