HydrogenAudio

Lossless Audio Compression => FLAC => Topic started by: ladyred on 2006-04-09 00:46:41

Title: True FLAC or fake one
Post by: ladyred on 2006-04-09 00:46:41
Hi there,

Does anyone know of a program that can verify the integrity of a flac?

How can I tell if it is a real FLAC or an mp3 file that has been converted into a FLAC?

Is there a program out there that will do this?

Thanks 
Title: True FLAC or fake one
Post by: Cosmo on 2006-04-09 07:45:02
A FLAC file who's source was originally an mp3 file is still, technically, a "real" FLAC file. So it's not really the integrity of the FLAC file that you want to check (in technical terms), it's the audio data contained within.

There is only one program that I know of that can make a reasonably educated guess at whether music has been transcoded from a lossy source like mp3. Tau_Analyzer (http://www.true-audio.com/Tau_Analyzer_-_CD_Authenticity_Detector). But if I recall correctly, you probably can't scan FLAC files directly with it.

Most of the time it's pretty easy to tell if an audio sample has originated from a lossy/mp3 source, just by looking at a the frequency spectrum. Lossy file compression like mp3 usually employs lowpass filtering at a frequency well below that of true CD audio. And the effect of such lowpass filtering remains apparent even after it has been transcoded. See: http://www.audiohub.org/get/fa/fa.htm (http://www.audiohub.org/get/fa/fa.htm) + http://www.audiohub.org/get/fa/sa.htm (http://www.audiohub.org/get/fa/sa.htm) .
Title: True FLAC or fake one
Post by: Latexxx on 2006-04-09 08:44:21
Most of the time it's pretty easy to tell if an audio sample has originated from a lossy/mp3 source, just by looking at a the frequency spectrum. Lossy file compression like mp3 usually employs lowpass filtering at a frequency well below that of true CD audio. And the effect of such lowpass filtering remains apparent even after it has been transcoded. See: http://www.audiohub.org/get/fa/fa.htm (http://www.audiohub.org/get/fa/fa.htm) + http://www.audiohub.org/get/fa/sa.htm (http://www.audiohub.org/get/fa/sa.htm) .

That isn't very reliable method. For some reason there are original cds come with a 16 kHz lowpass and according to cd specs the band between 20 kHz and 22.05 kHz should contain no meaningful information.
Title: True FLAC or fake one
Post by: tgoose on 2006-04-09 12:56:42
There is only one program that I know of that can make a reasonably educated guess at whether music has been transcoded from a lossy source like mp3. Tau_Analyzer (http://www.true-audio.com/Tau_Analyzer_-_CD_Authenticity_Detector). But if I recall correctly, you probably can't scan FLAC files directly with it.

True enough, but the simple way to get around this is to burn the FLAC to an ISO file, then mount it with something like Daemon Tools. I'm pretty sure that works fine.
Title: True FLAC or fake one
Post by: kjoonlee on 2006-04-09 13:31:11
Eh? Why not just decode to .wav? If you're smart enough to burn an ISO, you're smart enough to use the command-line, IMHO.

flac -d input.flac
Title: True FLAC or fake one
Post by: kritip on 2006-04-09 13:48:23
Because it only reads from a CD, therefore you have to either burn them to an actual disc, or mount them as a virtual drive.

Kristian

//edit refering to Tau Analyzer of course
Title: True FLAC or fake one
Post by: Mr_Rabid_Teddybear on 2006-04-09 14:06:22
Because it only reads from a CD, therefore you have to either burn them to an actual disc, or mount them as a virtual drive.

Kristian

//edit refering to Tau Analyzer of course

auCDtect (http://www.true-audio.com/ftp/) works directly on wav files.
Title: True FLAC or fake one
Post by: LaserSokrates on 2006-04-09 14:06:25
Take aucdtect then.
Edit: Ah, Mr_Rabid_Teddybear was slightly faster than I.
Title: True FLAC or fake one
Post by: kritip on 2006-04-09 14:29:16
auCDtect (http://www.true-audio.com/ftp/) works directly on wav files.


Ah, i was aware of that, but for some reason thought it was not developed anymore, and Tau Analyzer had superceded it. Upon looking further it appears i was totally wrong about that, and it is what Tau Analyzer is based upon? Good news  and serves me right for not looking harder last time I looked into it.

Cheers,

Kristian
Title: True FLAC or fake one
Post by: ghost note on 2006-04-09 14:40:39
Tell me, if I am mistaken, but if was applied, the
AccurateRip check results actuall are also able to reveal, if a flac, or file was sourced by an original-CD
or by any other non-original-CD source. (http://www.accuraterip.comAccurateRip[/url)
Title: True FLAC or fake one
Post by: Never_Again on 2006-04-09 15:15:59
You would have to burn an Audio CD from those files first to use AccurateRip. Then if AccurateRip reports the results as accurate, the source was lossless. However, if your results don't match those in the AccurateRip database, it could mean anything from a different CD pressing to the wrong write offset to lossy source.
Title: True FLAC or fake one
Post by: EuMesmo on 2008-06-30 06:02:55
Hi there,

Does anyone know of a program that can verify the integrity of a flac?

How can I tell if it is a real FLAC or an mp3 file that has been converted into a FLAC?

Is there a program out there that will do this?

Thanks 


There's a GUI for Tauanalyzer that decodes to wav directly.

Audiochecker Home (http://www.dester.hu/English/home_e.html).
Title: True FLAC or fake one
Post by: djcarpediem on 2008-07-01 09:18:12
I am having trouble decoding a flac file and I can't get it to work with many programs
flac, cog, etc.

I got an error message when I tried to decode it...


flac 1.1.0, Copyright © 2000,2001,2002,2003 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.

Antonin Dvorák - Masterworks Disc 1.flac: *** Got error code 0:FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC


Antonin Dvorák - Masterworks Disc 1.flac: ERROR while decoding metadata
                                              state = 4:FLAC__STREAM_DECODER_END_OF_STREAM

can anyone tell me what this means?
do i have a corrupted flac?

or just some program that can't decode it? it looks russian....I think......or czech....as the last characters are not coming up properly....could this be the issue?

anyway...thanks

dj
Title: True FLAC or fake one
Post by: Jany on 2010-10-08 14:18:31
Ill show you how i detect fake FLAC

Software: Spectro [FLAC is supported]
Homepage: http://spectro.enpts.com/ (http://spectro.enpts.com/)

FLAC vs MP3[320kbps]:
Title: True FLAC or fake one
Post by: dv1989 on 2010-10-08 14:43:34
Why is the x-axis scale reversed?
Title: True FLAC or fake one
Post by: Jany on 2010-10-08 15:29:42
Why is the x-axis scale reversed?


I don't know.  I don't created that program