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: Flac vs. Apple Lossless from WAV 24Bit 96kHz (Read 11478 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Hi,
first i have to say thank you for this great forum!

I have tried some things regarding to compress lossless my complete collection of digitized records.
I usual record them in 24Bit/96kHz WAV.

So i tried to compress that to Apple Lossless and Flac using different sopftware. All on Apple macintosh: iTunes for Apple Lossless and Max 0.7 for FLAC5 + 8 and Apple Lossless as well.
After compressing i decode again back to WAV and the i checked with the command lind diff command if the files differ: ALL DIFFER, THEY DIFFER FROM ORIGINAL AND FROM ALL OTHER FILES. Hm, really bad or better to say: not what i have expected...
Then i tried to recode wav to wav the same way i decoded the files: same result.

The md5 hashes give nearly the same result with one exception: encoded to Apple Lossless with Max 0.7, decoded with Quicktime (for decoding i used Quicktime, because this seems to be the only software where i get back 24Bit! /96kHz) and compared to the recoded wav from original wav have exactly the same md5 hash. Soe these 2 are really really the same.

So is "diff" the wrong software to check that out?

Please help me... Don't want to loose quality by converting....

Thank you!

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #1
Could you inspect the files (prefereably the sample-by-sample difference) in a waveform editor to see if one program is adding a few samples of silence at the start, doing normalising or some other strange thing?

-k

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #2
Could you inspect the files (prefereably the sample-by-sample difference) in a waveform editor to see if one program is adding a few samples of silence at the start, doing normalising or some other strange thing?

-k

hi, yes i think i can. but can you explain me what to do exactly?
thnx

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #3
The most likely explanation is that the headers have changed, while the audio data is identical.

Especially for greater than CD audio quality .wav files, there are two different but correct header formats.

Cheers,
David.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #4

Could you inspect the files (prefereably the sample-by-sample difference) in a waveform editor to see if one program is adding a few samples of silence at the start, doing normalising or some other strange thing?

hi, yes i think i can. but can you explain me what to do exactly?
If you're on Windows, use foobar's bitwise comparison.

If you're not, grab an audio editor, do a paste-mix-inverted of one sample onto another sample. The resulting waveform should be a flatline 0.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #5
If you're not, grab an audio editor, do a paste-mix-inverted of one sample onto another sample. The resulting waveform should be a flatline 0.


thanks. in all cases it's flat! so all is okay  thank you for your great help!

best wishes

bytemission

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #6
Much easier than fannying around with editing software would be to use shntool's cmp function, either from the command line or via the shntool tab of xACT.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #7
The md5 hashes give nearly the same result


Just want to add, md5 hashes are either the same or they are not. If you have two similar (but not matching) hashes, that gives you no information about the similarity of the original files, just that they are different. In other words, even if you change just one byte in a file, the new md5 hash will (probably) be completely different from the old one.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #8
Much easier than fannying around with editing software would be to use shntool's cmp function, either from the command line or via the shntool tab of xACT.
Rats  I *really* should be studying the shntool documentation  thx for the heads-up.

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #9
Please help me... Don't want to loose quality by converting....


I don't know how you tested this but my tests show that Apple Lossless is what it says it is:  lossless.

MD5 fingerprints (checksums):

Song (Original).wav ---------------------> 4f2098e2aa5db7b52810500f6dd07bba

Song (Original to Lossless).m4a ---------> c551eab61294558f1ba043219cd951a5

Song (Orig. to Lossless to Orig.).wav ---> 4f2098e2aa5db7b52810500f6dd07bba

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #10
did you test it with 24bit/96khz?

btw. after having all in apple lossless now i found that there is no application at the moment what can do a batchconvert back to wav/aiff without loosing the bitrate (all apps converts down to 16bit or crash, f***) at the moment.
apple soundtrack: no
amadeus pro: no
itunes: no
max: no

the only app for convert to wav / aiff without changing the bitrate is: quicktime itself

i know, it's my fault, i had to check that first. but as i saw i can make applelossless i did not expect to endup in a one way road...

if anybody has an idea please tell me  thnx

MD5 fingerprints (checksums):

Song (Original).wav ---------------------> 4f2098e2aa5db7b52810500f6dd07bba

Song (Original to Lossless).m4a ---------> c551eab61294558f1ba043219cd951a5

Song (Orig. to Lossless to Orig.).wav ---> 4f2098e2aa5db7b52810500f6dd07bba

[/quote]

 

Flac vs. Apple Lossless from WAV 24Bit 96kHz

Reply #11
did you test it with 24bit/96khz?

btw. after having all in apple lossless now i found that there is no application at the moment what can do a batchconvert back to wav/aiff without loosing the bitrate (all apps converts down to 16bit or crash, f***) at the moment.
apple soundtrack: no
amadeus pro: no
itunes: no
max: no

This is not correct.  Max can convert Apple Lossless at any bit depth to AIFF at any bit depth.  However, depending on how the AIFF output is set up, you can get dithering (ie 24 -> 16 bit or even 8 bit).  Be sure you've selected 24-bit big endian signed integer as the AIFF format type.

What do you mean by losing bitrate?  Since the process is lossless, there can be no change in bitrate.  Whether applications are displaying the bitrate correctly is a different animal, though.  iTunes historically has a problem displaying bitrates for MPEG-4 AAC files created with Max, but I believe this is fixed in the latest iTunes.