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: Foobar2000 decodes flac file without problem but file has errors (Read 4906 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foobar2000 decodes flac file without problem but file has errors

Hey all.

I have one FLAC file of dubious origin (we shall not discuss it here) which I tried to decode.
Usually I use Foobar2000 0.9.6.7 for that, but for this one I tried command-line tool - I was already in command-line, so I decided to decode it.

Here are the results:

Code: [Select]
c:\Temp_1>flac.exe -t dsom.flac

flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007  Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

dsom.flac: testing, 35% complete
dsom.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
dsom.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC
dsom.flac: *** Got error code 1:FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER
dsom.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC


dsom.flac: ERROR while decoding data
           state = FLAC__STREAM_DECODER_READ_FRAME

It is obvious that FLAC file has some errors inside. I am not complaining about that.
Next, I tried to decode it in Foobar2000. To my surprise, Foobar2000 decoded it, and reported no error.
I even checked Foobar's console, here what it said:

Code: [Select]
Track converted successfully.
Total encoding time: 0:09.750, 100.61x realtime


Where is the error, am I doing something wrong?
Error 404; signature server not available.

Foobar2000 decodes flac file without problem but file has errors

Reply #1
The File integrity viewer is probably what you'd want to use to check for errors.
elevatorladylevitateme

Foobar2000 decodes flac file without problem but file has errors

Reply #2
OT: dsom.flac = dark side of the moon?

Foobar2000 decodes flac file without problem but file has errors

Reply #3
I downloaded it, and tested:

Code: [Select]
Item: "C:\Temp_1\dsom.flac"
MD5: 793C7ED5B5DC93DD89671FDF1BD16F37
CRC32: 73E18613
Warning: Reported length is inaccurate : 16:21.213333 vs 16:21.004354 decoded
Error: MD5 mismatch


1 item could not be correctly decoded.

List of undecodable items:
"C:\Temp_1\dsom.flac"


What now? So flac.exe said there was error, this plugin says there is error, but why did foobar2000 decoded the stream without reporting errors?
Error 404; signature server not available.


Foobar2000 decodes flac file without problem but file has errors

Reply #5
The decoder will report better errors in a future version.

Foobar2000 decodes flac file without problem but file has errors

Reply #6
But that means that there is a possibility that I've burned CDs (and not only me!) from compressed format which had errors inside, and it didn't report that?
Error 404; signature server not available.

Foobar2000 decodes flac file without problem but file has errors

Reply #7
Even a healthy FLAC file might be sourced from an MP3 or some other lossy source.
That fact is when you're dealing with dubious sources, you're taking chances. 
elevatorladylevitateme

Foobar2000 decodes flac file without problem but file has errors

Reply #8
I know of problems when dealing with dubious sources, I am not that new to internet
But I was very surprised when I discovered that foobar2000 will decode the file without telling there were errors. There should be a big red popup windows with three words, ERROR DECODING FILE blinking on red background 
Error 404; signature server not available.