IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Foobar2000 decodes flac file without problem but file has errors
hlloyge
post Jun 24 2009, 19:44
Post #1





Group: Members
Posts: 689
Joined: 10-January 06
From: Zagreb
Member No.: 27018



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
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
Track converted successfully.
Total encoding time: 0:09.750, 100.61x realtime


Where is the error, am I doing something wrong?

This post has been edited by hlloyge: Jun 24 2009, 19:45
Go to the top of the page
+Quote Post
shakey_snake
post Jun 24 2009, 20:18
Post #2





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



The File integrity viewer is probably what you'd want to use to check for errors. wink.gif


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
Chris Norman
post Jun 24 2009, 21:04
Post #3





Group: Members
Posts: 127
Joined: 3-June 05
From: Cluj-Napoca
Member No.: 22498



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


--------------------
http://www.vonpell.com
Go to the top of the page
+Quote Post
hlloyge
post Jun 24 2009, 21:04
Post #4





Group: Members
Posts: 689
Joined: 10-January 06
From: Zagreb
Member No.: 27018



I downloaded it, and tested:

CODE
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?
Go to the top of the page
+Quote Post
hlloyge
post Jun 24 2009, 21:06
Post #5





Group: Members
Posts: 689
Joined: 10-January 06
From: Zagreb
Member No.: 27018



QUOTE (Chris Norman @ Jun 24 2009, 22:04) *
OT: dsom.flac = dark side of the moon?


No, it is Dark Side Of The Moog cool.gif
Go to the top of the page
+Quote Post
Case
post Jun 25 2009, 13:03
Post #6





Group: Developer (Donating)
Posts: 2136
Joined: 19-October 01
From: Finland
Member No.: 322



The decoder will report better errors in a future version.
Go to the top of the page
+Quote Post
hlloyge
post Jun 25 2009, 16:39
Post #7





Group: Members
Posts: 689
Joined: 10-January 06
From: Zagreb
Member No.: 27018



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?
Go to the top of the page
+Quote Post
shakey_snake
post Jun 25 2009, 17:51
Post #8





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



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. smile.gif

This post has been edited by shakey_snake: Jun 25 2009, 17:52


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
hlloyge
post Jun 25 2009, 22:35
Post #9





Group: Members
Posts: 689
Joined: 10-January 06
From: Zagreb
Member No.: 27018



I know of problems when dealing with dubious sources, I am not that new to internet smile.gif
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 wink.gif
Go to the top of the page
+Quote Post
Chris Norman
post Jun 28 2009, 17:51
Post #10





Group: Members
Posts: 127
Joined: 3-June 05
From: Cluj-Napoca
Member No.: 22498



QUOTE (hlloyge @ Jun 24 2009, 22:06) *
QUOTE (Chris Norman @ Jun 24 2009, 22:04) *
OT: dsom.flac = dark side of the moon?


No, it is Dark Side Of The Moog cool.gif


That's even better... biggrin.gif




--------------------
http://www.vonpell.com
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 03:11