Jump to content
IGNORED

Why do apple lossless file sizes vary ??


Recommended Posts

I discovered that some rips from CD into Apple Lossless format vary in size (by 3x sometimes).  In some cases at least, they duplicate files were ripped on the same day, so I don't think I changed any parameters.

 

Any ideas?

Link to comment
8 minutes ago, Ralf11 said:

I discovered that some rips from CD into Apple Lossless format vary in size (by 3x sometimes).  In some cases at least, they duplicate files were ripped on the same day, so I don't think I changed any parameters.

 

Any ideas?

 

Identical sample rates?

 

What software?

 

Edit: I don't think different compression settings would make that large a difference.

One never knows, do one? - Fats Waller

The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein

Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature.

Link to comment

I don't think they were ripped several times.  The same date stamp makes me think not, and that sample rates and compression settings would be the same.  I didn't check the time stamps tho or other info, so cannot be absolutely certain.

 

I saw this when I was cleaning up iTunes to gain some free space on my long suffering Mac Mini (and stop IClod from harassing me with offers to upload all my secrets onto their cloud).

 

Some files are the same size, other vary a bit, and some sizes vary by 3x.  All were ripped from CDs using iTunes into Apple Lossless.

 

Any way I gained about 16 Gigabooties of space so may be able ot hold out until Apple releases new iMacs.

 

It seems very odd however.

Link to comment

It's perfectly normal for compression ratios to vary between files. Pure tones (and silence) compress extremely well whereas noise is incompressible. Most music (other than Cage's 4:33) falls somewhere in between.

 

If the differently sized files you have are of the same music, something is odd. Otherwise some variation is to be expected.

Link to comment
35 minutes ago, Ralf11 said:

Yes, the exact same track.  Sorry if that wasn't clear.

So you compressed the same track several times with the same settings and got compressed sizes varying by a factor 3? That shouldn't happen. Either you're not describing what you actually did, or your software is horribly broken. I suspect the former.

Link to comment

What you are likely referring to is the "last modified" date.  Best guess without being there is over the course of who knows how many thousands of iTunes updates it did some processing to their lossless algorithms on your files and things got weird.  

 

I find it odd you haven't investigated any difference in bit rate or run the files through something like spek as a preliminary step.

Link to comment
4 minutes ago, Ralf11 said:

Thx - that's a lot more than the Finder's Get Info facility shows

 

You're welcome. Be sure to let us know if you find out anything interesting. :)

Sometimes it's like someone took a knife, baby
Edgy and dull and cut a six inch valley
Through the middle of my skull

Link to comment
2 hours ago, Ralf11 said:

Yes, the exact same track.  Sorry if that wasn't clear.

 

Use the afhash command to see if the checksum is identical in the case where a supposedly identical file differs dramatically in size.

 

eg:

% afhash 01\ Dire\ Wolf.m4a

01 Dire Wolf.m4a :
No hash in file.
SHA1 Hash of audio data : 2da2d240245b71592b47734d735e585251c38a42

If they differ, then there is a problem.  If they are the same, then presumably the metadata (probably the album art image(s)) account for the difference.

Link to comment

I have been "fixing" the lo res album art recently so that could have been it.  I suppose the art is stored in the 'container' along with other metadata and the music file per se (?)

 

I still have some AAC files on the machine but I don't think any of these were them - I've worked to kill off any AAC files and they are pretty well segregated.

 

I may not have any more details on this as I deleted the files to get disc space.

 

I'll check the laptop to see if there is anything like this going on there.

Link to comment

Could the Lossless compression algorithm work differently on Windows than on a Mac?  IIRC, some files were transferred over from a Windoz machine when I switched to a mac.

 

Alternatively, different versions of iTunes have been used to rip CDs, so maybe the 2012 iTunes algorithm differs from the 2016,..17 one.

Link to comment
1 hour ago, Ralf11 said:

I have been "fixing" the lo res album art recently so that could have been it.  I suppose the art is stored in the 'container' along with other metadata and the music file per se (?)

 

I still have some AAC files on the machine but I don't think any of these were them - I've worked to kill off any AAC files and they are pretty well segregated.

 

I may not have any more details on this as I deleted the files to get disc space.

 

I'll check the laptop to see if there is anything like this going on there.

Low and high resolution artwork can vary a lot. And some files may have the artwork embedded in the file and some may use a link to a separately filed album artwork.

 

Greg

Link to comment
5 hours ago, Ralf11 said:

OK, on the laptop I found 2 versions/files with different sizes (not 3x, just a few percent).  They both have the same Date modified and Date added...

The times are the same (to the nearest minute).

 

592f9c010e59d_ScreenShot2017-05-31at9_42_17PM.thumb.jpg.27e288724aea4e9da1ba7605ff7a3b2a.jpg

That's a 25% difference so it's still quite a lot. If you want to get to the bottom of this, your best option is probably to share the files with a few people and see what they find.

Link to comment
5 hours ago, Ralf11 said:

OK, on the laptop I found 2 versions/files with different sizes (not 3x, just a few percent).  They both have the same Date modified and Date added...

The times are the same (to the nearest minute).

 

592f9c010e59d_ScreenShot2017-05-31at9_42_17PM.thumb.jpg.27e288724aea4e9da1ba7605ff7a3b2a.jpg

 

 

Does this mean there were no files that varied in size by 3x, or that these are different files than you originally described?

One never knows, do one? - Fats Waller

The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein

Computer, Audirvana -> optical Ethernet to Fitlet3 -> Fibbr Alpha Optical USB -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature.

Link to comment

First three things I would do:

 

1. Open both files in iTunes and see if the reported bit rate is the same or different.

 

2. Strip off all of the metadata with QuickTime Plus (by exporting to MP4 with audio pass through) to see if the file sizes are still different.

 

3. Export both files to WAV and run checksums to see if the audio data is identical.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...