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: Native ALAC decoder: Error flushing the decoder (Read 9415 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Native ALAC decoder: Error flushing the decoder

Since updating to Foobar 1.1.10 I receive the following error message when transcoding from ALAC files created within Foobar 2000 with the previous codec, example:

Source: "E:\Media2\Stereo MC's\Supernatural\16 - Relentless.m4a"
  Error flushing the decoder: Unsupported format or corrupted file
  Track converted with minor problems.

This does not occur with ALAC files created with dBpoweramp converter or ripper or with iTunes, just with ALAC files created with the previous codec in Foobar.

However, the conversion process completes fine with multiple files and the output files appear to be ok.
I have transcoded from ALAC to WAV with both Foobar2000 (error message as above) and dBpoweramp (no error message): both wav files are identical when mix pasted in Cool Edit (zero output).

Is is safe to ignore the error message?



Native ALAC decoder: Error flushing the decoder

Reply #1
What encoder did you use with foobar2000 to create alac files? Foobar2000 itself can't do it.

Native ALAC decoder: Error flushing the decoder

Reply #2
What encoder did you use with foobar2000 to create alac files? Foobar2000 itself can't do it.

I use ffmpeg.exe, with parameters -y -i - -acodec alac %d
So the new native decoder is having trouble with these files when passing them to PCM for transcoding..?
Previously I used foo_input_alac.dll for decoding.

Native ALAC decoder: Error flushing the decoder

Reply #3
Quote
I use ffmpeg.exe


How old is it? Built-in fb2k ALAC decoder doesn't have problems with up-to-date ffmpeg.

Native ALAC decoder: Error flushing the decoder

Reply #4
Quote
I use ffmpeg.exe


How old is it? Built-in fb2k ALAC decoder doesn't have problems with up-to-date ffmpeg.

v0.5, [Edit:] 2009

Native ALAC decoder: Error flushing the decoder

Reply #5
Since the opening of the ALAC codec I've been using refalac instead of ffmpeg to create ALAC files, maybe you can try that instead of ffmpeg ALAC. I don't know whether current ffmpeg uses the now open ALAC sources, or still the old reverse-engineered one, but I favour the official implementation.
It's only audiophile if it's inconvenient.

Native ALAC decoder: Error flushing the decoder

Reply #6
Since the opening of the ALAC codec I've been using refalac instead of ffmpeg to create ALAC files, maybe you can try that instead of ffmpeg ALAC. I don't know whether current ffmpeg uses the now open ALAC sources, or still the old reverse-engineered one, but I favour the official implementation.

I could try that for future encoding to lossless I suppose, but I'm in the process of transcoding all my lossless ALAC files to AAC and having this error message with some of these legacy ALAC files.

To restate the problem: since upgrading to 1.1.10 (with the new native ALAC decoder), transcoding ALAC files that were encoded to ALAC with ffmpeg.exe produces the error message.
Transcoding ALAC files that were encoded with dBpoweramp/iTunes does not produce the error message.

Previous version/s of FB2K (using foo_input_alac.dll decoder) did not produce the error message whatever had been used to encode the ALAC file.

AIUI when transcoding, the decoder is used to convert the ALAC file to PCM which is then passed for re-encoding to the desired codec, so something about the ffmpeg-generated lossless files is causing the new native ALAC decoder/FB2K to produce the error message.


Native ALAC decoder: Error flushing the decoder

Reply #7
If all you're seeing is "error flushing the decoder: <details>", it has absolutely no impact on the decoded data.
Microsoft Windows: We can't script here, this is bat country.

Native ALAC decoder: Error flushing the decoder

Reply #8
If all you're seeing is "error flushing the decoder: <details>", it has absolutely no impact on the decoded data.

Thank you Peter.


Native ALAC decoder: Error flushing the decoder

Reply #9
If all you're seeing is "error flushing the decoder: <details>", it has absolutely no impact on the decoded data.


Is there a reason why this error is showing up? I would like to know, since I've been getting the "error flushing the decoder: file is unsupported or corrupted; and reported length is inaccurate".

I am ripping FLAC to ALAC with dbPoweramp using the Apple Lossless audio codec. My FLAC files pass all the error tests on them. I have also tried decompressing to WAVE and then converting to ALAC and the same issue persists. Just want some reassurance before I put the files on my iPod and blindly listen to music that was encoded with errors.

Native ALAC decoder: Error flushing the decoder

Reply #10
I'm having the same problem converting ALAC to FLAC using v1.1.16    Why is the error message showing if there is no problem with the decoded data.  It clearly says "Track converted with minor problems".  Thanks!!

Native ALAC decoder: Error flushing the decoder

Reply #11
Hello

I take the liberty to revive this topic.

I am experiencing a similar issue but just by playing ALAC files in Foobar2000, when passing from an ALAC track to another. It does not occur when I stop playing and then play any ALAC track.
I am aware that this error might be ignored but I even wonder if this error can be avoid and if it truly does not reveal any "damage" on the decoded data.
I just want to be sure that I am listening from "pure" files.

Thank you in advance for your precious help and sorry for my English (I am not a native speaker ).

ps : please see the logs of the error in the console :

Error flushing the decoder: Unsupported format or corrupted file
Opening track for playback: "D:\Music\Marvin Gaye\What's Going On (Deluxe Edition)\1-02 What's Happening Brother (Album.m4a"



 

Native ALAC decoder: Error flushing the decoder

Reply #12
Got this error today and bumped here.

Looks like the conversion is bit-perfect.

However, something curious... when I select an entire ALAC album (all files) and compare to the new rip in FLAC (all files) I notice that there are differences in samples. The total time is also different from the FLAC batch.

I guess this is an ALAC problem.